rsync
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
rsync [2022/10/21 18:46] – Added non standard ssh port config admin | rsync [2022/10/21 18:47] (current) – Updated formatting admin | ||
---|---|---|---|
Line 17: | Line 17: | ||
===== rsync switches used for sync ===== | ===== rsync switches used for sync ===== | ||
+ | < | ||
#ssh into current mysql server, and run: | #ssh into current mysql server, and run: | ||
rsync -avPin --delete / | rsync -avPin --delete / | ||
Line 26: | Line 27: | ||
n = dry run (remove the n, for the proper run) | n = dry run (remove the n, for the proper run) | ||
| | ||
+ | </ | ||
After than runs. Stop MySQLd on current server, and run the same rsync again. | After than runs. Stop MySQLd on current server, and run the same rsync again. |
rsync.1666378002.txt.gz · Last modified: 2022/10/21 18:46 by admin