Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:backup [2017/12/09 01:19] – external edit 127.0.0.1linux:backup [2018/04/23 16:28] – [rsync] tmade
Line 12: Line 12:
  
 Over network: Over network:
-  rsync -ave ssh root@DA1:/home/tux /backup/home                                 #copies homedirectory of user tux to backup server +   
-  rsync -avz --delete /home/tmade/ root@remoteserver:/home/tmade/                #sync and delete files, if they are deleted from source+  rsync -avzP --delete /home/tmade/ root@remoteserver:/home/tmade/               #sync and delete files, if they are deleted from source 
 +  /usr/bin/rsync -avzP /path/to/source/* user@IP_or_DNS:/path/to/destination     #sync files from source to destination
      
 Other direction: Other direction:
linux/backup.txt · Last modified: 2023/10/21 01:03 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki