Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:linux:backup:full-rsync [2012/06/14 01:54] alex created |
en:linux:backup:full-rsync [2012/06/14 02:06] alex |
||
---|---|---|---|
Line 10: | Line 10: | ||
* ''exclude_dir'' : excluded directories. Set these to temporary directories and other things you don't want backed up. | * ''exclude_dir'' : excluded directories. Set these to temporary directories and other things you don't want backed up. | ||
* ''include_dir'' : included directories. Subfolders of excluded directories to include. | * ''include_dir'' : included directories. Subfolders of excluded directories to include. | ||
+ | |||
+ | If you want to use this script with a remote host, change flags to | ||
+ | |||
+ | <code> | ||
+ | flags="-avPse ssh --delete --rsync-path=\"rsync --fake-super\"" | ||
+ | </code> | ||
+ | |||
+ | and use a remote path of the form ''user@host:path'' for ''target_dir'' | ||
====== backup-system ====== | ====== backup-system ====== |