Jump to content
yaliilyaya

Backup of server data

Recommended Posts

I use docker container technology

I can not find the scheduler to run in the container

used crontab

but with crontab big problems

no logging

no signal to stop correctly

Share this post


Link to post
Share on other sites

Hi

Cannot configure backup of server data

Is there a ready-made solution?

 

I'm assuming this is relevant:

 

  • In order to avoid exploits, backup creation can't be manually controlled by players

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...