-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It is difficult to recover an old backup in an incremental backup because the backup name changes every day and is not predictable.
Reproduce de issue
- use kibatic/mysql-backup to backup a mysql docker
- save the backup is an incremendal backup system (like rdiff-backup for example)
- try to recover a backup 5 days old
As the file 5 days old is removed and contains a timestamp (with minutes and seconds), I need to guess the file name (unpredictable because of the seconds) to run the recover command.
Solution proposition
In this line, you define the name of the backup with a timestamp.
https://github.com/kibatic/docker-mysql-backup/blob/master/backup-scripts/backup.sh#L16
It would be easier to use if the backup file name was always the same. After that, we don't need the deletion system anymore.
Metadata
Metadata
Assignees
Labels
No labels