User Tools

Site Tools


backing_up_home_using_rsync

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
backing_up_home_using_rsync [2021/03/16 03:28] – [Basic rsync backup.] hc9backing_up_home_using_rsync [2021/03/16 03:30] – [Trailing directory slashes] hc9
Line 45: Line 45:
 Most often, the trailing slash when specifying a directory is optional. To rsync, however, the trailing slash has meaning when specifying the source directory. Omitting the trailing slash cause the entire directory structure of the source files to be recreated on the destination machine. Specifying the trailing slash, however, causes the directory structure only to be recreated from the given directory. Most often, the trailing slash when specifying a directory is optional. To rsync, however, the trailing slash has meaning when specifying the source directory. Omitting the trailing slash cause the entire directory structure of the source files to be recreated on the destination machine. Specifying the trailing slash, however, causes the directory structure only to be recreated from the given directory.
  
-For example:+== For example: ==
  
 ''rsync -avz -e ssh username@sdf.lonestar.org:/path/to/home /local/backup/dir'' ''rsync -avz -e ssh username@sdf.lonestar.org:/path/to/home /local/backup/dir''
backing_up_home_using_rsync.txt · Last modified: 2022/11/30 13:27 by n3t