How to make bedrock server (world) backup while server is up?
I run a bedrock server, for backups I've to turn off the server first then copy the files, but it's very unintuitive, I came across the documentation it has three commands basically
save hold
, save query
and save resume
. I understand how the commands work, but I'm looking for a Linux script to do this, my bedrock server runs in a separate screen session.
I tried writing down the script myself, here's my progress.
but I can't even copy the read the list of files from the screen, plz help.2 Replies
Thanks for asking your question!
Once you have finished, please close your thread.
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close
!close
!solved
Requested by drepk#0
thank you! will be checking it now
the third link really makes some sense, first two shuts down the server before backing up š¢
I've script almost ready, but can't guarantee for reliability, cuz in past sometimes, after running
save hold
and save query
, I compressed the directory using tar
but when i later, tried using that world, the server said there's some error with the world, trying to fix ..., and it reverted the world to like my last backup hrs or progress were lost,
Thanks for the suggestion, it'll really be helpful
š
I'll post the solution, then i'll close
it's okay, if you /close it rn as well, no problem!!