Restiker is a very simple wrapper around restic that can be used to launch backups. Being not versatile on purpose it can't do anything else.
Note that it requires dasel to parse the configuration files.
Restiker's config files support env variables. In addition you can use ${SELFDIR}
as placeholder for the path in which the restiker script resides.
This is what a config looks like...
repo = "rest:https://user:pass@your.restic/repo"
# if cert is not given, restiker will omit the argument
# cert = "/home/myuser/restiker.crt"
cert = "/home/myuser/restiker/conf.toml"
folders_to_backup = [
"/etc",
"/home/myuser",
"/home/my documents",
"/home/even more documents"
]
# can be empty
additional_args=[
"-vv"
]
Running a backup with the config file example above, a command like the following will be launched...
restic --cacert /home/myuser/restiker/conf.toml -vv -r rest:https://user:pass@your.restic/repo backup "/etc" "/home/myuser" "/home/my documents" "/home/even more documents"
restiker help
args
-i/--ignore ignore if files do not exist
-d/--debug do nothing, just print what would have happened
-h/--help display this help
usage
restiker examples/conf.toml
restiker examples/conf.toml -d