Skip to content

how to backup and restore ghost cms docker easyly #374

@View-my-Git-Lab-krafi

Description

@View-my-Git-Lab-krafi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions