Restore Discourse from Terminal

Restore discourse from terminal

Preparing

copy the backup file to from old host

/var/discourse/shared/standalone/backups/default

to new host

/var/discourse/shared/standalone/backups/default

Restore

cd /var/discourse
./launcher enter app
discourse enable_restore
discourse restore juzhax-com-2021-03-21-043426-v20210315173137.tar.gz

Rebuild

cd /var/discourse
./launcher rebuild app

Tags:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.