Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
3 posts • Page 1 of 1
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
You can instigate a backup with:
This will simply run the backup using current settings as defined in GUI.
Code: Select all
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.