runrestic
runrestic copied to clipboard
A wrapper script for Restic backup software that inits, creates, prunes and checks backups
show the restic process while running instead of just printing the result in the end.
``` # cat /etc/runrestic/home.toml name = "home directories" repositories = [ "rclone:test",] [execution] parallel = true retry_count = 10 retry_backoff = "1:00 exponential" [environment] RESTIC_PASSWORD_FILE = "/etc/secrets/restic.password" RCLONE_CONFIG = "/etc/secrets/rclone.conf"...
Allow including other files. Modify `parse_configuration()` to get a base config as parameter: ```diff -def parse_configuration(config_filename: str) -> Dict[str, Any]: +def parse_configuration(config_filename: str, config_base: Dict[str, Any]) -> Dict[str, Any]: logger.debug(f"Parsing...
I see you use `logging` library already. It would be nice, if the user could add additional `logging.Formatter` or `logging.Handler` (e.g. `FileHandler` with custom _path_ and level, `SMTPHandler`). Config file...
borgmatic supports e.g. healthchecks, see https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/ I tried to archive something similar with pre/post_hooks in runrestic and curl, but had no luck as I was unable to get the errorcode.
Optimized cache management is important to keep cloud storage costs under control. I would like to use `--cache-dir` for *all* operations. Having this built-in makes sure I don't forget it...
https://restic.readthedocs.io/en/latest/040_backup.html#reading-data-from-stdin
the https://github.com/sinnwerkstatt/runrestic/blob/master/runrestic/runrestic/configuration.py#L24 fucks with unknown arguments. when somebody accidentally does `runrestic snapshots` it falls back to default actions - not good
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...