databacker / mysql-backup

image to enable automated backups of mysql databases in containers
636 stars 178 forks source link

tar: invalid tar magic #209

Closed RogerSik closed 1 year ago

RogerSik commented 1 year ago

Trying to restore an sql file; getting following messages:

$ k logs -f mysqlbackup-restore-27789916-k676s
download: s3://shopware-staging-9b1deb4d-cluster/mysql/latest.sql.gz to tmp/restorefile
tar: invalid tar magic
cat: '/tmp/restore.1/*': No such file or directory

Not sure how to troubleshoot this. Because it seems for me a valid gz file. (I can extract it on the terminal)

RogerSik commented 1 year ago

I think the issue here is, that is a valid gz file, but its not a tar file.