Difference between revisions of "Desktop Backup"

From HCL
Jump to: navigation, search
m
Line 1: Line 1:
Members of the HCL group may backup their desktops to heterogeneous server in the following directory  
+
Members of the HCL group may backup their desktops to heterogeneous server in the following directory:
  
 
   heterogeneous:/home/desktops/<user>
 
   heterogeneous:/home/desktops/<user>
  
This can easly be done with rsync as follows  
+
This can easly be done with rsync as follows:
  
 
   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

Revision as of 19:32, 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. An example of Daves excludes file:

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