tools:rsync
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:rsync [2025/10/12 06:30] – [rsync] Humphrey Boa-Gart | tools:rsync [2025/10/12 07:40] (current) – [rsync] Humphrey Boa-Gart | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| **rsync** //(or **remote sync**)// is a [[tools: | **rsync** //(or **remote sync**)// is a [[tools: | ||
| - | While you can technically use the '' | + | While you can technically use the '' |
| + | |||
| + | If you are already familiar with using [[tools: | ||
| ===== Useful Commands ===== | ===== Useful Commands ===== | ||
| Line 35: | Line 37: | ||
| $ rsync -avz -e ssh user@remote:/ | $ rsync -avz -e ssh user@remote:/ | ||
| - | In the case of both of these commands, //" | + | In the case of both of these commands, //" |
| + | |||
| + | $ rsync -avz -e ssh user@remote1:/ | ||
| + | The source and destination cannot both be remote. | ||
| + | |||
| + | So if you want to sync between two remote machines, you will have to first SSH into one of them and run '' | ||
| ==== Incremental Backups ==== | ==== Incremental Backups ==== | ||
| Line 48: | Line 56: | ||
| If you are looking for an even more failsafe way to ensure the quality of backups, use the '' | If you are looking for an even more failsafe way to ensure the quality of backups, use the '' | ||
| + | |||
| + | ==== Interrupted Backups ==== | ||
| + | |||
| + | When '' | ||
| + | |||
| + | However, if you're dealing with very large files, you do not want to have to start over. Use the '' | ||
| Line 59: | Line 73: | ||
| $ rsync -av --exclude-from ' | $ rsync -av --exclude-from ' | ||
| + | |||
| + | You can even exclude things like specific filetypes: | ||
| + | |||
| + | $ rsync -av --exclude=' | ||
| Line 68: | Line 86: | ||
| * Use '' | * Use '' | ||
| * Use '' | * Use '' | ||
| + | * Use '' | ||
tools/rsync.1760250615.txt.gz · Last modified: by Humphrey Boa-Gart
Find this page online at: https://bestpoint.institute/tools/rsync
Find this page online at: https://bestpoint.institute/tools/rsync