Forum

Results 1 to 13 of 13
  1. #1
    Join Date
    May 2008
    Location
    New Mexico
    Posts
    43

    Backing up a server for a format

    Im having my dedi wiped and an up to date os installed on it and putting it back on. Same domain and npl.

    Is there anything special or minute I need to watch out for in the backup? Specially considering the npl I have.

    Sent from my SGH-T989 using Tapatalk 2

  2. #2
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,800
    Just save the whole teamspeak3-server_[os]-[arch] folder, zip or tar it. Then on the new installed extract it and make sure the permissions on the folders match the account you will be running it with.

  3. #3
    Join Date
    September 2013
    Location
    Germany
    Posts
    63
    Attention! If you use MySQL, you have to backup your database with mysqldump!

  4. #4
    Join Date
    October 2012
    Posts
    37

    How to backup/restore a teamspeak server

    Hello, I am about to transfer over to a new server. How do I back up all my server groups and channels so I can restore them on the new install?

  5. #5
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    SQLite: Copy Teamspeak's directory including all files and sub directories.
    MySQL: Copy Teamspeak's directory including all files and sub directories, dump the MySQL-DB of Teamspeak.

    In essense you need mostly the database (MySQL or the sqlite-file), but having all icons, avatars and other files comes in quite handy, so transfer directories also.

  6. #6
    Join Date
    October 2012
    Posts
    37
    Thanks for your reply Barungar. My knowledge is very limited however I think I am following you. First let me give you my specs then mention what I think you are saying. I am running linux centos using whm/cpanel/parallels virtual automation. What I think you are saying is I need to go to my file manager in my parallels control panel and navigate to my ts3 directory. Once in the ts3 directory I need to dwonload both the libts3db_mysql.so and libts3db_sqlite3.so files? I also have a folder named sql. In this folder i have many files such as ban_delete.sql, ban_insert.sql, channel_server_list.sql, etc.. maybe do i just need to download this swl folder with all the contents?

  7. #7
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Not quite... the essential file is the "ts3server.sqlitedb", the two files you mentioned are the database libraries teamspeak uses to interact with the databases. Also not unimportant are the files inside the "files" directory structure, here are the icons, avatars and files users have uploaded.

    The best is to transfer the whole ts3 directory from server A to server B...

  8. #8
    Join Date
    October 2012
    Posts
    37
    Ah i did not know you could do that. I will just download the entire directory then. Thanks!!

  9. #9
    Join Date
    October 2012
    Posts
    37
    Okay so I tried compressing the entire folder then send it remote server to remote server where I had another teamspeak installed. I then tried to extract it but it just freezes up and only extracts some of it. Any ideas?

  10. #10
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Two teamspeak servers on one server isn't normal usage. I'd call it advanced for hosters and so on.
    No... cause I don't know which compression you use and why you even compress it at all...

    I'd do something like:
    Code:
    scp -r /<dir>/teamspeak <user>@<targethost>:/<dir>
    Server connections are so fast and teamspeak usually so small that compressing, transfer and decompressing would take much to long.

  11. #11
    Join Date
    October 2012
    Posts
    37
    Okay so i tried transfering the entire directory and i tried doing a new install and only transfing the files directory and the sql db but when I do that the the client cant connect to the server. here are my logs

    2013-11-17 00:01:47.130025|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.10.1 (2013-11-08 11:09:56)
    2013-11-17 00:01:47.180974|INFO |ServerLibPriv | | SystemInformation: Linux 2.6.32-042stab078.27 #1 SMP Mon Jul 1 20:48:07 MSK 2013 x86_64 Binary: 32bit
    2013-11-17 00:01:47.215668|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2013-11-17 00:01:47.215733|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
    2013-11-17 00:01:47.216013|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2013-11-17 00:01:47.301744|INFO |SQL | | database updated successfully to revision: 21
    2013-11-17 00:01:47.303839|INFO |DatabaseQuery | | database busy, waiting for finishing index tasks, may take some time!
    2013-11-17 00:02:27.371511|INFO |SQL | | updated permissions to version 16
    2013-11-17 00:02:27.449328|INFO |SQL | | updated permissions to version 17
    2013-11-17 00:02:27.489210|INFO |SQL | | updated permissions to version 18
    2013-11-17 00:02:27.525406|INFO |SQL | | updated permissions to version 19
    2013-11-17 00:03:30.635732|ERROR | | | TS3ANetwork::Connect failed error: 110
    2013-11-17 00:03:30.635823|ERROR | | | Unable to connect to primary address, trying secondary
    2013-11-17 00:03:31.746432|ERROR | | | TS3ANetwork::ResolveHostName failed error: -2 (Name or service not known) 0
    2013-11-17 00:03:31.768193|ERROR |Accounting | | Unable to connect to accounting server
    2013-11-17 00:03:31.768268|INFO |Accounting | | Licensing Information
    2013-11-17 00:03:31.768301|INFO |Accounting | | type : Non-profit
    2013-11-17 00:03:31.768364|INFO |Accounting | | starting date : Thu Oct 3 00:00:00 2013
    2013-11-17 00:03:31.768400|INFO |Accounting | | ending date : Sun Apr 6 00:00:00 2014
    2013-11-17 00:03:31.768429|INFO |Accounting | | max virtualservers: 10
    2013-11-17 00:03:31.768458|INFO |Accounting | | max slots : 512
    2013-11-17 00:03:37.762883|INFO | | | Puzzle precompute time: 5833
    2013-11-17 00:03:37.780287|INFO |FileManager | | listening on 0.0.0.0:30033
    2013-11-17 00:03:38.150117|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
    2013-11-17 00:03:38.151306|INFO |Query | | listening on 0.0.0.0:10011
    2013-11-17 00:04:41.233674|ERROR | | | TS3ANetwork::Connect failed error: 110
    2013-11-17 00:04:41.233752|ERROR | | | Unable to connect to primary address, trying secondary
    2013-11-17 00:04:41.252213|ERROR | | | TS3ANetwork::ResolveHostName failed error: -2 (Name or service not known) 0
    2013-11-17 00:06:18.375656|INFO |ServerMain | | Received signal SIGTERM, shutting down.

  12. #12
    Join Date
    October 2012
    Posts
    37
    2013-11-16 23:45:53.932201|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.10.1 (2013-11-08 11:09:56)
    2013-11-16 23:45:53.932345|INFO |ServerLibPriv | | SystemInformation: Linux 2.6.32-042stab078.27 #1 SMP Mon Jul 1 20:48:07 MSK 2013 x86_64 Binary: 32bit
    2013-11-16 23:45:53.933533|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2013-11-16 23:45:53.933584|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
    2013-11-16 23:45:53.933971|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2013-11-16 23:45:53.964228|INFO |SQL | | db_CreateTables() tables created
    2013-11-16 23:45:54.155340|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality
    2013-11-16 23:45:59.175173|INFO | | | Puzzle precompute time: 5010
    2013-11-16 23:45:59.175627|INFO |FileManager | | listening on 0.0.0.0:30033
    2013-11-16 23:45:59.179791|INFO |VirtualSvrMgr | | executing monthly interval
    2013-11-16 23:45:59.179916|INFO |VirtualSvrMgr | | reset virtualserver traffic statistics
    2013-11-16 23:45:59.439393|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
    2013-11-16 23:45:59.440241|INFO |Query | | listening on 0.0.0.0:10011
    2013-11-16 23:50:59.299969|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:50:59.300066|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:51:01.002603|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:51:01.002739|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:51:03.005557|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:51:03.005659|ERROR | | | TS3ANetwork::Send failed error: 1
    2013-11-16 23:54:56.202442|INFO |ServerMain | | Received signal SIGTERM, shutting down.

  13. #13
    Join Date
    March 2008
    Location
    Leipzig/Germany
    Posts
    32
    It looks like you forgot to amend the IP address in your config, after transfering everything. The other thing to check would be your firewall for port blocking.
    Last edited by HigH_HawK; January 2nd, 2014 at 08:20 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TS3 Backup and Restore Tool
    By senaris in forum Tools / Web Based
    Replies: 0
    Last Post: January 1st, 2015, 05:09 PM
  2. Can I restore my Server from my backup?
    By https in forum Server Support
    Replies: 5
    Last Post: December 28th, 2013, 06:24 PM
  3. Backup and restore
    By black123 in forum Linux / FreeBSD
    Replies: 2
    Last Post: September 8th, 2013, 05:31 AM
  4. Restore channel backup
    By Creativeee in forum Tools / Web Based
    Replies: 1
    Last Post: November 27th, 2011, 09:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •