logoalt Hacker News

jszymborskitoday at 2:23 AM1 replyview on HN

> I love being able to backup by just doing a VACUUM INTO and then copying the resulting single file.

Naively, I would probably just copy the sqlite file. Is that a bad idea?


Replies

amanzitoday at 3:08 AM

I learned about the VACUUM INTO command through the following guide on how to backup your sqlite database: https://litestream.io/alternatives/cron/