autorestic icon indicating copy to clipboard operation
autorestic copied to clipboard

Restore hooks

Open JeWe37 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Particularly when backing up databases or the like one uses hooks pre-backup to dump the database. When restoring the database needs to be recreated. Running the required commands automatically through autorestic is not possible yet.

Similar issues arise in full-system automated backup. There is always some configuration not stored on the filesystems that needs to be restored when doing a full recovery.

Describe the solution you'd like Analogously to backup hooks, restore hooks should allow custom scripts to be run pre- and post-restore.

JeWe37 avatar Mar 20 '22 21:03 JeWe37

We just had the same use-case with my organization yesterday. Maybe interested to work on this in the future

rdelaage avatar Jun 09 '22 19:06 rdelaage