我刚刚注意到,我在 Digital Ocean 实例上为 Discourse 论坛创建的快照每个都超过 10GB。而这些论坛实际上没有任何帖子或用户(我创建了论坛,创建了快照,然后销毁了实例)。
这可能是一个愚蠢的问题,但它们为什么这么大?
我刚刚注意到,我在 Digital Ocean 实例上为 Discourse 论坛创建的快照每个都超过 10GB。而这些论坛实际上没有任何帖子或用户(我创建了论坛,创建了快照,然后销毁了实例)。
这可能是一个愚蠢的问题,但它们为什么这么大?
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 重新映射回原始地址。