Results 1 to 5 of 5
-
04-09-2002, 05:39 #1
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?
-
04-09-2002, 14:30 #2
-= TeamSpeak User =-
- 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.
-
06-09-2002, 17:51 #3
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.
-
07-09-2002, 16:18 #4
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.
-
21-10-2002, 23:07 #5
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
New Teamspeak Query script for php: Teamspeak Display
By MrGuide@NL in forum [TeamSpeak 2] Addons & ScriptsReplies: 347Last Post: 06-08-2010, 17:17 -
Script without MySQL-DB
By TR-13 in forum [TeamSpeak 2] Addons & ScriptsReplies: 21Last Post: 19-06-2009, 20:38 -
Earn money to make a costum Script! GER/ENG
By Skiller in forum [TeamSpeak 2] Addons & ScriptsReplies: 6Last Post: 21-01-2007, 13:04 -
Tx perl auto idlekick script setup question.
By lakosked in forum [TeamSpeak 2] Addons & ScriptsReplies: 2Last Post: 20-02-2006, 18:19 -
[start script] shell script for crontab
By grizwald in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 24-11-2004, 10:59




Reply With Quote
