Setting CPU and IO priority through borgmatic #337
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#337
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Sometimes it's nice to be able to run backups while working, but to do so, I would like to be able to set
nice
andionice
levels forborg
. I could certainly just runborgmatic
undernice
/ionice
, but it would be easier if those priorities could be configured in theborgmatic
configuration file like everything else.Is this possible?
Thanks!
Thanks for filing this! If you're using systemd, this is included in the sample systemd configuration: https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.service
Does that work for your needs?
Related: #32
Thanks for the (very) quick response!
I haven't set up
borgmatic
withsystemd
yet, but I plan to, so this definitely solves the issue.There seem to be similar settings available for
launchd
, so this technique should also work for macOS.Cool, I'm glad to hear that'll work for you.