Oh nice, have you any traffic Spikes tested? How would you scale if you need to? 1 extra Server with the same specs?
Is my server migration process OK?
When doing a server migration, I noticed that some parts needed special care, so I'm asking you guys if I'm not missing something with my server migration process which is:
- Clone NodeBB from github on the new server
- Install dependencies with npm
- Copy database from old server (I use Mongodb)
- Re-install plugins, I had to do this manually, I did
ls -nl node_modules/ | grep node-pluginon the old server then re-installed those plugins in the new server.
- Copy uploads.
That should be ok. Depending on whether you're on
masterbranch or not, the underlying core codebase may have changed, so you may want to take care to
git resetto the specific hash you were on prior to the migration.
I also just tend to use
public/uploads/, as that will make sure both directories are exactly the same, but you don't have to do that.
@julian Great tips here, thanks.