Docker resetting and losing backup info #267
-
I am running Backrest in Docker on my Unraid server. I have got it working pretty well, except for one thing. Any time I go into the Docker settings and change a path or variable, Unraid re-downloads and resets the container. I have the BACKREST_CONFIG environmental variable pointing to my persistent config path so that when it resets I no longer lose the configuration of the repos and plans. However, if it resets, any previous snapshots do not show up under the repo. If I run stats it picks it up and shows it in the operation list, but it shows it as an unassociated backup. Is there a setting I'm missing to make sure the snapshots show up and are still associated like usual if the docker gets reset? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, sounds like your environment variables (or mounts) are not setup correctly. Some portion of backrest's data is getting lost when the container restarts. Make sure your config matches
And in particular it sounds like the BACKREST_DATA directory is being lost. I recommend using the default value |
Beta Was this translation helpful? Give feedback.
Hey, sounds like your environment variables (or mounts) are not setup correctly. Some portion of backrest's data is getting lost when the container restarts.
Make sure your config matches