Difference between revisions of "Desktop Backup"
From HCL
(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…") |
|||
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 | ||
− | /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 | ||
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. An example of Daves excludes file: |
− | + | .Skype/ | |
− | .Trash-1000/ | + | .Trash-1000/ |
− | .adobe/ | + | .adobe/ |
− | .cache/ | + | .cache/ |
− | .config/chromium | + | .config/chromium |
− | .dropbox/ | + | .dropbox/ |
− | .mozilla/ | + | .mozilla/ |
− | .ssh/ | + | .ssh/ |
− | .svn/ | + | .svn/ |
− | .thumbnails/ | + | .thumbnails/ |
− | .thunderbird/ | + | .thunderbird/ |
− | Downloads/ | + | Downloads/ |
− | Dropbox/ | + | Dropbox/ |
− | backups/ | + | backups/ |
Revision as of 18: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/