-
Notifications
You must be signed in to change notification settings - Fork 67
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
Question: Is it possible to add backup arguments to cron jobs? #19
Comments
As it currently stands, you can prepend your custom parameters to the RESTIC_BACKUP_SOURCES="--exclude-file=/excludes /data" As this is an unclean approach, we should probably add a separate variable for this in the next version. |
Nice workaround for now! Thanks for your response! Cheers! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Shall we re-open, just not to forget to do this? |
Yes. |
@djmaze reminder to reopen and remove the tags. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Up |
I'm also interested in the feature The issue is quickly taken care of here plus the needed bit of documentation. Would you accept a PR? Straight forward approach would be to add |
I am using restiker to automate my backups. I want to exclude a few directories matching some rules.
Restic allows to exclude items listed in a file, by providing the
--exclude-file
argument for the backup command.Is it possible to provide certain arguments in the backup command of the cron job?
The text was updated successfully, but these errors were encountered: