Re:Cron-based backup for SQLite
by fmajid on Sunday May 15, 2022 @09:29AM
(#31387430)
No, because cp takes a non-zero amount of time and so by the time it has completed the first blocks may have been rewritten, thus the backup is inconsistent. If you take something like a ZFS snapshot, then, yes, that would be a consistent backup.
[ Parent
| on HN ]
Re:Cron-based backup for SQLite
by charcircuit on Sunday May 15, 2022 @08:44PM
(#31392650)
Would cp --reflink=always work too?