Jump to content

Minecraft Backup Function


Rislem

Recommended Posts

Hi EVeryone

 

I got a VIP client that is asking if there is a way I can create a backup botton for him, that he can click and it backups his servers.

 

Now I am thinking of just making a batch file to do this, but the issue is how do I stop his services with a batch file and start it after the copy has taken place?

 

I am thinking of something like this

 

Stop service

Run a Rar.exe to zip the folders.

Copy the zip to desired location

Start his service

 

Then somehow I need to be able to add this to a schedule for it to run

 

Any idea's where I can start or suggestions?

Link to comment
Share on other sites

It's actually very easy to start and stop it - it's built into TCAdmin. If you select the Custom Action or Custom Icon event, you can make TCAdmin stop the service before the script is executed: https://i.imgur.com/SyA7AvF.png

The service is automatically started after.

 

 

If you allow scheduling, the client can create a scheduled task that does this every few hours.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 133 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use