New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming of backup directories may affect Smartrecycle and keep backup logic #471
Comments
Both keep and SR strategy assume the backup directories of Example: If the subdirectories don't follow this naming convention the strategies are screwed up. Thus it's important to add an additional check during startup all existing backup directories follow this naming convention and abort the backup run. |
Every backup run will check whether the existing backup directories follow the backup directory naming used by raspiBackup. If there exist any other backup directories raspiBackup will terminate with error message RBK0273E |
Is this the reason for removing this in the 0.6.7 config update?
I was/am using this for my rsync-Backups. Not sure if those still work as before udating to 0.6.7 and I really could find nothing about |
Good catch 👍 In one of the first releases of raspiBackup you could set Re |
The current logic assumes all backup directories were created by raspiBackup and follow a strict naming convention. If users manually rename backup directories for SR the wrong daily backup may be deleted and for keep backup the number of kept backups will be less than configured.
Make the SR and keep logic robust to ignore any other directories or write an error message and abort the backup if those kind of directories are detected.
The text was updated successfully, but these errors were encountered: