Throw ERROR instead of WARN when source can't be sanitized #1082
Labels
A-cli
Area: `rustic` command line interface
A-commands
Area: Related to commands in `rustic`
A-ui-ux
Area: Related to user interfaces and user experience
C-bug
Category: Something isn't working as expected
This is not a bug per se but unexpected behaviour for me:
I run
rustic
as a systemd service with anon-failure
dependency that alerts me to errors. However,rustic
hasn't been doing backups for a while because i removed one of the backup source directories so it stopped with[WARN] error sanitizing source="
...As this is a WARN and not an ERROR, my systemd service didn't throw an error and i wasn't alerted to the fact, that no backups were being made.
I would like rustic to throw an ERROR when a backup doesn't succeed for any reason. Either as default behaviour or as an option/flag. This would be important for me for unattended use of rustic.
The text was updated successfully, but these errors were encountered: