New juju-mongodb package

roger peppe rogpeppe at gmail.com
Mon Dec 2 12:39:29 UTC 2013


On 2 December 2013 11:40, Ian Booth <ian.booth at canonical.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>>
>> I don't fully understand the difference from mongoexport vs mongodump
>> (it looks like dump generates a binary snapshot compatible with
>> restore, while export/import generate text representations of the data.)
>>
>> I'd *really* like us to stick with *one* of them as the recommended
>> method for backing up the content.
>>
>
> Both export and dump are used by the Juju backup tool.
> dump is used to do a full bson export of the database and is required for a
> database recovery.
> export is used to write to json the environment settings document so that there
> is a human readable copy of the full environment settings contained in the
> backup tarball.

ISTM that the mongo command could be used to similar effect, as John
suggests, couldn't it? Then we would not need mongexport
at all.



More information about the Juju-dev mailing list