Skip to content

feat: Added a new param MIN_SAVED_FILE and added error handling #112

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Christophe-Ramet
Copy link

Before, if the database we wanted to back up was not accessible, we still would create a file (an empty file). It's resolved.

The other problem is that, if we can't contact database for $REMOVE_BEFORE days, we would lose all our backups ! MIN_SAVED_FILE is a new param so we keep at least $MIN_SAVED_FILE.

The param MIN_SAVED_FILE, is used when you don't want to delete old file when you have no new files.
Also, when we didn't achieve to run a copy, we no more create an empty file
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.

1 participant