-
Notifications
You must be signed in to change notification settings - Fork 319
Description
I tried so hard to understand how docker work and creating backup and restore. already tried tuns of stuff but non of them worked. i waste today completely finding solution. but i failed.
technique one :
sudo docker commit efef1f15b461 mycontainer_backup && docker save mycontainer_backup -o mycontainer_backup.tar
to restore docker load -i mycontainer_backup.tar docker run -it --name mycontainer mycontainer_backup issue is /var/lib/ghost/content folder get missing and output says my theme got missing if i get inside docker and fix that after running that command again theme get missing....
sudo docker export efef1f15b461 | openssl enc -aes-256-cbc -pbkdf2 -pass pass:hack -out out/"asd.tar.enc" -v also i tried this encryption script ..
simple backup and restore.