-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backup.tar file invalid #18
Comments
how did you create this tar? |
I simply run this code below, it generated the tar file, and when I tried to open that file on my PC its shows an error. import { MongoTransferer, MongoDBDuplexConnector, LocalFileSystemDuplexConnector } from 'mongodb-snapshot'; async function dumpMongo2Localfile() {
} |
@prabesh887 with what program are you trying to open this tar? you need rar, the native zip in windows wont work. |
@lihaibh I have tried it with the WinZip application, that didn't work. I ran |
@prabesh887 you need winrar to extract the file |
@lihaibh Thanks. WinRAR worked, it open the files but inside all JSON file there is only |
the json files are metadata about the collection, it contains the index details of the collection, you should have also bson files which are the actual encoded monodb data. |
@prabesh887 the issue resolved for you? |
I have successfully generated the backup file, but when I try to open that file, the file doesn't open. It throws an error as
Invalid archive header found
.The text was updated successfully, but these errors were encountered: