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
projects:rsyncbackup [2024/07/28 11:27] – [Test] darronprojects:rsyncbackup [2024/07/28 11:30] (current) darron
Line 127: Line 127:
 When backing up the localhost, just use the hostname and rsync will copy files directly rather than use ssh. When backing up the localhost, just use the hostname and rsync will copy files directly rather than use ssh.
  
-=== Test=== 
- 
-Testing can be performed on the server as user rsync by invoking the host command with one argument. 
- 
-<code> 
-/bin/su - rsync 
-./bin/host example 
-</code> 
- 
-example above will extrapolate to example.conf etc 
 === Purge === === Purge ===
  
Line 159: Line 149:
 To disable the purge process, set the PURGE variable to "" in the config. To disable the purge process, set the PURGE variable to "" in the config.
  
 +=== Test===
 +
 +Testing can be performed on the server as user rsync by invoking the host command with one argument.
 +
 +<code>
 +sudo -s
 +/bin/su - rsync
 +./bin/host example
 +</code>
 +
 +example above will extrapolate to example.conf etc
 +
 +===CRON===
 +
 +Cron on the server is utilised to perform daily backups, a typical entry
 +is this
 +
 +<code>
 +0 3 * * * /home/rsync/bin/host >/var/log/rsync/host.log 2>&1
 +</code>
  
 === Export === === Export ===