User Tools

Site Tools


rsync_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rsync_example [2016/08/02 19:13] walkeradminrsync_example [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== RSYNC Example ====== ====== RSYNC Example ======
-\\ +<color darkorange>2016</color> 
 + 
 +---- 
 \\  \\ 
 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/raspberry.\\  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/raspberry.\\ 
 \\  \\ 
-    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,  
 +    for this example we will use 
 +    
     /backup/webserver     /backup/webserver
 \\  \\ 
-    On the WebServer Pi, the files are held in /home/Pi+    On the WebServer Pi, the files are held in  
 +     
 +    /home/Pi
 \\  \\ 
     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)