Forum

Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 50
  1. #31
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    is the script executeable? try chmod 700 putsnapshot.sh

  2. #32
    Join Date
    November 2013
    Posts
    7
    Quote Originally Posted by Barungar View Post
    is the script executeable? try chmod 700 putsnapshot.sh
    thank you man! I solved my problem

  3. #33
    Join Date
    August 2012
    Posts
    45
    Is there a way how to make this scrip automatic (It would create snapshot for e.g. every hour?).

  4. #34
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Quote Originally Posted by BL3ND View Post
    Is there a way how to make this scrip automatic (It would create snapshot for e.g. every hour?).
    ???

    You can always put a line in your cron tab, then the script can be executed by cron on schedule.

  5. #35
    Join Date
    December 2010
    Location
    earth
    Posts
    35
    How do I fix this?

    Code:
    $ pullsnapshot.sh admin ******** ts.servername.com 10011 snapshot.txt 143
    Invalid number of lines from snapshot retrieval, aborting
    View snapshot.txt for details
    Code:
    TS3
    TS3
    Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.
    error id=0 msg=ok
    error id=0 msg=ok
    error id=2568 msg=insufficient\sclient\spermissions failed_permid=45
    error id=0 msg=ok

  6. #36
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,340
    You are using a voice account with limited permissions (admin). You must use the account called serveradmin which has the missing b_virtualserver_snapshot_create.

  7. #37
    Join Date
    December 2011
    Location
    The Netherlands
    Posts
    9
    This script doesn't work for me, I am using CentOS 6.5.

    [[email protected] teamspeak3-server_linux-amd64]# pullsnapshot.sh serveradmin (password removed) (host removed) 10011 sid_1.txt 1
    -bash: pullsnapshot.sh: command not found
    After I executed the command I get a empty file baned sid_1.txt. What now?

  8. #38
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,340
    Do you know how to run programs on linux? You must use the "./" prefix.

  9. #39
    Join Date
    August 2012
    Posts
    45
    Hi I would like ask If somebody alredy tried to add this to the cron?

  10. #40
    Join Date
    May 2013
    Posts
    6

    Restore Teamspeak Backup (TXT File)

    My old host gave me a TXT file to restore the backup on our server but I have no idea how to do so.

    Anyone have an idea/

    Thank You
    Last edited by dante696; July 15th, 2014 at 07:16 AM. Reason: merged

  11. #41
    Join Date
    August 2015
    Posts
    1

    re

    this is very nice

  12. #42
    Join Date
    December 2013
    Posts
    11

    similar script

    I didn't see this so I wrote my own.. Posted here:
    http://forum.teamspeak.com/showthrea...p-ts3-settings

    It works a bit differently in that it logs the output sequentially and stores the password in a file.

  13. #43
    Join Date
    April 2014
    Posts
    30
    Although this thread is quite old, I still have a suggestion to add

    Code:
    command -v nc >/dev/null 2>&1 || error_netcat="1"
    if [[ $error_netcat -eq 1 ]]
    	then
    	printf >&2 "Netcat is not installed, but required, please install it.\n"
    exit 1
    fi
    Basically, this checks, whether netcat is installed. This is just gonna prevent some errors - when I started it the first time I was wondering about the "nc" not found stuff

  14. #44
    Join Date
    March 2016
    Posts
    2
    I cant find this putsnapshot.sh anywhere, so yeah if anyone could re upload it or something would appreciate it

  15. #45
    Join Date
    June 2008
    Posts
    18,003
    The file does not exist and never was uploaded here.

    Copy the pullsnapshot.sh and rename it and then replace output_file=snapshot.txt with input_file=snapshot.txt.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating Helper tag Ect
    By Toasty1 in forum Permission System
    Replies: 0
    Last Post: January 2nd, 2016, 08:52 PM
  2. Using Snapshot scripts for daily backup ?
    By Ahmed in forum Server Support
    Replies: 9
    Last Post: February 11th, 2015, 11:50 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
  •