Ipfire time-controlled backup

how can I best backup my ipfire to another medium (second local hard disk), so that I can access it in an emergency. Here I would like to include certain directories as well as the ipfire data backup (WebGUI).

MfG Paul

Create a script with the command

/var/ipfire/backup/bin/backup.pl exclude

This will run the IPFire data backup. The rest of the script would then need to copy the required files from /var/ipfire/backup to the external hdd that you have mounted as an extra drive on IPFire. The same for any other files/directories you want to backup. You might want to include a check that the drive is actually mounted before doing the backup.

Then run fcrontab -e to specify when you want your backup script to be run.

2 Likes