# Migrating from one Docker server to another

**URL:** https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748
**Category:** Support
**Created:** [02.Февраль.2015 23:40:44 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748 "2015-02-02T23:40:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [02.Февраль.2015 23:40:44 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/1 "2015-02-02T23:40:44Z")

</div>

Hi

I am trying to migrate my Discourse instance from one Ubuntu 14.04 server running Docker to another and could not find a lot of documentation about this.

I have installed Docker on the new server, but I am not sure how to migrate the old forum. I know I can do docker save. But I have some questions:

- How do I know the name of the container to run ‘docker save’ on?
- Will docker load \< sometar on the other box recreate /var/discourse and all the YAML so I can just run ./launcher app rebuild and ./launcher app start?

Thanks

Sam

---

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [02.Февраль.2015 23:46:59 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/2 "2015-02-02T23:46:59Z")

</div>

I was able to get the container id with ps -a when it is running, but docker save gives me ‘No such container id’. Is it safe to just take a backup from the Discourse admin panel and restore that way?

S

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [02.Февраль.2015 23:47:21 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/3 "2015-02-02T23:47:21Z")

</div>

Very similar to this topic:  
[https://meta.discourse.org/t/can-i-pack-the-server-and-move-it-to-another-server/23984](https://meta.discourse.org/t/can-i-pack-the-server-and-move-it-to-another-server/23984)

(although no specific answers to your query there)

---

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [02.Февраль.2015 23:49:42 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/4 "2015-02-02T23:49:42Z")

</div>

I saw that topic, but it did not resolve my query which is why I posted

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [02.Февраль.2015 23:50:47 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/5 "2015-02-02T23:50:47Z")

</div>

Considering the topic was extremely similar it might have been best to continue and as for more details in the other topic.  
(bit late now - I don’t know).

Wait and see what the moderators do 😄

> [@samnazarko](#):
>
> Is it safe to just take a backup from the Discourse admin panel and restore that way?

But yes it should always be safe to make a backup and restore it - that’s what backups are for.  
Just make sure you include “content”.

The backups won’t include any code changes, just DB, attachments and images.

---

<div class="post-metadata">

### Author: ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)
#### Post date: [09.Февраль.2015 17:30:51 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/6 "2015-02-09T17:30:51Z")

</div>

Backup and restore worked

Thanks

---

<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: [09.Февраль.2015 17:44:18 UTC](https://meta.discourse.org/t/migrating-from-one-docker-server-to-another/24748/7 "2015-02-09T17:44:18Z")

</div>


