I have just moved my Graylog from one ubuntu installation to another. I followed this guide
Four main things to do
- Data base dump / export
- Export / copy graylog config file to new server
- Export / copy node_id_file to the new server
- Date base import
Also if your using TLS dont forget to import your certs to the java key store.
I found, as the default installation has the sidecar user already I had to delete it and re-import again so I didn’t lose all my authentication tokens, I also had to add the admin role back to my admin users.
Export / dump command used
mongodump --db graylog --out /home/username/graylog_backup
Restore command used
sudo mongorestore /home/username/graylog_backup
Good luck