Community Forums Today's Posts     Member List     Archive    
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2002
    Location
    Gig Harbor, WA, USA
    Posts
    129

    Question update/backup server.db from script

    TeamSpeak server does not save any changes to disk until it is closed down properly. Thus, the only way to back-up your server database (for a backup server) is to restart the TeamSpeak server first to save changes. You can't simply copy the server.db file because it will not be current.

    So far, I see no solution to make scheduled backups because the TS server has to be manually restarted.

    It would greatly benefit the community if someone could make a script to properly shut down and restart the server to commit changes to disk. It seems the only ways of doing this from remote is via telnet (preferable), or the web interface (less prefarable).

    Lightning strikes, servers crash, routes get broken, etc. There must be a way to make automatic backups.

    Help Anyone?

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5
    Looks like a work around rather than a solution really, but best to be hped for at the moment.
    Will try this out, but keeping fingers crossed for a appbased solution soon.

  3. #3
    Join Date
    Aug 2002
    Location
    Gig Harbor, WA, USA
    Posts
    129
    Found a telnet scripter and scheduler. http://www.hiteksoftware.com/mize/in...ndows/mize.exe

    Pretty archaic program but it will work. Got a script that will reset the server every day from telnet to save the rooms. For some reason it seems that a change in the rooms has to sit for a couple of hours before it will stick. I download the server.db file, and most rooms were restored, but a few weren't. The third reset and download got all the remaining changes in the server.db file. Wierd little bug, but the system works.

    Heres some more good news. Since the server.db file is only read when the server starts it can be overwritten while the server is running. If you overwrite your old server.db with a new one, you want to kill the server process; not shut it down properly. This will prevent the server from overwriting your new server.db file. Restart the process normally and the new data will take effect.

    Hope this helps all of you who want an automatic backup server.

  4. #4
    Join Date
    Sep 2002
    Location
    Seattle, WA
    Posts
    41
    Thanks! This is very helpful.

    I request in the future that both client and server is given a button somewhere so we can save changes without having to shut down this awesome product.

  5. #5
    Join Date
    Aug 2002
    Location
    Gig Harbor, WA, USA
    Posts
    129

    Talking Smaller scripter

    Even better! Single EXE file that runs a plain text script.

    Unzip the attached file into its own folder. Edit the TSreset.txt file with your settings. Run or schedule the shortcut.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New Teamspeak Query script for php: Teamspeak Display
    By MrGuide@NL in forum [TeamSpeak 2] Addons & Scripts
    Replies: 347
    Last Post: 06-08-2010, 17:17
  2. Script without MySQL-DB
    By TR-13 in forum [TeamSpeak 2] Addons & Scripts
    Replies: 21
    Last Post: 19-06-2009, 20:38
  3. Earn money to make a costum Script! GER/ENG
    By Skiller in forum [TeamSpeak 2] Addons & Scripts
    Replies: 6
    Last Post: 21-01-2007, 13:04
  4. Tx perl auto idlekick script setup question.
    By lakosked in forum [TeamSpeak 2] Addons & Scripts
    Replies: 2
    Last Post: 20-02-2006, 18:19
  5. [start script] shell script for crontab
    By grizwald in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 24-11-2004, 10:59

Posting Permissions

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