Closed vithusel closed 1 year ago
I know having 24 daily backups is probably a bit over the top. But this pi is running a application that collects live data which cannot be recreated.
That's a misunderstanding from you side:
# Smart recycle parameters (daily, weekly, monthly and yearly)
DEFAULT_SMART_RECYCLE_OPTIONS="24 4 12 3"
The daily option defines the number of daily backups to keep - not how many backups per day. With 24 you will get one backup per day for the last 24 days. If you use 7 you get daily backups of the last 7 days.
But this pi is running a application that collects live data which cannot be recreated.
I see your point but why do you want to backup the whole system all the time? Just save the important data every hour. This will be much faster and consume less disk space for the backup.
I may have to look into this. It was simply ease of effort. I have a lot of storage on my backup server and backup time was about 3 minutes.
Thanks for coming back to me :)
If you use the other backup recycle method and use KEEP_BACKUPS
you can keep hourly backups. But then you have to take care of them yourself to keep backups following the GFS principle.
raspiBackup smart recycle is not designed to manage backups on a less than daily base. If you create more than one backup per day the latest backup will be kept and all other backups will be recycled. That's what you saw when you created multiple backups per day :wink:
Debug Log - raspiBackup.log
I've set my smart backup to Daily:24 Weekly:4 Monthly:12 Yearly:3
The backup runs hourly via Cron.
the OS is Ubuntu 22.04 server 64Bit Arm64
For some reason. After every backup it deletes everything older then the most recent one. (for that day)
--- RBK0218I: Applying smart backup strategy. Daily:24 Weekly:4 Monthly:12 Yearly:3. --- RBK0217I: 2 backups will be smart recycled. 3 backups will be kept. Please be patient. --- RBK0221I: Smart backup strategy deletes /backup/ARM0000001/ARM0000001-rsync-backup-20231125-212729. --- RBK0221I: Smart backup strategy deletes /backup/ARM0000001/ARM0000001-rsync-backup-20231125-214132. --- RBK0017I: Backup finished successfully.
I know having 24 daily backups is probably a bit over the top. But this pi is running a application that collects live data which cannot be recreated.
Im not sure if i've configured something wrong. Setting to a lower value (7 4 12 1) makes no difference.
Below is my config