Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Add support for letting restic run certain commands with sudo #50

Merged
merged 2 commits into from
Mar 27, 2019
Merged

Add support for letting restic run certain commands with sudo #50

merged 2 commits into from
Mar 27, 2019

Conversation

TheLastProject
Copy link
Collaborator

Sometimes, you will need to run an application's backup output tool as root. This change allows you to selectively whitelist some commands, so that you do not have to run restic as root in full.

@TheLastProject TheLastProject changed the title Add support for letting restic run certain commands with sudo WIP: Add support for letting restic run certain commands with sudo Mar 26, 2019
@TheLastProject TheLastProject changed the title WIP: Add support for letting restic run certain commands with sudo Add support for letting restic run certain commands with sudo Mar 26, 2019
@TheLastProject
Copy link
Collaborator Author

This is tested and works well, causing no regressions. Just not merging it myself to not be rude :)

@paulfantom
Copy link
Owner

@TheLastProject you are doing more work in this repo than I do 😄 Merge when you think code is ok, I won't mind 😄

@paulfantom paulfantom merged commit ce5a075 into paulfantom:master Mar 27, 2019
@TheLastProject
Copy link
Collaborator Author

Sounds good. Also, maybe time for a new release? Restic 0.9.4 being the default now and all :)

@paulfantom
Copy link
Owner

CI needs to be fixed first, without it I cannot do a release :(

I'll take a look at it today or tomorrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants