1

[Request] Backup Script

MachoMancha 6/16/14 12:06 am
133
6/16/2014 10:14 am
Hello, I have a dedicated CentOS 6.5 server that runs the Tekkit modpack on MCPC+. Although some of that information is irrelevant, it's some background. I am already using Remote Toolkit for scheduled restarts, however it lacks automated backups. That's why I've recently been in search for a smooth scheduled backup script. The only feature I really need it to have is a scheduled backup routine, I can manually remove the old backups.

And since I am still a novice with Linux, I'm curious how a backup script is ran when you already have a start script running. In my case, ./rtoolkit starts the server within a screen, but then how would I activate a file such as ./backup.sh within that same screen while the server is running?

Regards
Posted by
MachoMancha
Level 35 : Artisan Cowboy
43

  Have something to say?

JoinSign in

1

TreeDB
06/16/2014 10:14 am
Level 1 : New Network
Your best bet would be to make a backup script (backup.sh) that sends a command to the server first /save-off then make a backup of the world and other player data, after copying all the data then you would turn saving back on with /save-on. I would have the script run automatically using cron.
1

Welcome