Comments (5)
That is one step forward then. Let's close out this issue and open a new one on the Couldn't execute...
Run it in DEBUG
mode and paste the output.
Additionally after switching images I had to add user: "0" to backup image.
That isn't a bug, it is by design. A database backup tool should not run as UID 0. If you need it, there could very well be a reason, but we don't want it like that as default.
from mysql-backup.
I have tried with the following option as well without success:
- MYSQLDUMP_OPTS="--lock-tables=false"
That's how it is documented I think.
debug output is: mysqldump: unknown variable 'OPTS="--lock-tables=false"'
Could you show a working example or give any hints what might be wrong?
from mysql-backup.
Are you using an out of date version? This all was moved over to databack/mysql-backup
a while back, yet your compose file references deitch/mysql-backup
. Try that. If it doesn't work, turn on DEBUG
mode and paste the output (or, if too big, a gist).
To preempt the question, I have wanted docker hub to have a "re-parent" (i.e. redirect) for a long time. It is my hope that I will get it at some point...
from mysql-backup.
After switching to databack/mysql-backup
the old error seems to be gone.
However in the logs I can see mysqldump: Couldn't execute 'SHOW PACKAGE STATUS WHERE Db = 'test'': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PACKAGE STATUS WHERE Db = 'test'' at line 1 (1064)
.
Additionally after switching images I had to add user: "0"
to backup image.
from mysql-backup.
Are you using an out of date version? This all was moved over to
databack/mysql-backup
a while back, yet your compose file referencesdeitch/mysql-backup
. Try that. If it doesn't work, turn onDEBUG
mode and paste the output (or, if too big, a gist).To preempt the question, I have wanted docker hub to have a "re-parent" (i.e. redirect) for a long time. It is my hope that I will get it at some point...
Thanks for the quick reply. Moving to the newest release resolved it in that way that the databases are now backuped anyway even if the error messages are still thrown.
from mysql-backup.
Related Issues (20)
- Go version: Crashes on DATE, DATETIME and TIMESTAMP fields HOT 2
- Add support for configurable rolling backup retention period e.g Keep only latest 7 days of backups HOT 7
- error calling CreateSQL: sql: expected 4 destination arguments in Scan, not 2 HOT 12
- mysqldump: Couldn't execute 'SHOW FIELDS FROM `host_summary`': HOT 3
- Go Version: Cron delay wrong after first execution
- mysqldump: Got error: 2002: "Can't connect to server on 'app-mysql' (115)" when trying to connect HOT 11
- Cannot connect to mysql over the local unix domain socket HOT 3
- Documentation inconsistencies HOT 2
- How to create a backup copy of not only data and tables, but also functions and procedures? HOT 1
- golang mysql-backup missing bzip2 support
- golang mysql-backup does not implement the nice argument HOT 4
- S3 upload issue for newer versions 1.0.0-rc+ HOT 3
- DB_PORT by default is 0 in the newest versions like 1.0.0-rc HOT 1
- How to set DB_DUMP_FILENAME_PATTERN HOT 1
- MariaDB Compatability issue HOT 12
- How to ignore tables? in 1.0.4rc? HOT 3
- Retention settings do not work HOT 2
- Retention again :-( HOT 1
- Dump: bigint type issue HOT 12
- RUN_ONCE only works with setting DB_DUMP{FREQ,BEGIN} to null/nothing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql-backup.