Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:backup [2018/04/23 16:27] – [rsync] tmadelinux:backup [2018/04/23 16:28] – [rsync] tmade
Line 13: Line 13:
 Over network: Over network:
      
-  rsync -avzP --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+  /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