Download
backup n.
Skip this Video
Loading SlideShow in 5 Seconds..
Backup PowerPoint Presentation

Backup

139 Views Download Presentation
Download Presentation

Backup

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Backup WeeSan Lee <weesan@cs.ucr.edu> http://www.cs.ucr.edu/~weesan/cs183/

  2. Backup • Version control configuration files, eg. • $ cd /etc • $ ci hosts • $ co -l hosts • $ rcsdiff hosts

  3. Backup • rsync • http://samba.anu.edu.au/rsync/ • Example: • $ rsync -av \ • --delete \ • --exclude "*.o" \ • -b --backup-dir "`date +%F`" \ • /etc /import \ • backup:/data/eon

  4. Backup • rdiff-backup • http://www.nongnu.org/rdiff-backup/ • Examples: • $ rdiff-backup foo bar • $ rdiff-backup /etc backup::/eon • $ rdiff-backup -r now \ • backup::/eon/etc/passwd /etc/passwd • $ rdiff-backup -r 10D \ • backup::/eon/etc/passwd /etc/passwd

  5. Backup • rdist • http://www.benedikt-stockebrand.de/rdist-intro_e.html • Distfile is makefile like, eg. • $ cat backup.eon • /etc -> backup • Install /eon; • $ rdist -f backup.eon

  6. Reference • LAH • Ch 9: Backups