-
Notifications
You must be signed in to change notification settings - Fork 168
Description
What should rest-server do differently?
add the ability to execute some commands just before and after the backup happens.
Example for doc:
--pre-backup-cmd execute a command/script just before the restic backup is executed (before any data are written)
--post-backup-cmd execute a command/script after the restic backup from remote is finished
What are you trying to do? What is your use case?
I would like to use rest-server for security-reasons. Mainly to avoid to get rid of the backups if a client is hacked. So i use the --append-only-command.
My old backup-scripts have done some preparing (i.E. creating statistics of usage before and after a backup, creating snapshots, creating index for a self-created http-restore-gui). This was executed by ssh on the restic-server.
In future i want to avoid ssh-access from client due to security reasons, but i need to execute my pre- and post-backupscripts.
I could write a own rest-server which does exaclty this, but i think i am not the only one who needs this and all of the infrastructure of restic-rest-server could be used (auth, encryption etc)
Did rest-server help you today? Did it make you happy in any way?
it made my happy just of beeing existent and i can solve my security-problems :)