# 为何我有 5.8G 空间，但重建时提示空间不足

**URL:** <https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881>\
**Category:** Self-hosting\
**Created:** [2019 年2 月 23 日 04:44 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881 "2019-02-23T04:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

作者： ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
发布日期： [2019 年5 月 14 日 06:07 UTC](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881/12 "2019-05-14T06:07:50Z")

</div>

I found the true answer.

The discourse won’t consume this much space, unlike most of the answers stated.

I’ve bought another VPS which have 40G of space and moved the system to that server.I found it only needs 9G rather than the previous 14G, so the previous 20G server is actually quite enough for this forum.

That is because the old server has lasted for 3 years or more and a lot of packages that you never need any more or other files that you will not need any more are still there. So the best choice is just download the backup file, reinstall the Ubuntu system of that server and reinstall discourse and restore the backup file again. The process takes about 2 hours I think, depends on the net speed.

---

_[View the full topic](https://meta.discourse.org/t/why-i-have-5-8g-space-but-when-rebuilding-space-is-not-enough/109881)._
