Crafty Controller backup but server is not always on?

  • Thread starter Thread starter /u/Furcatus1337
  • Start date Start date
U

/u/Furcatus1337

Guest
Hi everyone!

I have Crafty Controller managing my Minecraft server and it works fine. The only thing I need to figure out is how to properly make scheduled backups.

I know Crafty has an option for that, but in my setup, the computer running the server is turned off by default and can be turned on via a self-written web interface every once in a while someone is willing to play, so any scheduled tasks won't run because the server is not turned on.

The computer turns itself off via a cronjob running a python script every minute that issues a shutdown command if there are no players online for a given amount of time. The ideal solution would be to integrate the backup in that script.

But how do I make Crafty do this? I know how to use the API, but I can't figure out how to make the backup in an elegant way.

submitted by /u/Furcatus1337
[link] [comments]

Continue reading...
 
Back
Top