I would like to see an option to define a backup dir including date related naming based on rclone --backup-dir system.
As it does not make sense to have hundreds of backup folders, I wonder if, in addition, one could implement a backup strategy similar like borg-backup can do.
Users define
keep_backups =10
keep_daily=7
keep_weekly = 4
keep_monthly=6
keep_yearly=3
That would keep the last 10 backups (e.g. if the sync is happening every 30 min), it means keep the last 5h as backup, in addition keep a backup of every day, keep a backup of every week, every month and of the last three years. Naturally, the backup higher ranked can be used as replacement for a backup lower ranked in this list. E.g. The most recent backup of keep_backups=10 is the present daily backup, the most recent daily backup is equally the current weekly backup, etc.
It might sounds complex but once it is implemented it would be a no brainer.
EDIT:
Albeit thinking more of it, this should be a feature upstream in rclone.
I would like to see an option to define a backup dir including date related naming based on rclone --backup-dir system.
As it does not make sense to have hundreds of backup folders, I wonder if, in addition, one could implement a backup strategy similar like borg-backup can do.
Users define
keep_backups =10
keep_daily=7
keep_weekly = 4
keep_monthly=6
keep_yearly=3
That would keep the last 10 backups (e.g. if the sync is happening every 30 min), it means keep the last 5h as backup, in addition keep a backup of every day, keep a backup of every week, every month and of the last three years. Naturally, the backup higher ranked can be used as replacement for a backup lower ranked in this list. E.g. The most recent backup of keep_backups=10 is the present daily backup, the most recent daily backup is equally the current weekly backup, etc.
It might sounds complex but once it is implemented it would be a no brainer.
EDIT:
Albeit thinking more of it, this should be a feature upstream in rclone.