Attic -- backup program for deleting duplicate data

Source: Internet
Author: User

Attic -- backup program for deleting duplicate data

Attic is a Python backup program for deleting duplicate data. Its main goal is to provide an efficient and secure data backup method. The use of the deduplication technology makes Attic suitable for routine backup because it can only store the modified data.

Attic Features space efficient storage

The variable block size deduplication technology is used to reduce the number of detected redundant data storage bytes. Each file is divided into several variable-length blocks, and only those that have never been seen before are compressed and added to the repository.

Optional Data Encryption

All data can be protected using 256-bit AES encryption, and data integrity and authenticity are verified using a HMAC-SHA256.

Off-site backup

Attic can store data to a remote host installed with Attic through SSH.

Backup can be mounted as a file system

Backup archiving can be mounted as a user space File System for convenient verification and recovery of backup.

Install attic to Ubuntu 14.10

Open the terminal and run the following command

sudo apt-get install attic
Use Attic hands-on example

Before performing a backup, initialize the Repository:

$ attic init /somewhere/my-repository.attic

Change ~ /Src and ~ The/Documents directory is backed up to an archive named Monday:

$ attic create /somwhere/my-repository.attic::Monday ~/src ~/Documents

Create a new archive named Tuesday on the next day:

$ attic create --stats /somwhere/my-repository.attic::Tuesday ~/src ~/Documents

This backup will be faster and smaller, because only new data that has never been seen before will be stored. The -- stats option will allow Attic to output statistics about the newly created archive, such as the number of unique data (not shared with other archives:

Archive name: Tuesday archive fingerprint: starting time: Tue Mar 25 12:00:10 2014 End Time: Tue Mar 25 12:00:10 2014 Duration: 0.08 seconds file count: 358 size after initial compression size after deduplication size after archive: 57.16 MB 46.78 MB 151.67 kB all archive: 114.02 MB 93.46 MB 44.81 MB

List all archives in the repository:

$ attic list /somewhere/my-repository.atticMonday Mon Mar 24 11:59:35 2014Tuesday Tue Mar 25 12:00:10 2014

List archived Monday content:

$ attic list /somewhere/my-repository.attic::Mondaydrwxr-xr-x user group 0 Jan 06 15:22 home/user/Documents-rw-r--r-- user group 7961 Nov 17 2012 home/user/Documents/Important.doc

Restore the Monday archive:

$ attic extract /somwhere/my-repository.attic::Monday

Restore disk space by manually deleting the Monday archive:

$ attic delete /somwhere/my-backup.attic::Monday

For more information, see the Attic documentation.

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.