Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah. SQLite's backup API is the right way to do this:

https://sqlite.org/backup.html



And, if you can't use the backup API for some reason, try VACUUM INTO:

https://www.sqlite.org/lang_vacuum.html#vacuum_with_an_into_...


Would creating a ZFS snapshot, then either copying from that snapshot or sending it to another machine with zfs send, also be reliable? IIUC, ZFS snapshots are point-in-time consistent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: