Changes

From Amahi Wiki
Jump to: navigation, search
498 bytes added ,  19:29, 5 March 2013
m
===Automate Backups ===
Backups can be automated by creating a "cron job" that can be executed by the system at predetermined intervals.
A * Using a "terminal" session and "root" user ID a "cron job" could 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:
:crontab -l <blockquote> cronjobs :nano cronjobs add to this file for running rsnapshot: :{{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>Rsnapshot should now * Reboot the server and rsnapshot will be operational.
===Email reporting===