• Hi all,

    I have implemented WordPress in Docker and it all works great.

    For the backups, I backup the WordPress directory and dump the database… but I have the following problem…

    On the next update of WordPress, I will create a new image containing the latest version of WordPress, spin up a container and link it to my existing db (after a backup obviously).

    The problem I have is if I restore my WordPress data, I will squash any upgrade I just made. So, what are the files that I need to backup and then recover to have all my data and _not_ squash the upgrade I just made?

    I am thinking of plugins, theme changes (child theme) and possibly the active theme… Is that enough?

    Any help would be greatly appreciated!

Viewing 1 replies (of 1 total)
  • Thread Starter ecowp

    (@ecowp)

    Let me rephrase this after a bit more reading.

    Ignoring the fact I am using docker, etc. Would it be fair to say that apart from a db backup, all I need to backup is wp-content? Possibly also excluding the templates apart from my child template?

    With that done, I should be able to install a fresh WordPress installation, restore the db and wp-content and have a working WordPress website as it was at backup time… Correct?

Viewing 1 replies (of 1 total)

The topic ‘Upgrades and Docker. How would you do it?’ is closed to new replies.