Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup non-seamless data files #19

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

LaoArchAngel
Copy link

Issue

Non-seamless servers do not use redis to store information about players, ships, or tribes. Instead they are stored in .arktribe, .arkprofile, and .playerentities files. However, these files are not being backed up by atlas-server-tools.

Solution

Add loops to copy each file into the backup folder and log any that failed, but do not abort the backup of any others.

Thoughts

I'm not in love with the loops, but I wanted to make sure we weren't competing with ATLAS writes like some of the other files. It runs fairly quickly in small servers.

Perhaps a setting should be introduced to the instance configuration files such as isSeamless which defaults to true if missing (or if serverMap isn't Ocean), and only does some of these backups I've opened PRs for when it's false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant