Difference between revisions of "Desktop Backup"

From HCL
Jump to: navigation, search
m
 
Line 7: Line 7:
 
   rsync -axv /home/<your_desktop_username>/ <user>@heterogeneous:/home/desktops/<user>/ --exclude-from=.bkup_excludes
 
   rsync -axv /home/<your_desktop_username>/ <user>@heterogeneous:/home/desktops/<user>/ --exclude-from=.bkup_excludes
  
and make the file .backup_excludes with files and directorys you would like to exclude, for example your download folder. An example of Daves excludes file:  
+
and make the file .backup_excludes with files and directorys you would like to exclude, for example your download folder, internet cache, etc. An example of Daves excludes file:  
  
 
   .Skype/
 
   .Skype/

Latest revision as of 18:35, 6 December 2012

Members of the HCL group may backup their desktops to heterogeneous server in the following directory:

 heterogeneous:/home/desktops/<user>

This can easly be done with rsync as follows:

 rsync -axv /home/<your_desktop_username>/ <user>@heterogeneous:/home/desktops/<user>/ --exclude-from=.bkup_excludes

and make the file .backup_excludes with files and directorys you would like to exclude, for example your download folder, internet cache, etc. An example of Daves excludes file:

 .Skype/
 .Trash-1000/
 .adobe/
 .cache/
 .config/chromium
 .dropbox/
 .mozilla/
 .ssh/
 .svn/
 .thumbnails/
 .thunderbird/
 Downloads/
 Dropbox/
 backups/