Why are Digital Ocean Discourse snapshots so large?

I just noticed that the snapshots I have taken of Discourse forums hosted on Digital Ocean droplets are over 10GB each. And these are forums that have zero posts or users (I created the forums, took snapshots and then destroyed the droplets).

This might be a stupid question, but why are they so large?

A digital Ocean snapshot will always be the size of the disk. And that is a server provider feature, it has nothing to do with Discourse.

If you want to preserve Discourse state in a smaller file, use the Discourse backups, available in the admin panel.

Remember that the 1GB install includes a 2GB swap, so you’re snapshotting OS+Discourse+Swapfile.

Why are you taking a snapshot though?

I don’t need the forum online at the moment so I destroyed the droplet to save money. I created the snapshot so I could easily recreate the droplet when I want to put the forum back online. Is there a better way to do this?

Admin - Backups - Backup - Download

Store it in a safe place
…

Create new forum
Admin - Settings - Enable restore
Admin - Backups - Upload - Restore

@michaeld 이 작업을 수행할 때, 복원 전에 DNS 설정을 업데이트해야 하는 것이 있나요?

네라고 말하겠습니다. 그렇지 않으면 복원 과정에서 호스트명이 포럼의 임시 URL로 다시 작성됩니다.

대안으로, 복원 후 나중에 변경할 수도 있습니다(다운타임이 적음). 그리고 복원 후 URL을 원래 주소로 다시 매핑하면 됩니다.