Skip to content

Conversation

@rolandkrucker
Copy link

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.

@deviantony
Copy link
Owner

deviantony commented Sep 23, 2016

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 :)

Copy link
Owner

@deviantony deviantony left a 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):
Copy link
Owner

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(
with 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 \
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants