Before hook: Mounting a directory before backup #303
Unanswered
perry-mitchell
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was under the assumption that the before hook for locations runs before any backup action is performed, however it seems that this is not the case:
It seems that autorestic/restic is checking for the location directory before my before hook can be run. The hook is responsible for creating the directory and mounting/populating it.
This seems counter intuitive and perhaps even a bug.. but I'm new to autorestic/restic and wanted to get other opinions before filing a bug.
Beta Was this translation helpful? Give feedback.
All reactions