I found Dietpi Backup today - very useful thank you.
I wonder if there is a way of creating a Cron job to keep, say 3, backup sets on a drive? Grateful for your advice
John
Automated backup
Re: Automated backup
Hi John,jram wrote:I found Dietpi Backup today - very useful thank you.
I wonder if there is a way of creating a Cron job to keep, say 3, backup sets on a drive? Grateful for your advice
John
You can instigate a backup with:
Code: Select all
dietpi-backup 1
Although, bear in mind, DietPi will stop all services before the backup starts, then restart them after completion.
Backup sets are only supported inside the main app (eg: by changing the backup/restore location as needed). However, you can change the backup location before running the above command in /DietPi/dietpi/.dietpi-backup_settings (FP_TARGET_BACKUP=), just be cautions doing this and ensuring paths are correct.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Automated backup
what is the command for new cron job in webmin for dietpi-backup 1 ?