140 likes | 263 Views
AFS backups with Amanda. Mitch Collinsworth Cornell Center for Materials Research. Motivation. A flexible, automated backup system for both AFS and non-AFS filesystems. Existing alternatives. AFS backup ADSM/TSM Others?. AFS backup. Complex and difficult to automate
E N D
AFS backups with Amanda Mitch Collinsworth Cornell Center for Materials Research
Motivation A flexible, automated backup system for both AFS and non-AFS filesystems
Existing alternatives • AFS backup • ADSM/TSM • Others?
AFS backup • Complex and difficult to automate • typical implementation uses home-grown scripts • errors recovery requires manual intervention • Can’t share tapes with non-AFS backups
ADSM/TSM • Good automation bus costly for smaller sites • No server for free OS’s (Linux, FreeBSD...) • Data integrity dependent on a database • “Good” tapes are worthless if database is compromised
Amanda • A backup manager, not a backup program • Manages native backup programs • Freeware • Tapes are in native format • Tape library support (extensible)
Amanda... • Optimizes daily tape usage • spreads full dumps across the backup cycle • Optimizes daily backup window • Multiple dumps in parallel to a holding disk • Optimizes tape speed/usage • Keeps tape streaming by feeding from the holding disk
Amanda... • Easy to add filesystems to backup list • Easy to add tapes to the tape cycle • Easy interactive restores from any client • Compression in software or hardware
Amanda - deficiencies • Windows support (smbtar) currently a kludge • No Mac support • No tape spanning or appending
Amanda - advantages • Share tapes with non-AFS backups • Multiple backups in parallel • Automated error recovery • Degraded mode - tape errors don’t stop the whole show
Advantages... • Free, runs on any unix • Supports for tape libraries • Keeps high capacity tapes streaming
Implementation • Use ‘backup dump’ or ‘vos dump’ ? • Volume sets? • Dumpdates equivalent
Implementation... • Needed functions • Estimate • Backup • Index generation • Recovery • dumptool (Ken Hornstein) might be useful. Needs to run in a single pass so can be pipelined.