Nextcloud asked in a poll at https://mastodon.social/@nextcloud@mastodon.xyz/115095096413238457 what database its users are running. Interestingly one fifth replied they don’t know. Should people know better where their data is stored, or is it a good thing everything is running so smoothly people don’t need to know what their software stack is built upon?

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    3
    ·
    4 days ago

    You still need to know what database system is being used in order to make backups of the database. You can’t just snapshot or backup the data directory while a database is running, because you might end up with an inconsistent state that won’t restore properly. You need to either stop the DB before doing the backup, or use the relevant DB-specific tools to perform a backup.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 days ago

        Which containers do automatic DB backups? Normally the database is a separate container, unless the app is using SQLite. Is there a MySQL or PostgreSQL container that does automated backups?

    • Ooops@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      4 days ago

      So one in five doesn’t do proper backups. That’s much better than expected… 😅

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        4 days ago

        I’d say 9/10 aren’t doing proper backups given most people don’t actually do DR runs and verify whether they can fully recover from their backups. If you don’t test your backups, you don’t have backups!

        • monogram@feddit.nl
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 day ago

          90% is a bit low if the requirement is a full backup of nextcloud with database that is easily restorable.

          If they do backups, most just copy the important stuff manually to an external hard drive.