Skip to content
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

fn_expire_backups fix final #148

Closed
wants to merge 7 commits into from
Closed

fn_expire_backups fix final #148

wants to merge 7 commits into from

Conversation

kapitainsky
Copy link
Contributor

No description provided.

I have modified fn_expire_backups function to hopefully fix an issue with wrong backups being pruned. The major changes:
1 - backups are processed from the oldest one to the latest
2- the oldest backup is never deleted (unless no space) - the reason for it is that many users backup their stuff and consider it safely stored deleting it from origin
3 - Actual condition to expire backup is based on days value instead if exact seconds. All strategy is about days anyway.
Bug fix from the issue:

#149
@kapitainsky
Copy link
Contributor Author

proposed fix for:

#121

@kapitainsky kapitainsky closed this Apr 1, 2019
@kapitainsky kapitainsky deleted the master branch April 1, 2019 17:04
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.

None yet

1 participant