Backup your server instance or migrate onto a new location

This thread will explain how create a backup of your current server instance and all of it’s files.
And you will see which files are needed to migrate/move your server to a new location / machine.

A simplified version exists in our FAQ but we like to offer you a step by step guide.

Fowling steps are an universal solution for every Operation System.
It does not matter if you move from Linux to Windows or to Mac OS etc.

  1. Stop the current server instance (Do not kill it! Or else you will not be able to start your new server for the next 2-3 hours!)
Shutdown your server instance (Expand to get a how to for your operation system)
  • These are official supported ways. to shutdown the whole server.
    All ways will shutdown the whole instance and will report, that slots are not used anymore.```
* All operation systems:
In the ServerQuery interface you can enter the command `serverprocessstop`

* Linux/FreeBSD shell:
The command `./ts3server_startscript.sh` stop if your server was started with `./ts3server_startscript.sh start`

* Windows:
Right-click into the Server Tray Icon -> Then press `Exit`
  1. Download the latest server from our website and install the new ts server on your target machine.
  • Don’t use a Root / Admin account for the installation!
  1. Copy following files to the target machine:
.ts3server_license_accepted
licensekey.dat
query_ip_blacklist.txt
query_ip_whitelist.txt
serverkey.dat
ts3server.ini
ts3db_mariaDB.ini
ts3server.sqlitedb
  • In case of MariaDB do not forget to move your server database to the new server.
  • It could be that not all listed files do exist on your machine. Don’t worry about that :smiley:
  1. Copy following folders to the target machine:
files
logs
  1. Start the server on new location or machine.

  • Keep your backup from Step 3 (and 4 if you like). It’s always good to have a backup.
  • Do not use this How-to to make a running copy of your current server. That’s not supported. Copies will deny to start or will shutdown on their own.

The topic in this thread is all about making a backup of the server or move it to a new location.
Every Off-topic posts won’t get any answer or will be removed from this thread.

Please search for the topic in our forum first and create a thread for your problem in case you could not find any related topic or answer.

26 Likes

Nice post, I’m sure it will be really usefull for many community managers.

9 Likes

So, i copied all files from the “old” machine to the new one and started the server but now i dont have admin rights. What am i doing wrong or is there any way to regain server admin?

3 Likes

In that case you missed the server database or you use another identity on that new server.

7 Likes

Hi people. How can i transfer Win server to linux?

2 Likes

First download https://yat.qa/ and login with serveradmin to your server. Then do a snapshot of your server. Next login to your fresh installed teamspeak server on your linux machine. There you just upload the snapshot.

2 Likes

It`s work, thank for help:)

1 Like

With a snapshot only one server and it’s users, channels and permissions is transferred.
You will miss all uploaded files files as an example.

When you have access to both machines we suggest you to move all following to the new one.

5 Likes

2 posts were merged into an existing topic: Update / Upgrade a server

Hey i accidentally downloaded a 32bit server i have done so much work on it and i want to use 64bit how can i change? I am just really stressed out

1 Like

Just follow this how to in post 1 and nothing will be lost.

4 Likes

Hey,
I have a backup of my old ubuntu server teamspeak. Due to technical problems related to another application I had to set up my server from scratch. When I restored my backup and tried to start the server it did not work so I tried a fresh install and just restored the ts3server.sqlitedb, files and logs folders.

When starting the server it actually starts up, but is asking me for a ServerAdmin privilege key (neither my old nor the new one works) and nothing is restored, not the channel nor the server groups and everything.

Anything I’m doing wrong here or any advise on how to proceed?

1 Like

My guess:

You placed the the ts3server.sqlitedb on wrong location or the database you did backup has a wrong state when you made a backup.

4 Likes

It’s definitely at the right place but the database could be corrupt. There was a problem after updating the server a couple of months ago and I didn’t try to fix it until now. Too bad, took us some time to build this server, but then we’ll just start over again.

Thanks anyway!

1 Like

Hey guys,
Since the OHV fire I think it’s time to do some offsite backups. I’m still waiting to get my files of the ts3 server back but I think they are untouched by the fire but still offline.
That said, I want to do some daily backups and I was wondering if there is a way to backup the TS3 server WITHOUT turning it off and kicking all the users. If not that would be a problem to me because some user just stays online 24/7 and even upgrading the server for me is a problem.
I hope you can give me some good news/tips for backing up the running server.
Thanks in advance

Totten98

1 Like

No this is not supported.
The database is not always complete and part is still in RAM.

In that case a regularly backup where server is turned off for some seconds is the best way for protection.

4 Likes

So it’s better for me to do weekly backups instead of daily?

1 Like

Depends on how you like it best

Weekly is better than monthly
Daily is better than weekly
Hourly is better than daily

:slight_smile:

6 Likes

Got it. Thanks you as always :stuck_out_tongue:

1 Like