ZBackup: A Multi-Function deduplication Backup Tool

Source: Internet
Author: User

ZBackup: A Multi-Function deduplication Backup Tool

Zbackup is a global deduplication Data Backup Tool Based on rsync. After passing in a large tar file, it will store the duplicate part of the file only once, compress the results, and determine whether to encrypt the file based on the parameters. After passing in another tar file, it will reuse duplicate data from the previous backup file. Only new changes will be saved, and as long as the file difference is not great, there is very little storage space required. All the previously backed up files can be completely read at any time.

 

ZBackup features
  • Use parallel LZMA or LZO compression algorithms to compress backup data
  • Use the built-in AES encryption algorithm to encrypt backup data
  • Old backup data can be deleted.
  • Use a 64-bit rolling hash to keep the soft collision count as 0
  • The backup database consists of unchangeable files. Only files that do not exist in the Database can be modified.
  • It is written in C ++ and only has a proper number of dependent libraries.
  • Secure use in the production environment
  • Data can be exchanged in different backup databases without re-compression

 

Install zBackup in Ubuntu

Open the terminal and run the following command:

  1. sudo apt-get install zbackup

 

Use zBackup

zbackup initCommand will initialize a backup database to store the data to be backed up.

  1. zbackup init [--non-encrypted][--password-file ~/.my_backup_password ] /my/backup/repo

zbackup backupCommand to back uptar cCommand to create the tar filezbackup initThe initialized backup database. (LCTT annotation: similar to this in actual use, tar c files | zbackup ...)

  1. zbackup [--password-file ~/.my_backup_password ] [--threads number_of_threads ] backup /my/backup/repo/backups/backup-`date ‘+%Y-%m-%d'`

zbackup restoreCommand to restore a backup file from the backup database to the tar file.

  1. zbackup [--password-file ~/.my_backup_password ] [--cache-size cache_size_in_mb ] restore /my/backup/repo/backups/backup-`date ‘+%Y-%m-%d'`>/my/precious/backup-restored.tar

 

Available options
  • -Non-encrypted -- the backup database is not encrypted.
  • -- Password-file ~ /. MyBackupPassword -- use ~ /. MyBackupPassword to encrypt the backup database and files to be backed up, and decrypt the files backed up.
  • -- Threads numberOfThreads -- limit the number of threads for parallel LZMA CompressionOfThreads. We recommend that you use it on a 32-bit system platform.
  • -- Cache-size cacheSizeInMb -- use cacheSizeInMb to accelerate the file recovery process.

 

ZBackup files in the preceding command
  • ~ /. MyBackupPassword is used to encrypt the backup database and files to be backed up, and decrypt the backup files. For more details, see zbackup.
  • /My/backup/repo: directory where the backup database is stored.
  • /My/precious/restored-tar is used to restore the tar file of the backup file.
  • /My/backup/repo/backups/backup-date ‘+%Y-%m-%d'The name of the previously backed up file.

Via: http://www.ubuntugeek.com/zbackup-a-versatile-deduplicating-backup-tool.html

Author: ruchi Translator: goreliu Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

Source: https://linux.cn/article-5523-1.html

This article permanently updates the link address:

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.