# Moving discourse with S3 uploads to a new server

**URL:** https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772
**Category:** Support
**Created:** [June 19, 2019, 8:51am UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772 "2019-06-19T08:51:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mirko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mirko/32/147237_2.png) [@Mirko](https://meta.discourse.org/u/Mirko)
#### Post date: [June 19, 2019, 8:51am UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772/1 "2019-06-19T08:51:20Z")

</div>

Hello,

I am trying to move discourse to a new server.  
New installation is Ok, but I cannot import the backup.  
Backups and uploads are stored on S3.  
I can access backups or upload them to the server but can’t restore it.

In the log I get this;

```plaintext
[2019-06-19 08:18:37] Clear theme cache

[2019-06-19 08:18:37] Extracting uploads...

[2019-06-19 08:18:38] Migrating uploads to S3...

[2019-06-19 08:18:38] Restore process was cancelled!

[2019-06-19 08:18:38] Trying to rollback...

```

---

<div class="post-metadata">

### Author: ![Mirko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mirko/32/147237_2.png) [@Mirko](https://meta.discourse.org/u/Mirko)
#### Post date: [June 19, 2019, 9:54am UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772/2 "2019-06-19T09:54:56Z")

</div>

For some of the reasons, one of the backups worked but only once.

Here is the difference;

 ![discourse3](https://global.discourse-cdn.com/meta/original/3X/1/0/105b6d45d20289b0ccdf7b63ca32ca8e47ef0264.png)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [June 19, 2019, 11:36am UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772/3 "2019-06-19T11:36:13Z")

</div>

Create a backup without uploads and try to restore it on the new server. That should work because the uploads are already on S3.

---

<div class="post-metadata">

### Author: ![Mirko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mirko/32/147237_2.png) [@Mirko](https://meta.discourse.org/u/Mirko)
#### Post date: [June 19, 2019, 12:43pm UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772/4 "2019-06-19T12:43:41Z")

</div>

I did it but when I run the same “good” back up again get the same problem.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 28, 2022, 1:17pm UTC](https://meta.discourse.org/t/moving-discourse-with-s3-uploads-to-a-new-server/120772/5 "2022-11-28T13:17:46Z")

</div>


