Code Monkey home page Code Monkey logo

Comments (4)

elthariel avatar elthariel commented on May 26, 2024

I think it likely breaks the backup, according to a very quick google research. What's inside the resulting backup ? Does it seems to contain the right output ?

from backup.

danielristic avatar danielristic commented on May 26, 2024

As far as I can tell the dump contains the expected stuff and the file size looks about right. It even loads fine on a test database. If something's wrong with the dump as a result of this error, it's not obvious.

from backup.

elthariel avatar elthariel commented on May 26, 2024

I'm not entirely sure, but it seems in recent mysql versions, the general purpose tablespaces feature allow to configure how the data is stored in disk, i.e. not having all the innodb tables in the ibdata1 files like previously.
My current understanding of this is that you might not have the same layout on disk after re-importing the dump, since you didn't have the privilege to dump this tablespace configuration.

Anyway, this is not really a backup error, but more a mysql rights thing, in the sense that there's nothing to fix here.
I'll then close this issue :)

from backup.

danielristic avatar danielristic commented on May 26, 2024

Hello @elthariel, since it's an error that's thrown using the default configuration (when using mysql 5.7.31 or newer), it should at least be mentioned in the documentation or part of the example configuration to have db.additional_options = ["--no-tablespaces"] (or instruct to grant PROCESS privilege to the mysqldump user).

from backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.