Linux Backup Alec Clews @alecthegeek email@example.com
Assumptions● Linux● Personal System – Not enterprise backup plan!!● Simple and quick
Because one day.... Image: Licorne 2 http://www.flickr.com/photos/7969902@N07/511103951
Ask yourself...● Amount of data● Frequency of change● Affect of loss
Restoring your work● Linux Operating System ● Software and settings ● Release DVD, paper notebook, ...● Work in progress ● Documents, account files, email, code,... ● USB Drive, Cloud, DVD,● Keys, personal config settings ● Multiple copies ● CD/DVD, USB thumb drive, Online
Backup Media● CD/DVD ROM● Online e.g. DropBox● Small media e.g. USB Thumb Drives● Large Portable Media● Another Machine● Remote Storage – email servers – "cloud"
DVD/CD ROM● Off-site ● Robust,cheap, universal, long lived● Static files ● Media collections (beware size) ● ssh and GnuPG keys Image: Information Superhighway http://www.flickr.com/photos/7762644@N04/2533281806
Online● “Set and forget”● Limited free storage● Useful for passwords (encrypted), rc files etc● Keep files in online folder, use links to original location
Large Drives Image: My Book http://www.flickr.com/photos/46177487@N00/193505182
Large Drives contd.● Cheap (1Tb < A$80!)● Simple to use● Format as NTFS. Universal restore● Do not encrypt● You still need off-site copies of critical info.
Tools● Drag and drop in file manager● Back In Time http://backintime.le-web.org/● Command Line interface e.g.$ tar czf /media/backups/bkps_$(date +%C_%m_%d%k_%M).tgz $HOME$ cp a <src> <backup>
Plan● How much ● Use files analysis tools● When ● Weekly? ● Daily? ● Online?
And Finally● Backupas are useless without a way to restore● Your hardware will fail and you will make mistakes. Backups will save your mental health● Simple plans and regular routines● Make sure you backup hidden files and directories ● . In Linux the hidden names begins with “ ”