apt install libssl-dev libacl1-dev
Attic is a deduplicating backup program. The main goal of Attic is to provide an efficient and secure way to backup data. The data deduplication technique used makes Attic suitable for daily backups since only changes are stored.
Initialize backup repository and create a backup archive::
attic init /usbdrive/my-backup.attic
attic create -v /usbdrive/my-backup.attic::documents ~/Documents
Variable block size deduplication is used to reduce the number of bytes stored by detecting redundant data. Each file is split into a number of variable length chunks and only chunks that have never been seen before are compressed and added to the repository.
All data can be protected using 256-bit AES encryption and data integrity and authenticity is verified using HMAC-SHA256.
Attic can store data on any remote host accessible over SSH. This is most efficient if Attic is also installed on the remote host.
Backup archives are mountable as user space file systems for easy backup verification and restores.
Attic requires Python 3.2 or above to work. Besides Python, Attic also requires msgpack-python and sufficiently recent OpenSSL (>= 1.0.0). In order to mount archives as filesystems, llfuse is required.
pip install Attic
The tests are in the attic/testsuite package. To run the test suite use the following command::
fakeroot -u python -m attic.testsuite.run