$ tar -zxvf maloja_backup.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Details
file(1) shows that it is not actually gzipped
$ file maloja_backup.tar.gz
maloja_backup.tar.gz: POSIX tar archive
Suspected Root-Cause
I took a look over https://github.com/krateng/maloja/blob/master/maloja/proccontrol/tasks/backup.py#L20 and the syntax for creating a gzip looks right and works locally when I run it with python in a terminal, so I'm inclined to say this is a network transfer oddity.
Perhaps something in the web framework (bottle, is it?) might be stripping the gzip layer when sending it over.
Steps to Reproduce
gunzip
it or tar-zxf
it to untar from gzipExpected Result
Untarred files
Actual Result
Error that it's not gzipped.
Details
file(1)
shows that it is not actually gzippedSuspected Root-Cause
I took a look over https://github.com/krateng/maloja/blob/master/maloja/proccontrol/tasks/backup.py#L20 and the syntax for creating a gzip looks right and works locally when I run it with
python
in a terminal, so I'm inclined to say this is a network transfer oddity. Perhaps something in the web framework (bottle, is it?) might be stripping the gzip layer when sending it over.