[SOLVED] Migrating server from rinkeby to goerli

Is there a smooth and ‘easy’ way to migrate my testnet server from rinkeby to goerli?

It’s my demo server with everything set up nicely. Do I have to create a new server and migrate all non chain related data by hand?

Or can some admin add goerli to and existing server? Once you start a server, you cannot change the chosen networks.
This question is also very valid for my live server, since I might plan to add an additional chain in the future.

you can not add a new chain now to your current server?

yes, I remember, you can not another chain on eth.

i see, so i guess an admin can also not do it?
verdict: start from scratch again?

what is that you need to move? the database, you can dump it and load it on another server

yes mainly database, security settings, config entries. How to I dump and load?

you can connect directly to the database, you have to whitelist your IP

https://v1docs.moralis.io/moralis-dapp/database/direct_access

after you connect, you can do a dump and load it on another server

I was able to migrate all data and settings using mongodump and mongorestore. I used the tool https://studio3t.com for this but mongo cli would work the same.

1 Like