-
Notifications
You must be signed in to change notification settings - Fork 45
Useful extensions #39
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
base: develop
Are you sure you want to change the base?
Conversation
…independent of the date.
…ltiple chains per day.
|
Thanks for the PR ! Sorry for the late review, could you update the description of this PR with more details please? I'm not sure I totally understand the point of it. I've seen that you introduce a new option, could you also update the README? I'm also searching for maintainers for this project, see #40, tell me if you'd be interested :) |
deviantony
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the comments.
| files = glob(''.join([directory, '/', prefix, '*'])) | ||
| return files[0] | ||
|
|
||
| def get_prefixed_files_in_dir(directory, prefix): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like duplicated code to me. Just define get_prefixed_files_in_dir and remove the first one. Then update the function call in
| backup_archive = filesystem_utils.get_prefixed_file_in_dir( |
backup_archive = filesystem_utils.get_prefixed_file_in_dir( archive_repository, prefix)[0]
| --uncompressed-archives \ | ||
| Specify that the backup archives are not compressed. \ | ||
| Use this option if you did backup with --no-compress. | ||
| --without-stop-mysql \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be added in README.
To be able to restore a backup, all incremental should be in the same directory than the base backup. Only backups of one backup chain should be in one directory, also if there are multiple chains per day.