The discussion revolves around the large size of Digital Ocean snapshots for Discourse forums. DonaldH noticed that his snapshots were over 10GB, despite having no posts or users. Falco explained that Digital Ocean snapshots are the size of the disk, which includes the OS, Discourse, and swap file. He recommended using Discourse backups instead for preserving the state in a smaller file.
Stephen added that the 1GB install includes a 2GB swap, contributing to the large snapshot size. DonaldH revealed that he took the snapshot to easily recreate the droplet when needed, but was looking for a better method.
Michaeld suggested downloading the Discourse backup, storing it safely, and restoring it when needed. ZachS asked if DNS settings need to be updated before restoring, and michaeld advised that it’s necessary to avoid rewriting the hostname to a temporary URL.
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?
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?