Transfer Docker installed Discourse to new DigitalOcean droplet

docker

(Sckott) #1

I have a Discourse installation installed on DO via docker. What’s best practice for moving the installation to a new droplet? I’d assume just create an image from the droplet, kill the droplet, spin up new droplet from the saved image. Or is there a better way to do it?

My use case is: I want to have backups of my droplet, which means i need a new droplet as they can only be toggled on with new droplets, and not on existing droplets AFAIK. Also, I want to make sure I don’t lose any data acquired so far from the Discouse installation.


(Régis Hanol) #2

You could use our backup/restore feature but that would require you to rebuild a new discourse instance from scratch. If you can “transfer” the image from one droplet to another, it’ll be easier/faster :wink:


(Sckott) #3

@zogstrip Thanks! Good to know about backup/restore feature.

I’ll go with image to new droplet then.


(Jeff Atwood) #4

Yeah I would follow the Digital Ocean procedure for moving the droplet:

Start by taking a snapshot, but be aware this can take a while, up to 30 minutes, as it has to copy all 30+ gb of data on the droplet around.


(Sckott) #5

Thanks for the help :wink: