1
[Request] Backup Script
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
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
1
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.
