Teamspeak 3 Server Automatic Backup Script

Tayyab Khan

Active Member
Feb 12, 2016
17
3
93
Hi I Want To Know That there is any script which will automatically backup Ts3 server ??
if anyone have it plss reply !!!!
 

0x0539

Retired Staff
Contributor
Jan 30, 2016
1,334
1,146
254
I was also trying to search for one but couldn't find any.

You can back-up manually using YaTQA or Psychokillers webinterface daily, It takes like ~30 seconds really.
But I know you'll prefer an automated script because.. lazy
Someone-Called-Me-Lazy-Yesterday-Funny-Meme-Image.jpeg
 

Agusanz

Active Member
Jul 18, 2015
239
148
88
1- Type: sudo apt-get install zip
2- Type: nano BackUp.sh
3- Paste this code: https://gist.github.com/6105802772dcdc895c7e
4- Type: sudo chmod +x BackUp.sh
5- Type: crontab -e
and paste this:
*/60 * * * * /home/agusanz/./BackUp.sh > /dev/null
it will backup ur server files each 60 minutes.. you can use another thing to upload to anocher service like dropbox or just download the file.. your choice..

Change the cron directory since ur user it's not "agusanz"

Edit: Yeah i know, my bash script could not be posted for some reason.. i pasted into my gist..
Sorry about it
 
Last edited:

Agusanz

Active Member
Jul 18, 2015
239
148
88
lol, that is still on my list^^.

I do have "advanced" backup scripts on my server.

I will rewrite them for the public and make them a bit nicer. I think I'll post them on the weekend or so :D
If I dont - remind me^^
Nice one..
i usually zip everything and upload it to GoogleDrive.. yea... lazy way
if you have many files then u need to work a little bit more on it :eek:
 
Top