birotaio/mongodb-gcs-backup

The file format of mongodump archive is not tar

Closed this issue · 1 comments

Thanks for the nice project.
Just a small feedback.

In backup.sh, tar.gz is specified as the file format of mongodump archive.

archive_name="backup-$date.tar.gz"

After trying to unarchive the dump file using tar command, I noticed the file format is not tar.
Please check the following blog post for the detail.
https://www.mongodb.com/blog/post/archiving-and-compression-in-mongodb-tools

Duplicate of #4