User Tools

Site Tools


computing:rsyncrsnapshot

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
computing:rsyncrsnapshot [2019/07/31 09:57] oemb1905computing:rsyncrsnapshot [2020/01/27 19:55] oemb1905
Line 7: Line 7:
 ------------------------------------------- -------------------------------------------
  
-Using alternate port and the old syntax for that:+Let's start with rsnapshot.  Before you begin, you must already know how to add a hard drive to your system, a mount point, and an appropriate fstab entry.  To create a basic configuration, do the following: 
 + 
 +  sudo apt install rsnapshot 
 +  nano /etc/rsnapshot.conf 
 +  <rsnapshot_root /enter-mount-point-here> 
 + 
 +Uncomment the alpha, beta, gamma, and delta sections under //backup levels// section, enable the sync-first option, and specify the directories you want to backup (remember, ''localhost'', calls whatever you have above in ''rsnapshot_root'' from above): 
 + 
 +  <retain  alpha   6> 
 +  <retain  beta    7> 
 +  <retain  gamma   4> 
 +  <retain  delta   3> 
 +  <sync_first      1> 
 +  <backup /home/   localhost> 
 +  <backup /etc/    localhost> 
 + 
 + 
 + 
 + 
 +Making an rsync over ssh mirror using alternate port and the old syntax.
  
 From remote server to target backup localhost: From remote server to target backup localhost:
computing/rsyncrsnapshot.txt · Last modified: 2023/04/10 21:29 by oemb1905