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

Support (arbitrary) restic options #15

Open
MostFrabjous opened this issue Jul 7, 2019 · 3 comments
Open

Support (arbitrary) restic options #15

MostFrabjous opened this issue Jul 7, 2019 · 3 comments

Comments

@MostFrabjous
Copy link

There doesn't seem to be a way to use arbitrary restic options, like --one-file-system or --no-lock, especially the former is very useful to me.

I suggest to either add a list, like CMD_ARGS to the config file, or add support the specific options like ONE-FILE-SYSTEM=True.

@andreasnuesslein
Copy link
Member

andreasnuesslein commented Dec 6, 2019

Hey @henry78

it took me a while but I finally overhauled the code a bit and included such an option now with just adding
runrestic backup -- --one-file-system where obviously the last argument can be anything.

It's beta at the moment but if you could test, I'd like to hear your feedback

https://github.com/andreasnuesslein/runrestic/tree/0.5b0

https://pypi.org/project/runrestic/0.5b0/

cheers

@MostFrabjous
Copy link
Author

MostFrabjous commented Dec 8, 2019 via email

@bjo81
Copy link

bjo81 commented Oct 22, 2023

How can e.g. --ignore-inode be used?

runrestic -- --ignore-inode leads to running backup, prune, check etc. with --ignore-inode which is not intended.

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

No branches or pull requests

3 participants