# 无法在60GB的Digital Ocean实例（新的Discourse安装）上还原20GB的备份

**URL:** <https://meta.discourse.org/t/cant-restore-a-20gb-backup-on-a-60gb-digital-ocean-instance-fresh-discourse-install/77350>\
**Category:** Product Support\
**Created:** [2018 年1 月 6 日 02:49 UTC](https://meta.discourse.org/t/cant-restore-a-20gb-backup-on-a-60gb-digital-ocean-instance-fresh-discourse-install/77350 "2018-01-06T02:49:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)\
发布日期： [2018 年1 月 6 日 02:49 UTC](https://meta.discourse.org/t/cant-restore-a-20gb-backup-on-a-60gb-digital-ocean-instance-fresh-discourse-install/77350/1 "2018-01-06T02:49:10Z")

</div>

So, I have a ~20GB backup.

When I try to restore it in a fresh Discourse install on a 60GB DigitalOcean droplet, the UI freezes, and it ends up with the following situation:

```plaintext
df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 396M 26M 370M 7% /run
/dev/vda1 58G 58G 0 100% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/vda15 105M 3.4M 102M 4% /boot/efi
/dev/sda1 246G 25G 209G 11% /mnt/volume-fra1-01-part1
overlay 58G 58G 0 100% /var/lib/docker/overlay2/1b169d3fb316ed26072c13336a9b260add686b548d856f4765560637907b4efd/merged
shm 64M 4.0K 64M 1% /var/lib/docker/containers/37cfaddc5a5466550d7e0471b16b70a5a7b0659dfb7f3e8753dabb0b6d885127/shm
tmpfs 396M 0 396M 0% /run/user/0

```

The UI stuck at “CREATE INDEX…”.

**My guess:**  
I remember Discourse first copying the backup file to the guest’s `/tmp`, then unzipping it, which literally means +20GB +20GB = +40GB files

Should not the backup file be unzipped somewhere in the backups folder directly (without copying to `/tmp`), as the backups folder can be mounted to a bigger drive. Also, what is the idea behind copying the backup file before unzipping it?

---

_[View the full topic](https://meta.discourse.org/t/cant-restore-a-20gb-backup-on-a-60gb-digital-ocean-instance-fresh-discourse-install/77350)._
