ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    MariaDB Backup and Move

    IT Discussion
    mariadb backup
    2
    10
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      So I'm reading up on this (cause the customer hasn't asked yet)

      Which seems pretty darn straight-forward.

      mysqldump db_name > backup-file.sql

      Question is there anything else to watch out for?

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        There are loads of things that can go wrong. If you have certain types of triggers they won't get caught that way.

        1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          @scottalanmiller care to elaborate?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @DustinB3403
            last edited by

            @DustinB3403 said in MariaDB Backup and Move:

            @scottalanmiller care to elaborate?

            Not everything is always stored in the tables. So that backup method, while getting all the data, doesn't necessarily get the whole database.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Like pictures etc, correct?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @DustinB3403
                last edited by

                @DustinB3403 said in MariaDB Backup and Move:

                Like pictures etc, correct?

                That would be data. Like code.

                1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403
                  last edited by

                  But are those the kinds of things that need to be watched for?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @DustinB3403
                    last edited by

                    @DustinB3403 said in MariaDB Backup and Move:

                    But are those the kinds of things that need to be watched for?

                    Yes, that's why I listed them as a direct answer to your question of what needs to be watched out for.

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      @scottalanmiller cool, so if I am already collecting the rest of the database (see previous topic from today using rsync) then backing up the mariadb should grab what is left.

                      Then all that would be left is to push the backup to an secondary system and test that all works.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @DustinB3403
                        last edited by

                        @DustinB3403 said in MariaDB Backup and Move:

                        @scottalanmiller cool, so if I am already collecting the rest of the database (see previous topic from today using rsync) then backing up the mariadb should grab what is left.

                        Then all that would be left is to push the backup to an secondary system and test that all works.

                        In theory. I've had unreliable recoveries from that. I don't know any method to get 100% backup if that code is stored in the database.

                        1 Reply Last reply Reply Quote 2
                        • 1 / 1
                        • First post
                          Last post