dsteinkopf / backup-all-mysql

Docker image to do automatic backups of a mysql DB.
https://nerdblog.steinkopf.net/2017/04/backup-all-mysql-docker-image-fuer-einfaches-backup/
GNU General Public License v2.0
14 stars 8 forks source link

Add --hex-blob #12

Closed thib3113 closed 5 years ago

thib3113 commented 5 years ago

As I already said .

binary fields "can" ( not always it seems ) break the use of the .sql .

Maybe related to the binary ( because they are virus fingerprint, so maybe the anti-virus lock it ), or to the lengh ... But --hex-blob can resolve the error .

And In my opinion --hex-blob can't do bad things, but can save your backup :P

dsteinkopf commented 5 years ago

I am still not 100% if this is really a good idea in all cases. At least it makes the dumps larger. On the other hand I fond things like this - which is exactly what you say...

What if anybody does not want this option? Does he/she have the chance to undo it? -> Just add --skip-hex-blob? Short experiment on the command line just hasn't given me an error :-)