لماذا تكون لقطات Discourse من Digital Ocean كبيرة جدًا؟

لقد لاحظت للتو أن لقطات الشاشة التي التقطتها لمنتديات Discourse المستضافة على خوادم Digital Ocean تتجاوز 10 جيجابايت لكل منها. وهذه منتديات ليس لديها أي مشاركات أو مستخدمين (لقد أنشأت المنتديات، ثم التقطت لقطات الشاشة، ثم دمّرت الخوادم).

قد يكون هذا سؤالاً غبياً، لكن لماذا تكون这么大 بهذا الحجم؟

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 إلى الأصل بعد عملية الاستعادة.