Hi all:
I think this is not possible but I’m looking for exec a shell command after succesfull backup via flag. I’m using backrest for automatization of backups. The only way of exec backups is using a flag.
Thanks
Hi all:
I think this is not possible but I’m looking for exec a shell command after succesfull backup via flag. I’m using backrest for automatization of backups. The only way of exec backups is using a flag.
Thanks
not via restic itself. but the wrapper tools do this. for example backrest:
Thanks.. that’s the point. I need to send a command using backrest…
Can’t you rely just on bash for that?
You can handle exit codes how you need it, the easiest is probably:
restic backup xxx && echo "successful execution"