Changes

From Amahi Wiki
Jump to: navigation, search
133 bytes removed ,  03:14, 23 June 2020
* Using a "terminal" session and "root" user ID a "cron job" configuration can be created to perform automated backups.
<blockquote>Create a "cronjobs" text file as follows:{{Code| crontab -l > cronjobs}}</blockquote>
* Using a favourite text editor open the cronjobs file.
<blockquote>{{Code| nano cronjobs}}</blockquote>
* Add to the cronjobs file for rsnapshot:
<blockquote>{{Text|Text= 0 */4 * * * /usr/bin/rsnapshot hourly 30 23 * * * /usr/bin/rsnapshot daily 00 23 * * 1 /usr/bin/rsnapshot weekly 30 22 1 * * /usr/bin/rsnapshot monthly}}</blockquote>
* Save the cronjobs file.
* Now update the "root" user IDs "crontab" with the following:
<blockquote>{{Code| crontab cronjobs}}</blockquote>
* Reboot the server and rsnapshot will be operational.
12,424

edits