Desktop Backup

From HCL
Revision as of 18:30, 6 December 2012 by Davepc (talk | contribs) (Created page with "Members of the HCL group may backup their desktops to heterogeneous server in the following directory /home/desktops/<user> This can easly be done with rsync as follow…")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

 /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/