Hello,
Why would you need the server id?
Like @Alexey Matveev said you should not need the server ID. Do a new install instead.
If you really must have your old server id then consider the steps:
The above makes sure confluence has the old server id again similar to when setting up a test instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.