# Transfer Docker installed Discourse to new DigitalOcean droplet

**URL:** https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704
**Category:** Self-hosting
**Tags:** docker, hosting
**Created:** [2015 年2 月 25 日 21:20 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704 "2015-02-25T21:20:40Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![sckott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sckott/32/115359_2.png) [@sckott](https://meta.discourse.org/u/sckott)
#### Post date: [2015 年2 月 25 日 21:20 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/1 "2015-02-25T21:20:40Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015 年2 月 25 日 21:27 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/2 "2015-02-25T21:27:15Z")

</div>

> [@sckott](#):
>
> Or is there a better way to do it?

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 😉

---

<div class="post-metadata">

### Author: ![sckott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sckott/32/115359_2.png) [@sckott](https://meta.discourse.org/u/sckott)
#### Post date: [2015 年2 月 25 日 22:18 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/3 "2015-02-25T22:18:23Z")

</div>

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

I’ll go with image to new droplet then.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015 年2 月 26 日 04:07 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/4 "2015-02-26T04:07:12Z")

</div>

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

> **[How to Migrate Droplets Using DigitalOcean Snapshots | DigitalOcean...](https://docs.digitalocean.com/products/images/snapshots/how-to/migrate-droplets/)**
>
> Use snapshots to migrate a Droplet from one data center region to another.

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.

---

<div class="post-metadata">

### Author: ![sckott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sckott/32/115359_2.png) [@sckott](https://meta.discourse.org/u/sckott)
#### Post date: [2015 年2 月 26 日 15:29 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/5 "2015-02-26T15:29:29Z")

</div>

Thanks for the help 😉

---

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2018 年7 月 4 日 02:53 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/6 "2018-07-04T02:53:10Z")

</div>

@sckott were you able to successful transfer the discourse installation to another installation using snapshots? I’m planning to do the same thing. Thanks 🙂

---

<div class="post-metadata">

### Author: ![sckott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sckott/32/115359_2.png) [@sckott](https://meta.discourse.org/u/sckott)
#### Post date: [2018 年7 月 5 日 19:33 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/7 "2018-07-05T19:33:18Z")

</div>

I have not tried it yet. But I will try very soon. Will let you know

---

<div class="post-metadata">

### Author: ![geoff777](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geoff777/32/202388_2.png) [@geoff777](https://meta.discourse.org/u/geoff777)
#### Post date: [2018 年7 月 5 日 19:49 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/8 "2018-07-05T19:49:03Z")

</div>

I did this a lot when working on ‘fun’ projects once or twice a month.  
Instead of paying for the full month.  
Take a snapshot and destroy.  
Then in a week or two or three … spin up a new droplet from the snapshot.  
It works well.

---

<div class="post-metadata">

### Author: ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://meta.discourse.org/u/chi)
#### Post date: [2018 年7 月 18 日 15:57 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/9 "2018-07-18T15:57:52Z")

</div>

Cool Thanks @geoff777  
I’ll try it out then 🙂

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2023 年4 月 27 日 02:11 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/10 "2023-04-27T02:11:11Z")

</div>

2 篇帖子已拆分为新主题：[恢复快照实例](https://meta.discourse.org/t/restoring-a-snapshotted-instance/263019)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023 年4 月 27 日 05:07 UTC](https://meta.discourse.org/t/transfer-docker-installed-discourse-to-new-digitalocean-droplet/25704/11 "2023-04-27T05:07:50Z")

</div>


