-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Mongodump backup issue #56
Comments
Hi, looks like the option should be |
I have just released
|
Offtopic for a bit, i have this line for the target
mongodump generates a "dump" folder with the databases inside, i've successfully used phpbu on mongo with update 3.0.2, but after the archive was generated, when Thanks. |
The final
|
but, how can i compress the whole dump directory? |
If you specify a compressor like you did <target dirname="backup" filename="mongodata-%Y%m%d-%H%i.dump" compress="bzip2"/> You should see a file If not that's not good 😞 |
The created mongodump directory is getting compressed with tar so it's getting compressed to a single file. To uncompresse the file use.
or
This should work ;) |
meh, that was my bad 😄 thanks for the help. |
You can easily do so with
But I will have a look at the tar command, maybe I can include the compressed folder itself |
yea i know, but people, especially me are uber lazy. |
I know the feeling ;) |
It seems i am having a issue with mongodump, i think the problem is at the
Edit:
After some digging i foud this command, witch makes the error, generated by phpbu```
root@ip-172-31-63-218:/root# /usr/bin/mongodump --out '/root/backup/' --host 'localhost' --database 'status'
2016-02-11T03:44:41.287+0000 error parsing command line options: unknown option "database"
2016-02-11T03:44:41.287+0000 try 'mongodump --help' for more information
The text was updated successfully, but these errors were encountered: