Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore hooks #173

Open
JeWe37 opened this issue Mar 20, 2022 · 1 comment · May be fixed by #213
Open

Restore hooks #173

JeWe37 opened this issue Mar 20, 2022 · 1 comment · May be fixed by #213

Comments

@JeWe37
Copy link

JeWe37 commented Mar 20, 2022

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.

@rdelaage
Copy link
Contributor

rdelaage commented Jun 9, 2022

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

@rdelaage rdelaage linked a pull request Jul 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants