meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:backup:overview [2016/05/18 09:28] – [Performance] niziaklinux:backup:overview [2021/01/19 09:34] (current) niziak
Line 1: Line 1:
-====== Headline ======+====== Backup SW ======
  
 ===== rsync ===== ===== rsync =====
Line 5: Line 5:
   * no build-in incremental snapshots support    * no build-in incremental snapshots support 
   * incremental backups of modified files possible (using --backup and --backup-dir params)   * incremental backups of modified files possible (using --backup and --backup-dir params)
 +
 +==== delete files ====
 +<code bash>
 +rsync --delete-missing-args --backup --files-from list_file_to_delete.txt src/ 192.168.1.1::root/
 +</code>
 +
  
 ===== rsnapshot ===== ===== rsnapshot =====
Line 13: Line 19:
   * Mirrored structure is available at destination (like rsync). Easy to browse.   * Mirrored structure is available at destination (like rsync). Easy to browse.
   * ACL and extended attributes support   * ACL and extended attributes support
 +  * Update is slow 
   * special directory ''rdiff-backup-data'' are also created at dest where old versions are kept   * special directory ''rdiff-backup-data'' are also created at dest where old versions are kept
   * [[http://www.nongnu.org/rdiff-backup/]]   * [[http://www.nongnu.org/rdiff-backup/]]
 +  * <code>sudo apt-get install python-pylibacl python-xattr</code>
  
 ===== duplicity ===== ===== duplicity =====
Line 24: Line 32:
   * front end to duplicity   * front end to duplicity
  
 +<code bash>
 +duply my-backup backup
 +duply my-backup cleanup --extra-clean --force
 +</code>
  
 ====== Performance ====== ====== Performance ======
Line 30: Line 42:
  
 ^  proto  ^  tool          ^ initial copy ^  update no changes  ^  1GB added ^ 1GB removed ^ ^  proto  ^  tool          ^ initial copy ^  update no changes  ^  1GB added ^ 1GB removed ^
-|  rsync  | rsync          |              |  22s                |  3m25      |             +|  rsync  | rsync          |              |  22s                |  3m25      |  0m34       
-|  ssh    | rdiff-backup   | 144m (2:24)  |  12m                |  18m                   |+|  ssh    | rdiff-backup   | 144m (2:24)  |  12m                |  18m        19m        |
 |  rsync  | rsnapshot      |              |                                |             | |  rsync  | rsnapshot      |              |                                |             |