As per this answer to the question "Can I continue working when backup is in progress?," the default backup software in Ubuntu, Deja Dup, is prone to consistency issues when backing up. That is, if the user changes files on a writeable filesystem while the backup is being done, the backup might not be in a sensible state, and restoring it in full will restore a broken system. Even restoring individual files might restore broken files.
The advice to not do any work while the backup is going is a workaround, but not really practical. A user "not working" doesn't mean files aren't being modified behind the scenes.
The answer I linked to says this about snapshots:
This can be achieved using LVM or a newer generation filesystem such as BtrFS. This will snapshot the whole volume as if you were taking a picture of it. Changes/writes are still possible, but the backup process is being run from the read-only snapshot taken earlier.
For example, on Windows systems most backup software runs on a "shadow copy," a semantically consistent snapshot of the filesystem maintained by the OS. The user can continue working, and further modifications will not be part of the currently running backup.
However, I don't know that Deja Dup on Ubuntu uses any kind of snapshotting if it's available.
My question is: is there any automated backup software for Ubuntu that:
- is easy to use, via a GUI, suitable for users unwilling to use the command line or write their own scripts
- ensures consistency of backups using snapshots, or enforcing read-only on the source of the backup (heavy-handed but perfectly valid), or any other approach to avoid inconsistency?
cron
backs up daily and emails.tar
(tape archive) file to my gmail account. https://askubuntu.com/questions/917562/backup-linux-configuration-scripts-and-documents-to-gmail/922493#922493 – WinEunuuchs2Unix Mar 14 '18 at 23:19rsync
has the same problems as Deja Dup here unless a filesystem is mounted read-only. – detly Mar 14 '18 at 23:55