Jump to content

Backup of server data


yaliilyaya

Recommended Posts

Thanks you

 

So, the server saves the data in the interval specified in the saveInterval server configuration.

wiki - https://avorion.gamepedia.com/Server

 

After that we need to save the data to the cloud.

need a task scheduler

 

I will try to deploy gitlab CI / CD

includes task scheduler and more

 

I will set the saveInterval variable to 5 minutes

Once every 15 minutes I will save data to DropBox

 

this way I will automatically save the current copy of the data

But there will be a problem of old copies...

 

algorithm for cleaning old copies:

- keep all copies in one day

- keep weekly copies for one month

- keep monthly copies for one year

Link to comment
Share on other sites

  • 4 weeks later...

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
×
×
  • Create New...