The wonderful dar
Disk Archiver is used for
the heavy lifting, together with the The Parchive suite in these scripts.
These scripts are licensed under the GPLv3 license. Read more here: GNU GPL 3.0, or have a look at the "LICENSE" file in this repository.
'dar-backup' lives at Github
I have cloud storage mounted on a directory within my home dir. The filesystem is FUSE based, which gives it a few special features:
- a non-privileged user (me :-)) can perform a mount
- a privileged user cannot look into the filesystem --> a backup script running as root is not suitable
I needed the following:
- General purpose backup system, which has saved my bacon on some occasions.
- Backup my cloud storage to something local (cloud is convenient, but I want control over my backups).
- Backup primarily photos, video and different types of documents.
- Have a simple way of restoring, possibly years into the future.
- 'dar' fits that scenario with a single statically linked binary (kept with the archives).
- There is no need install/configure anything - restoring is simple and works well.
- During backup archives must be tested and a restore test (however small) performed.
- Utilize Parchive to create redundancy to increase the chance of fixing bitrot in the archives down the line.
- Verify archive's integrity, after it has been moved around, or copied somewhere.
I do not need the encryption features of dar, as all storage is already encrypted.