shockli
Contributor
- Jan 29, 2016
- 243
- 194
- 111
Recently I have came across a few problems when I was moving over hosts for the past few months. We would take advantage of "new member" discounts with many hosting companies, but sometimes the extra money didn't feel worth the downtime.
So after months of experience in moving over a TeamSpeak 3 server, we have found an efficient way of doing this.
We use Archlinux x86_64 on our server, but all Linux distro's should work.
Pre-Setup:
You can skip this if you are using a cracked server license.
Split your user slots in half. You will need to do this to prevent problems with the accounting server.
Step 1:
Step 2:
Archive your server to make transfers smoother:
Verify your archive (Step 1):
- Remember this!
Copy your files over to your new server:
Verify your archive (Step 2):
If it matches the previous key then you are ready to go.
Extract your archive:
Step 3:
Now I know TS3DNS isn't very much liked but this is the one time you will need it.
Create a rule for tsdns:
Start TSDNS
Step 4:
Step 5:
Login via serverquery on your old server, and shutdown the server.
Everyone will now reconnect to their channel they were in on the new server.
Step 6:
So after months of experience in moving over a TeamSpeak 3 server, we have found an efficient way of doing this.
We use Archlinux x86_64 on our server, but all Linux distro's should work.
Pre-Setup:
You can skip this if you are using a cracked server license.
Split your user slots in half. You will need to do this to prevent problems with the accounting server.
Step 1:
- Make backups. Not only of your database, but everything.
- Make sure your backups are on a cloud server or other server.
- Always at least two backups, because there is a chance you will mess up, and (like me), overwrite your backup and maybe (like me) mess up again.
Step 2:
Archive your server to make transfers smoother:
Code:
tar -zcvf ts3-server-backup-2016-02-04.tar.gz /home/ts/ts3server
Code:
md5sum ts3-server-backup-2016-02-04.tar.gz
Copy your files over to your new server:
Code:
scp -r ./ts3-server-backup-2016-02-04.tar.gz [email protected]:/home/ts/
Code:
md5sum ts3-server-backup-2016-02-04.tar.gz
Extract your archive:
Code:
tar -xvzf ts3-server-backup-2016-02-04.tar.gz
Step 3:
Now I know TS3DNS isn't very much liked but this is the one time you will need it.
Create a rule for tsdns:
Code:
*=mynewserver:$PORT
Step 4:
- Start your TeamSpeak server on your new host
- Make sure you can connect
- If you are using a crack wait for about 2 hours
Step 5:
Login via serverquery on your old server, and shutdown the server.
Everyone will now reconnect to their channel they were in on the new server.
Step 6:
- Inform users of new IP
- Update your DNS (If you have one)
- Put a modalquit message on your old server with a new link to your server (for if all else fails!)
- Take the slots down to about 5 on your old server
Last edited: