-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
borgmatic: expose backup frequency interval #208841
base: master
Are you sure you want to change the base?
borgmatic: expose backup frequency interval #208841
Conversation
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.
LGTM
@imlonghao is there something I should do to push this PR along, given that it has been approved? |
The previous default Borgmatic systemd files defaults to daily backups. This exposes the option to supply a different backup frequency (e.g. hourly).
4bafda5
to
4bede23
Compare
@imlonghao is this waiting on you now? Let me know if there is something I can do to help here. |
There are two additional directives in the upstream timer unit that worth handling: |
Ok, what would be the best way for me to add that here? I'm not sure if these options are exposed at the moment. |
Co-authored-by: pennae <[email protected]>
Maybe properly defining a timer with |
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.
@InnovativeInventor what do you think about @NickCao suggestion of adding a proper sytemd timer? If you need some example you can look at the restic module. what would be your suggestion if you don't like it?
I would love to get this merged and thank you for your contribution, keep them coming ❤️
Frequency at which borgmatic should be run. See | ||
{manpage}`systemd.time(7)` for | ||
options. |
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.
Frequency at which borgmatic should be run. See | |
{manpage}`systemd.time(7)` for | |
options. | |
Frequency at which borgmatic should be run. | |
See {manpage}`systemd.time(7)` for options. |
Description of changes
The previous default Borgmatic systemd files defaults to daily backups. This exposes the option to supply a different backup frequency (e.g. hourly).
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes