Report this

What is the reason for this report?

dokku-mongo export produces an invalid tar file

Posted on June 13, 2018

I’m having the same problem as described in this issue on GitHub. The dokku-mongo command to export a dump of the database produces an invalid tar file. Example here:

$ ssh user@example.com
$ dokku mongo:export database > backup.tar
$ tar -xfv backup.tar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi I have the same problem tar file is generated but it is empty …

If anybody can help ;)

Thanks

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.