Which command line method is advised for restoring a Discourse forum?

There seems to be three suggested methods - which one is most suitable for a 3.5GB+ backup?

  1. Via Rails Console

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

  2. Via a Discourse Script

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

  3. Via 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.

2 Likes

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:

2 Likes