Schedulazione di backup con BackupPC: Difference between revisions
Jump to navigation
Jump to search
m New page: * Disabilitare la schedulazione interna di backuppc: sudoedit /etc/backuppc/config.pl $Conf{BackupsDisable} = 1; * Impostare il file di contab: <pre> cat | sudo tee /etc/cron.d/backup... |
(No difference)
|
Revision as of 14:22, 29 July 2011
- Disabilitare la schedulazione interna di backuppc:
sudoedit /etc/backuppc/config.pl
$Conf{BackupsDisable} = 1;
- Impostare il file di contab:
cat | sudo tee /etc/cron.d/backuppc > /dev/null <<EOFile # # Regular cron jobs for backuppc # #hour minute DayOfMonth Month DayOfWeek user command # check if backuppc is up and running * 00 * * * root /usr/share/backuppc/bin/BackupPC_sendEmail -c # Run incremental backup of machine name hostname with ip address ip.address as user backuppc from Mon to Fri at 22:00 22 00 * * 1-5 root /usr/share/backuppc/bin/BackupPC_serverMesg backup ip.address hostname backuppc 0 # Run full backup of machine name hostname with ip address ip.address as user backuppc at Sat at 22:00 22 00 * * 6 root /usr/share/backuppc/bin/BackupPC_serverMesg backup ip.address hostname backuppc 1 EOFile
- Testare con
sudo -u backuppc usr/share/backuppc/bin/BackupPC_serverMesg backup ip.address hostname backuppc 0 sudo -u backuppc /usr/share/backuppc/bin/BackupPC_serverMesg status jobs