dokku-mongo 导出数据库命令显示错误“这看起来不像一个 tar 存档”
$ ssh [email protected]
$ 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
根据此处
github dukku-mongodb
的文档,我认为导出实际上不是 tar。我们的自述文件是错误的,但如果您运行,您将看到正确的用法。@josegonzalez
dokku mongo:help export
内容如下
dokku mongo:help export
:如需进一步参考,请点击此处