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

Reform rsbackup cron arrangements #59

Closed
ewxrjk opened this issue Mar 3, 2019 · 0 comments
Closed

Reform rsbackup cron arrangements #59

ewxrjk opened this issue Mar 3, 2019 · 0 comments
Assignees
Milestone

Comments

@ewxrjk
Copy link
Owner

@ewxrjk ewxrjk commented Mar 3, 2019

Currently rsbackup has cron scripts to arrange for backups of chosen hosts to happen daily, weekly, etc. It is controlled by a separate configuration from the main config file.

With the introduction of backup policies this configuration can be moved into the main configuration file. The part of rsbackup.cron which performs backups can be reduced to rsbackup --backup, and invoked as frequently as the operator desires. The default would be hourly. --wait would not be used, if a backup is in progress we will just try again in an hour.

That leaves:

  • --prune. There is no reason this couldn't be done at the maximum frequency since there are already prune policies controlling what is pruned.
  • --prune-incomplete. My current thinking is that this would be invoked daily, with --wait.
  • --email. Again my current thinking is that this would be invoked daily, with --wait.

While on the subject of backup policies there should probably be an option to override backup policies and always backup the selected volumes.

@ewxrjk ewxrjk added this to the 7.0 milestone Mar 3, 2019
@ewxrjk ewxrjk self-assigned this Mar 3, 2019
ewxrjk added a commit that referenced this issue Sep 7, 2019
re #59
ewxrjk added a commit that referenced this issue Sep 8, 2019
It is supplanted by backup policies.

re #59

UNTESTED
@ewxrjk ewxrjk closed this Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant