This have been really frustrating for me as of late since I just found out today that it seems to me that the Minetest Multiplayer List is based up if the server been online for at least 8 hours for the last 8 hours.

Rendering daily backups of the server (since it does have to be shut down for it be done safely.) pulling me to the bottom for up to a third of the day because of this up time “uptime” system.

So I am wondering what if there’s anything I am able to do? Like are there other options aside from playing a “creative like” game which is Minecraft and people birching to me, about paying for it?

    • @DBGamerOP
      link
      23 years ago

      Ya that what I am not certain about the “time out” function. Like I am assuming it would block everything from being written preventing anything from happening. So my thoughts is it’s probably not any better than “just” freezing the process though docker. And if all else fails freezing the VPS from the provider end (I seen “Pause” at a number of hosts so that shouldn’t be hard to come by) to do the same but at the VPS level and snapshotting it. I might not be able to get the snapshot off the network BUT at least it’s a backup regardless. Just not the best backup in the world…

      • @Thann
        link
        33 years ago

        You should try it out, because I think the timeout is just acquiring the initial lock, but IDK how that will interact with minetest, but it should be better than “pausing” because of less/no downtime.

        • @DBGamerOP
          link
          33 years ago

          At least that’s more understanding to me, thanks for explaining that to me and I shall see how it’s does. Should be easier to implement to boot.

          What I can do is fire her up on a cron (after manually testing first) and play the game activity to see if I notices anything and what if any.

  • Helix
    link
    33 years ago

    I have a setup which automatically backs up and restarts services based on borgbackup and borgmatic: https://wiki.tilde.fun/admin/backup/borgmatic

    Maybe you can do backups differently by using snapshots. I’m sure you can talk to the devs to find out how they think this is a good idea (doesn’t sound like a good idea to me).

    • @DBGamerOP
      link
      13 years ago

      Indeed IF I have a chance at this I either can freeze the docker directly and if that doesn’t do it justice, I may be able to freeze the entire VPS instead (at the new host that is since the current SolusVM installation at the current host doesn’t even works properly and consistently logs me out for NO reasons).

  • @poVoq
    link
    2
    edit-2
    1 year ago

    deleted by creator

    • @DBGamerOP
      link
      13 years ago

      The Sqlite3 database actually does requires a shutdown or else the map.sqlite will in fact gets corrupted (since there are live transactions going on even if nobody is on it).

      I also can’t be certain if the game will handles the Sqlite3’s .backup function properly or if it will “freezes” the game while it does this. Which the only resource I find about this was https://forum.minetest.net/viewtopic.php?p=339487#p339487 but again I do not understand what will happens in game while this happens.

        • @DBGamerOP
          link
          13 years ago

          INTERESTING This may or may not work, firstly the Minetest Server need not be flips out that it’s being literally frozen, as well as the Pterodactyl Panel (as it managed though there) and resumes normal processes. THEN you also gotta hope that you’re freezing it when the server list is not polling for uptime (it does this I think every 10 to 15 minutes I think?).

          So firstly I would probably want to freeze it manually to see how the panel responds to it. Then proceed if it possible to go further.

          If this is… This might works especially if I rig up a script for it to pauses it, tar it, unpause it. That way it’s ONLY frozen for the amount of time it needs to be. Which until the map get a quite a size (I would say over 6GB or so) this might be feasible. As that when I expect the NVMes to take over a minute to tar the thing.

            • @DBGamerOP
              link
              23 years ago

              Will do! Thanks for the idea! I reprovision-ed the game server with no additional backends enabled to rule out any other variables as possible. Then I gotta start it, pause it manually and see what the panel is indicating of it, just to make sure it doesn’t think it’s dead or something and decides to kill it.

              If that goes to as plan then I will attempt to make a script to try to back it up, get into the game on an endless exploring venture and see how the GAME responds to this (the script will be primed on cron like 20 minutes in or something).