Tutorial Auto snapshot TeamSpeak 5 Days ⚡️ Script for TS3 SERVER

U

User_51885

Hi all the worlds!
I present you a script that I just created using the Forum TeamSpeak3 which allows to make safe your server every 5 days


Git Hub Projet https://github.com/BadySmith/Auto-Snapshot-TeamSpeak

Requirement :

1 - Server TeamSpeak Query access Server Admin
2 - System Server Debian/Ubuntu


Install SCRIPT :

Command 1 sudo apt-get install unzip
Command 2 cd /opt/
Command 3 wget https://github.com/BadySmith/Auto-Snapshot-TeamSpeak/archive/master.zip

Error to Download script sudo apt-get install curl && curl -O https://github.com/BadySmith/Auto-Snapshot-TeamSpeak/archive/master.zip

Command 4 unzip master.zip
Command 5 mv Auto-Snapshot-TeamSpeak-master backupteamspeak
Command 6 rm master.zip
Command 7 cd /backupteamspeak/scripts

Edit files config.sh by Edit txt Program :
Command 8 vim config.sh

Config for Script :

1 indicator :

Script ↓---------------------- User ↓-------Passwd ↓----Server Adresse ↓---QueryPort ↓----SafeName ↓---↓ ID Server TeamSpeak
68747470733a2f2f696d6167652e6e6f656c736861636b2e636f6d2f66696368696572732f323031382f31392f312f313532353731303933352d636170747572652e706e67


2 Exemple Config :

68747470733a2f2f696d6167652e6e6f656c736861636b2e636f6d2f66696368696572732f323031382f31392f312f313532353731303739382d636170747572652e706e67

Safe you config

Command 9 chmod 777 start.sh
Command 10 ./start.sh start

All Command :

./start.sh start
./start.sh stop
./start.sh status

Check folder safe's
cd /opt/backupteamspeak/backup/



Finish, Thanks for reading my post and hope this helped you! ;)
 
Last edited by a moderator:

zelek

Member
Oct 1, 2016
18
4
38
will you do it to copy the ts3sqlite.db file?
snapshot is crappy because connections to the server are removed
 
U

User_51885

Updated for erreur client move snapchot for Windows fia Client FTP
 

Mr-Malone

You risk and you will win
Sep 11, 2015
69
25
108
From what I noticed, your script after completing ~ sleep ~ about 5 days, fails to make a new backup to the server, as there is already a backup with that name.
You should also include at least one current date parameter to distinguish backups between them.
 
Top