Comment by jszymborski

Comment by jszymborski 5 days ago

3 replies

> 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?

simonw 4 days ago

That's fine if SQLite isn't running, but you risk corruption if you copy a file while it is being actively written to.

VACUUM INTO eliminates that risk.

  • modo_mario 4 days ago

    Thank you for mentioning this. I was planning to do exactly this soon and had no idea.