Difference between revisions of "Backups"

From Wiki | LUG@UCLA
Jump to: navigation, search
Line 7: Line 7:
 
=== Local backups ===
 
=== Local backups ===
  
==== full copy ====
+
Full copy—this method is straightforward: copy all your files to the backup destination. Subsequent full backups may cause files that already exist on the destination to be copied anyway. In many cases this method uses far more time and bandwidth resources than necessary.
  
 
==== differential ====
 
==== differential ====

Revision as of 21:24, 26 June 2013

Motivations

Computers fail, people make mistakes, environmental disasters happen. We recommend you back up your important data, as it is a small price to pay compared to data loss.

General techniques

Local backups

Full copy—this method is straightforward: copy all your files to the backup destination. Subsequent full backups may cause files that already exist on the destination to be copied anyway. In many cases this method uses far more time and bandwidth resources than necessary.

differential

hybrid

Remote backups

Suggested workflow

Rsync

tar + Gzip (+ GnuPG)

duplicity

duplicity, or it's user-friendly font-ends deja-dup and duply, combines rsync, gzip, gpg, and a hybrid style backup for the ultimate backup solution.

Relevant software

  • Gzip - compression utility
  • tar - file archiver
  • GnuPG - encryption utility
  • Rsync - remote directory synchronizer
  • luckyBackup - GUI for Rsync (uses Rsync)
  • rdiff - like diff, but designed better for binary files rather than source code
  • rdiff-backup - remote incremental directory synchronizer (uses Rsync and rdiff)
  • duplicity - remote versioned encrypted backup (uses tar, GnuPG, Rsync, and rdiff)
  • Déjà Dup - GUI for duplicity (uses duplicity)
  • rsnapshot - remote versioned backup (uses Rsync and UNIX hard links)