ما هي طريقة سطر الأوامر الموصى بها لاستعادة منتدى Discourse؟

يبدو أن هناك ثلاث طرق مقترحة - أيهما الأنسب لنسخة احتياطية بحجم 3.5 جيجابايت أو أكثر؟

  1. عبر وحدة تحكم Rails

    https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721/19

  2. عبر سكريبت Discourse

    https://meta.discourse.org/t/is-there-any-way-to-restore-your-site-from-backup-in-the-terminal/42377/2

  3. عبر أداة Discourse ./launcher

    https://meta.discourse.org/t/is-there-any-way-to-restore-your-site-from-backup-in-the-terminal/42377/9

Those two should be pretty much equivalent nowadays. I think method #2 didn’t exist yet when I wrote the post about method #1 almost 2.5 years ago.

I’ve added a third option to the list - and this is the one I used on a test run. (Easy enough to do but also, unlike the script, this method lets you choose which Discourse forum you want to restore to.)

Edit: I used option 3 for the actual restore, and am pleased to report it worked without any errors :+1: