Comments (1)
For future reference, this is because compressor
opt was nil, even though it shouldn't be. It shouldn't be, because compressionVar := v.GetString("compression")
should never be blank, because it has default set.
The root cause is that we try to read the compression
var in root.cmd
from the root-level persistent flags, because it also can be in the config file, and that is where we read the config file, but read the compression
var in the dump
command, where it is a separate variable.
from mysql-backup.
Related Issues (20)
- 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
- Pruning does not work when safechars is enabled
- tgz file not extractable HOT 4
- Dump: JSON type issue HOT 2
- Post backup scripts in v1.0 HOT 3
- Simple script for moving to target backup by year and month HOT 6
- Error when using S3 compatible storage endpoint (Cloudflare's R2) HOT 9
- [question] script after S3 upload HOT 4
- Binary Release in Release Tab 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.