![]() ![]() arkprofile to be read only when they were being griefers, so I know that the server does not care or throw a wobbly if it can't write to those files.I have packaged a game and then separately built a dedicated server (Development Server build configuration). So we need to recursively write-protect SavedArks directory and wait for couple of seconds before back up creation, in case if some of files are currently being modified.īut a little bit scared of ruining everything if I'm missing something though. I've read that permissions only prevent file from being open, but while it is already open it can be modified regardless of permissions at the moment. As I initially started my server by wrong user (without write access), and only problem was a lost game data on server restart.įS should be fine as well on chmod while file is being modified. Game itself should be fine while not having write permissions. So I'm still thinking about changing file permissions. Anyway it's always better to avoid restarts that can be avoided. Too long countdown is also doesn't look like a good idea. The problem is not about downtime duration, but it still may be annoying sometimes, when you've been caught unprepared, and 10 minutes warning countdown is not always enough to get to safety, you need to look forward to it. So maybe rethink the need to 24/7 operation, 3 or 4 mins of scheduled downtime a day is not the end of the world. Good to know, but since I shut down once a day and do a backup I am not worried about that. There is a part of tracker log with my comments (censored Steam ID and tribe ID (just in case)): They are being saved on every log in and log out, death and some other events I'm not actually able to track (no game log records). World (TheIsland.ark) is being saved every 15 minutes, as AutoSavePeriodMinutes option dictates, but player files are not affected by this option. Some hours ago I started directory change tracker at SavedArks, and there is my research. I am not sure, but I am like 99% certain that the server does not save files when it is running other than when instructed to or when it's auto save period kicks in. So I set mine up to save every 15 mins because of that. This is based on what I have read (but can't provide a link sorry) and experiences with regards to crashing, it was pretty unstable back in June. Hey, I ran a minecraft server for about 2 and a half years. How ARK behaves when cannot access file to write to? How FS behaves on permission change while file is currently accessed?Ģ. Other possible and very simple solution that just appeared in my mind is to deny write access (chmod) to game files temporarily. ![]() I have a Minecraft server, and the game have three useful commands for this case: save-off (disable world autosave), save-all (save current world state), save-on (enable world autosave). But does it mean that countdown reset on force save (in order to backup right after save)? And also, as far as I know, server saves data on player log off, so this is still not totally safe. ![]() ini file that defines world save frequency (AutoSavePeriodMinutes). Rcon should be able to save world, according to command list:Īnd there is also an option in. It is worth the hour our so it takes to read and setup. I use it and it make life a lot easier, it has commands to check for updates to the server and mods, and can automatically apply them or download only etc. Then restart the server, with an ssd this whole process takes about 2 minutes and the server is back up and running, with the added advantage for freeing leaked memory (if any) once a day.īut another thing you can do is set the server to auto save once a day, and then again using cron get it to save more regularly and that way you will know in advance when it is going to save and can backup between saves.Īlso I recommend you investigate ark tools ![]() What I do though is I run a cron job at 4am my time that actually stops the server (giving players a 10 min warning countdown) and then makes a backup with rsync to a different location on disk and I keep a rolling 7 days history. You can do that while the server is running so long as it it is not going to save halfway through the copy. My ARK is on Linux server, if it matters. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |