Quelle méthode en ligne de commande est recommandée pour restaurer un forum Discourse ?

Il semble qu’il existe trois méthodes recommandées — laquelle est la plus adaptée pour une sauvegarde de plus de 3,5 Go ?

  1. Via la console Rails

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

  2. Via un script Discourse

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

  3. Via l’outil ./launcher de Discourse

    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: