Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_server:home_server_setup:other_services:rsync [2023-05-28 Sun wk21 10:21] – [Rsync] baumkp | home_server:home_server_setup:other_services:rsync [2025-01-17 Fri wk03 12:54] (current) – [Rsnapshot] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| ======Rsync====== | ======Rsync====== | ||
| - | These are my rsync notes. | + | These are my rsync notes. |
| Line 7: | Line 7: | ||
| - | ====An Important Notes==== | + | ====Main rsync command usage summary==== |
| A trailing slash (/) at the end of the first argument in the rsync command: '' | A trailing slash (/) at the end of the first argument in the rsync command: '' | ||
| Line 15: | Line 15: | ||
| Where | Where | ||
| *'' | *'' | ||
| + | *'' | ||
| + | *'' | ||
| + | *'' | ||
| + | *'' | ||
| + | *'' | ||
| + | *'' | ||
| + | *'' | ||
| Always double-check your arguments before executing an rsync command. Rsync provides a method for doing this by passing the '' | Always double-check your arguments before executing an rsync command. Rsync provides a method for doing this by passing the '' | ||
| ====rsync daemon==== | ====rsync daemon==== | ||
| + | ++++tl;dr;| | ||
| rsync can be installed as a daemon on a computer instance | rsync can be installed as a daemon on a computer instance | ||
| Line 46: | Line 54: | ||
| '' | '' | ||
| + | ++++ | ||
| - | + | ====Notes on Compression option==== | |
| - | ====Compression option -z can slow down file transfer.==== | + | Compression option -z can slow down file transfer |
| + | ++++tl;dr;| | ||
| '' | '' | ||
| Line 70: | Line 80: | ||
| '' | '' | ||
| + | ++++ | ||
| + | ====My web page copy bash batch==== | ||
| + | '' | ||
| + | |||
| + | #Note this is a local only script and takes no additional batch inputs when run! | ||
| + | ++++code| | ||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | wwwpath='/ | ||
| + | workpath='/ | ||
| + | cmd=" | ||
| + | $cmd ${workpath}/ | ||
| + | $cmd ${workpath}/ | ||
| + | $cmd ${workpath}/ | ||
| + | $cmd ${workpath}/ | ||
| + | </ | ||
| + | ++++ | ||
| ====some rsync flag definitions==== | ====some rsync flag definitions==== | ||
| + | Simply type '' | ||
| ^Flag Short^ Flag Long ^Description^ | ^Flag Short^ Flag Long ^Description^ | ||
| |'' | |'' | ||
| Line 102: | Line 130: | ||
| * * preservation of hard links is important when moving across rsnapshots backups between disks. | * * preservation of hard links is important when moving across rsnapshots backups between disks. | ||
| - | My web page copy bash batch: | ||
| - | '' | ||
| - | |||
| - | #Note this is a local only script and takes no additional batch inputs when run! | ||
| - | <code bash> | ||
| - | #!/bin/bash | ||
| - | wwwpath='/ | ||
| - | workpath='/ | ||
| - | cmd=" | ||
| - | $cmd ${workpath}/ | ||
| - | $cmd ${workpath}/ | ||
| - | $cmd ${workpath}/ | ||
| - | $cmd ${workpath}/ | ||
| - | </ | ||
| ---- | ---- | ||
| Line 134: | Line 148: | ||
| ====Rsnapshot==== | ====Rsnapshot==== | ||
| - | These are some rsnapshot and related rsync notes. | + | These are some rsnapshot and related rsync notes. |
| ++++Rsnapshot and Old Rsync notes, really tl;dr;| | ++++Rsnapshot and Old Rsync notes, really tl;dr;| | ||