Community Forums Today's Posts     Member List     Archive    
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Dec 2009
    Location
    Omaha, Nebraska
    Posts
    3

    Exclamation Help useing a few query commands

    ok so i have a few questions i understand how to login and use server query along with some of the commands move kick ext. but i dont understand how to use
    serversnapshotcreate
    and serversnapshotdeploy
    could some one please explain

    also is there something better i can use to send server commands because when i use ts3's built in server query i have to create the command line and run it is there something more like ts2s remote admin client or something that all i have to do is login and use commands? thanks for the help guys

  2. #2
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    Quote Originally Posted by x1donut View Post
    ...also is there something better i can use to send server commands because when i use ts3's built in server query i have to create the command line and run it is there something more like ts2s remote admin client or something that all i have to do is login and use commands? thanks for the help guys
    Maybe you can use a remoteprogramm on which you can save scripts like ts3 queryadmin. You have to join TS3-Server to use ServerQueryAdmin. If you use only a telnet client you need no rights, only the serveradmin login and the queryport thats the different. I don't know, but i think there lots of remote telnet tools with scriptfunction. I'm also searching for it.

    Please explain ^^
    Quote Originally Posted by x1donut View Post
    ok so i have a few questions i understand how to login and use server query along with some of the commands move kick ext. but i dont understand how to use
    serversnapshotcreate
    and serversnapshotdeploy
    could some one please explain

  3. #3
    Join Date
    Dec 2009
    Location
    Omaha, Nebraska
    Posts
    3

    well

    i mean how do you use those 2 commands
    serversnapshotcreate
    and serversnapshotdeploy
    what would be the command line to properly use them and execute them so that i can back up my channels and restore them along with all permissions
    i know you can use the command insted of just makeing a backup of the server db any ideas and mabe a screen shot

  4. #4
    Join Date
    Dec 2009
    Location
    Europe
    Posts
    184
    From doc/ts3_serverquery_manual.pdf

    SERVERSNAPSHOTCREATE
    Displays a snapshot of the selected virtual server containing all settings, groups and known client identities.
    The data from a server snapshot can be used to restore a virtual servers configuration, channels and permissions using the serversnapshotdeploy command.

    Permissions:
    b_virtualserver_snapshot_create

    Syntax:
    serversnapshotcreate

    Example:
    serversnapshotcreate
    hash=bnTd2E1kNITHjJYRCFjgbKKO5P8=|virtualserver_un ique_identifier=zrPkjznB1tMnRwj01xx7RxXjqeY=
    virtualserver_name=TeamSpeak\s]I[\sServer …
    error id=0 msg=ok


    SERVERSNAPSHOTDEPLOY
    Restores the selected virtual servers configuration using the data from a previously created server snapshot.
    Please note that the TeamSpeak 3 Server does NOT check for necessary permissions while deploying a snapshot so the command could be abused to gain additional privileges.

    Permissions:
    b_virtualserver_snapshot_deploy

    Syntax:
    serversnapshotdeploy virtualserver_snapshot

    Example:
    serversnapshotdeploy hash=bnTd2E1kNITHjJYRCFjgbKKO5P8=|virtualserver_un ique_identifier=zrPkjznB1tMnRwj01xx7RxXjq= … error id=0 msg=ok
    As far as I understand it, the command serversnapshotcreate does not take any parameter. A unique hash identifier will be created when you use the serversnapshotcreate. The hash will be printed to the command line. You have to store this hash somewhere because you will need it for restoring the snapshot.

    For deploying, you have to use the hash of the snapshot that shall be deployed. Its usage is serversnapshotdeploy HASH.

    If you do not know how to use a command, use
    help command
    as serverquery. You will receive a help descritption as answer to this serverquery.

  5. #5
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    That's an amazing command, it saves channels also? Short discription you can copy and backup virtualservers?
    Is that right or i understand that wrong?

  6. #6
    Join Date
    Dec 2009
    Location
    Europe
    Posts
    184
    As far as I understand it:

    Yes, you can make a backup of a server.
    No, you cannot copy server configurations onto a different server, i.e. you cannot duplicate a server configuration and re-use it on a different virtual server. You can only restore a backup to the same server.

  7. #7
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    Ah ok it's only a system restore like windows? the status of this snapshot is always available on database?

  8. #8
    Join Date
    Dec 2009
    Location
    Europe
    Posts
    184
    Yes, as far as I can see.

  9. #9
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    16
    I've read this in the documentation as well, but perhaps you may know:

    Is the deploy function version specific? Perhaps I can create a snapshot, upgrade to beta 10 and deploy my beta 9 settings?

  10. #10
    Join Date
    Dec 2009
    Location
    Europe
    Posts
    184
    You can do this without the serversnapshot function. Just backup the ts3server.sqlitedb database file. (I.e. stop server, copy ts3server.sqlitedb to a different directory, install new server, copy ts3server.sqlitedb back into the new server directory).

    The database structure did not change during the last few Beta versions. So there was no need to restart from a blank database. If there would be a change of the database structure, I believe, that then the serversnapshot would not be working either.

    As far as I could test, the serversnapshot is not stored in an external file, but in the database. So it's merely a help on setting a restore point when wanting to test (mess around with) the server/permission/group configurations.

  11. #11
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    Someone finished a serversnapshotdeploy hash=bnTd2E1kNITHjJYRCFjgbKKO5P8=|virtualserver_un ique_identifier=zrPkjznB1tMnRwj01xx7RxXjq= … with error id=0 msg=ok?

    I got always an error... you have to copy the full hash log after serversnapshotdeploy? It does't work

  12. #12
    Join Date
    Dec 2009
    Location
    Europe
    Posts
    184
    When you create a serversnapshot on your server, you will get a different hash and a different virtualserver_unique_identifier. You have to use those instead of the ones that are given in the examples.

    In my case, there was in fact so many information printed to the telnet terminal that I could not scroll up to the position where the hash and the virtualserver_unique_identifier were printed to the screen. In PuTTY, I had to enable session logging to file in order to store that information.

    Be aware of the additional blank that was wrongly inserted in "virtualserver_un ique_identifier" when I copied the description from the PDF manual. If you (mis)type it as it was shown in my post, then you will get an error.

  13. #13
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    ^^ no I used my own virtualserver_unique_identifier but i got an error
    error id=0 msg=ok (3 ms)
    error id=516 msg=invalid\sclient\stype (860 ms)
    Total: 863 ms

    use 1
    serversnapshotdeploy hash=S4mtiop1I0odmSOV3VeJYAQwJG8=......|end_flat|e nd_permissions

  14. #14
    Join Date
    Dec 2009
    Location
    Omaha, Nebraska
    Posts
    3

    Error

    well i think that is because u have notloged into server query admin or had the command use sid=1 befor the actual script i may be wrong however

  15. #15
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    30
    x1donut you finished a serversnapshotdeploy successfully? Please write step by step your practice. With all logs

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. BUG? Repeated query client connect/diconnect
    By HHD_HELLBOUND in forum Bug Reports
    Replies: 5
    Last Post: 09-02-2012, 08:04
  2. Server Query and Admin Group Questions
    By Fearmaster in forum Permission System
    Replies: 8
    Last Post: 20-02-2010, 22:09
  3. Problem mit User-Registration
    By ragnatz in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 22-06-2006, 08:37
  4. TCP Query commands
    By Jammet in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 25-10-2002, 18:00

Posting Permissions

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