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 fails because files get changed while creating archive #18

Closed
NIREKI opened this issue Nov 9, 2023 · 1 comment
Closed

Backup fails because files get changed while creating archive #18

NIREKI opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NIREKI
Copy link
Collaborator

NIREKI commented Nov 9, 2023

./manager.sh backup
Creating backup. Backups are saved in your ./ark_backup volume.
Saving world...
Success!
tar: Saved/SavedArks/TheIsland_WP: file changed as we read it
creating backup failed

tar -xvzf backup_2023-11-09_19-18-57.tar.gz -C /etc
Saved/
Saved/SavedArks/
Saved/SavedArks/TheIsland_WP/
Saved/SavedArks/TheIsland_WP/1117001778.arktribe
Saved/SavedArks/TheIsland_WP/TheIsland_WP_AntiCorruptionBackup.bak
Saved/SavedArks/TheIsland_WP/000278f385e04ec9b32b97413f9a54ab.arkprofile
Saved/SavedArks/TheIsland_WP/TheIsland_WP_07.11.2023_21.24.45.ark
Saved/SavedArks/TheIsland_WP/TheIsland_WP_05.11.2023_22.17.23.ark
Saved/SavedArks/TheIsland_WP/TheIsland_WP.ark
Saved/SavedArks/TheIsland_WP/000278dff5174a16a29ca2a11b52a900.arkprofile
Saved/SavedArks/TheIsland_WP/1117001778.tribebak
Saved/SavedArks/TheIsland_WP/TheIsland_WP_04.11.2023_20.58.20.ark
Saved/SavedArks/TheIsland_WP/000278dff5174a16a29ca2a11b52a900.profilebak
Saved/SavedArks/TheIsland_WP/TheIsland_WP_04.11.2023_23.08.20.ark
Saved/SavedArks/TheIsland_WP/000278f385e04ec9b32b97413f9a54ab.profilebak
Saved/SavedArks/TheIsland_WP/TheIsland_WP_05.11.2023_20.07.23.ark
Saved/Logs/
.......

When the savegame is more progressed just saving the gamefiles and creating the backup doesn't work.

It seems like it's nessecary to stop the gameserver. Another possible solution seems to be first copying the /Saved dir to a temp folder and then using tar on that temp folder.

@NIREKI NIREKI added the bug Something isn't working label Nov 9, 2023
@NIREKI NIREKI self-assigned this Nov 9, 2023
@NIREKI
Copy link
Collaborator Author

NIREKI commented Nov 10, 2023

Should be fixed with commit #a85a9cb

@NIREKI NIREKI closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant