Warum sind Digital Ocean Discourse-Snapshots so groß?

Ich habe gerade festgestellt, dass die Snapshots, die ich von Discourse-Foren auf Digital Ocean Droplets erstellt habe, jeweils über 10 GB groß sind. Dabei handelt es sich um Foren ohne einzige Veröffentlichung oder Nutzer (ich habe die Foren erstellt, Snapshots gemacht und anschließend die Droplets zerstört).

Das mag eine dumme Frage sein, aber warum sind sie so groß?

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 Müssen bei diesem Vorgang vor der Wiederherstellung DNS-Einstellungen aktualisiert werden?

Ich würde ja sagen, denn sonst überschreibt die Wiederherstellung deinen Hostnamen mit der temporären URL deines Forums.

Alternativ könntest du ihn danach ändern (weniger Ausfallzeit) und die URL nach der Wiederherstellung wieder auf die ursprüngliche umleiten.