Difference between revisions of "Desktop Backup"

From HCL
Jump to: navigation, search
(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…")
 
 
(2 intermediate revisions by the same user not shown)
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/&lt;user&gt;
+
   heterogeneous:/home/desktops/&lt;user&gt;
  
This can easly be done with rsync as follows  
+
This can easly be done with rsync as follows:
  
 
   rsync -axv /home/&lt;your_desktop_username&gt;/ &lt;user&gt;@heterogeneous:/home/desktops/&lt;user&gt;/ --exclude-from=.bkup_excludes
 
   rsync -axv /home/&lt;your_desktop_username&gt;/ &lt;user&gt;@heterogeneous:/home/desktops/&lt;user&gt;/ --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:  
  
<source lang="text">.Skype/
+
  .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/</source>
+
  backups/

Latest revision as of 19: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/