-
I am sorry if this is a dumb question but I searched around and couldn't find a direct answer. I am running a container on a Linux machine and everything is working fine including backups are being created. If something happens and I need to restore from one of these said back ups how do I do it from docker compose? Do I need to change something in the container files? Again I'm sorry I'm pretty new to this stuff. Thank you kindly for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
My apologies I'm remodeling so I didn't have a chance to see this inquiry, your vest bet is to un tar. You can exec into the container and tar -xvzf /path/of/backup -C /path/to/save/directory |
Beta Was this translation helpful? Give feedback.
If you are doing a saverestore yes, remove the contents and extract. If you are unsure you can back up the original contents before atteampting a restore.
yes as long as you change the place holder paths
we changed the container, i need to update the docs, its now
docker exec -it $CONTAINER_NAME bash
the container runs as user not as root which was a security risk