0 4
* * *
r o o t
/ u s r / b i n / r s n a p s h o t d a i l y
0 3
* * 1
r o o t
/ u s r / b i n / r s n a p s h o t weekly
0 2
1 * *
r o o t
/ u s r / b i n / r s n a p s h o t monthly
The settings above added to /etc/cron.d/rsnapshot run:
• the
daily snapshot everyday at 4:00 am
• the
weekly snapshot every Monday at 3:00 am
• the
monthly snapshot on the first of every month at 2:00 am
For more information on how to schedule a backup using cron please take a look at Executing with cron
section in Backups - Shell Scripts.
References
• Rsnapshot offical web page
• Rsnapshot man page
• Rsync man page
PHP - Scripting Language
PHP is a general-purpose scripting language suited for Web development. PHP scripts can be embedded
into HTML. This section explains how to install and configure PHP in an Ubuntu System with Apache2 and
MySQL.
This section assumes you have installed and configured Apache2 Web Server and MySQL Database Server.
You can refer to the Apache2 and MySQL sections in this document to install and configure Apache2 and
MySQL respectively.
Do'stlaringiz bilan baham: