Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:rsyncbackup [2024/07/28 11:20] – darron | projects:rsyncbackup [2024/07/28 11:30] (current) – darron | ||
---|---|---|---|
Line 126: | Line 126: | ||
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. | ||
+ | |||
=== Purge === | === Purge === | ||
Line 148: | Line 149: | ||
To disable the purge process, set the PURGE variable to "" | To disable the purge process, set the PURGE variable to "" | ||
+ | === Test=== | ||
+ | |||
+ | Testing can be performed on the server as user rsync by invoking the host command with one argument. | ||
+ | |||
+ | < | ||
+ | sudo -s | ||
+ | /bin/su - rsync | ||
+ | ./bin/host example | ||
+ | </ | ||
+ | |||
+ | example above will extrapolate to example.conf etc | ||
+ | |||
+ | ===CRON=== | ||
+ | |||
+ | Cron on the server is utilised to perform daily backups, a typical entry | ||
+ | is this | ||
+ | |||
+ | < | ||
+ | 0 3 * * * / | ||
+ | </ | ||
=== Export === | === Export === |