rsync_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rsync_example [2016/08/02 19:13] – walkeradmin | rsync_example [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== RSYNC Example ====== | ====== RSYNC Example ====== | ||
- | \\ | + | <color darkorange> |
+ | |||
+ | ---- | ||
\\ | \\ | ||
Rsync is a tool in Linux to allow backups, you can backup a local folder to the local machine, or remote folders to remote machines (in any combination)\\ | Rsync is a tool in Linux to allow backups, you can backup a local folder to the local machine, or remote folders to remote machines (in any combination)\\ | ||
Line 8: | Line 11: | ||
So lets say the WebServer Pi is 10.0.0.1 and the Backup Pi is 10.0.0.10. Lets also assume both Pi's have the default username and password of pi/ | So lets say the WebServer Pi is 10.0.0.1 and the Backup Pi is 10.0.0.10. Lets also assume both Pi's have the default username and password of pi/ | ||
\\ | \\ | ||
- | Firstly, on the Backup Pi (10.0.0.10) I need to create a folder on my backup location, for this example we will use | + | Firstly, on the Backup Pi (10.0.0.10) I need to create a folder on my backup location, |
+ | | ||
+ | |||
/ | / | ||
\\ | \\ | ||
- | On the WebServer Pi, the files are held in /home/Pi | + | On the WebServer Pi, the files are held in |
+ | |||
+ | | ||
\\ | \\ | ||
So from the Backup Pi, open a console and enter: | So from the Backup Pi, open a console and enter: |
rsync_example.1470161630.txt.gz · Last modified: 2023/03/09 22:35 (external edit)