Closed ostasevych closed 3 months ago
The right place for this question is here https://projects.torsion.org/borgmatic-collective/borgmatic/issues
The right place for this question is here https://projects.torsion.org/borgmatic-collective/borgmatic/issues
It is almost not possible to submit issues there :(
Are you experiencing an issue with borgmatic? Or do you have an idea for a feature enhancement? Head on over to our issue tracker. In order to create a new issue or add a comment, you'll need to register first. If you prefer to use an existing GitHub account, you can skip account creation and login directly.
Hi! I use borgmatic for backing up certain apps, which I need to stop on behalf of the
www-data
user before and start after running the backup.I've added a couple of hooks:
When executed borgmatic reports that:
Is it possible to use sudo in hooks somehow or what to use?
UPD:
The only workaround, which I've found is to replace the string variable manually:
where app-maint-on:
But that is like a workaround, which doesn't allow me to process the exit code from the execution of the app command.