Minecraft Save-All best practice
Hey guys - looking for server saving best practices. I have seen people talk about using save-off then using save all then back to save on. Is that sufficient?seeing a lot of conflicting ideas and with little support.
Looking to avoid massive server lag on save and have safe file backups.
Any thoughts or suggestions?
Running Fabric on a Linux VM with 2 cores and 12 gigs of ram.
14 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by chrit.#0
Honestly no point, just stick with normal auto save
if you keep it off then more ram will be used, plus you’ll have more things to save at once
Set sync chunk writes in server.properties to false if you are using an SSD, and get Smooth Chunk Save along with Fast Async World Save
I guess that leads me to my next question. How does the current auto-save function work?
every 5 minutes
^^
full save to the hard drive?
everything that needs to be saved yes
hard drives aren’t generally ideal
but
:Shruge:
So if there is a full server crash without a stop code, the worlkd will be saved fine?
It is currently being saved to the VMs drive. i then have a cron job that backs it up locally.
seems like what you described as sufficient an amp panel thing lol
the server be default will be shut down by watchdog after 60s of no ticking
realistically it shouldn’t take that long but if it does happen, the world will be saved
But if it forcibly crashes (process killed for example) e.g. an OOM it may cause issues, no data will be saved
yes, max loss is 5 minutes of content
can cause some corruption in extreme cases
I have a bit of PTSD. last time i hosted a server locally my power went out while users were in the end. Did not have a sufficient back up available and kind of ended the server sesh lol
So should I quit stressing and just use my cron job and back up the server hourly to my local machine? manualy typing save-all is unnecessary?
manually typing save-all is unneccesary
backups arent a bad idea yeah, keep em