-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/12/13 10:36, James Page wrote:
> On 02/12/13 09:15, John Arbash Meinel wrote:
>>>> Which of these is core to the function of juju, and which are
>>>>  useful for debugging?  Please also that the mongodb-clients 
>>>> package will still be available in universe so you will
>>>> always be able to get any of the client tools that way as
>>>> well (I'll probably keep those packages maintained to the
>>>> latest point release for the released series).
>> Looking at the juju-backup script, it is intended to use both
>> dump and export. The export is so that we end up with JSON format
>> for our "settings" table so we can extract content from there as
>> part of restore (what credentials were you using, etc).
> 
>> Are they both really big? If so, we can probably use: mongo
>> --eval "STUFF" instead of "mongoexport", but that would again
>> presume that we have a 'mongo' binary available.
> 
>> I *believe* the data in the mongo dump is just BSON encoded, so
>> it would be possible to post-filter it with a bson aware tool to
>> get it into human-consumable form (rather than using mongoexport
>> at backup time).
> 
>> I guess the question is, how expensive is it to include it? For 
>> Juju core folks the cost of including it is all externality so
>> *we* aren't particularly motivated to keep our toolset minimal.
>> But if there is a use case we want to support, we're willing to
>> help.
> 
> Installed sizes:
> 
> -rwxr-xr-x 1 root root 7.2M Sep  5 15:30 /usr/bin/mongo -rwxr-xr-x
> 1 root root  13M Sep  5 15:30 /usr/bin/mongodump -rwxr-xr-x 1 root
> root  13M Sep  5 15:30 /usr/bin/mongoexport -rwxr-xr-x 1 root root
> 13M Sep  5 15:30 /usr/bin/mongoimport -rwxr-xr-x 1 root root  13M
> Sep  5 15:30 /usr/bin/mongorestore
> 
> Expect ~50% ish compression for the package itself.
> 
> Lets think about download sizes/times for end-users in this
> context please :-).  It costs time for every server that's
> provisioned.

Compressed package size comes to 24MB.

- -- 
James Page
Technical Lead
Ubuntu Server Team
james.p...@canonical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSoKRoAAoJEL/srsug59jDcnsQAKoY6A4V0FX+NqEXiBIyMDWZ
2xPgZ+CHFSyYIS/nMcWjwhflH3FBFV+XbDUA6KMnYoJDwWdDP6Z3TtTFnHEqWPed
3VipV98CUezNlWomG850t2ztww4V9uZQoiEiVZ7il0lj6o2dEVvMuaobHGQ9ednN
0+ewKbTYibouJ8CbgmXBgLKnhKVS7Bq6UwE0zo3EZ/MQlPk5gHgxhmQt3jZLvkvJ
iQ8iGoY5Z7KLR8WioFhDlnCKLBo+DN9jJeiv7DXfm2DKD6xfKFDvSLKnA13vB6RW
zucgeY+5+0+HB096DLxrmft34icv3Ygp/MBzccjDTtygNYnT1tFFKEKSyMHZHJHP
S0jeUm0LkKsmuex01VTksd3GrNsxJBIenXJc25MkfcC1FNZUOebrnZJ1PEJTcFLr
ml1tZY57xp3j3wnt3kobjQ3vfllZvHcKpgGRB3o9q0w1XGKq9BrGBezElGPCTNLU
7RU3Hq3INqJ+kuaNgItiYZX52hmrRM1317zGrWSA69Kc7GAQibnjfxTP4Jdf5EAO
mvuld7MkwdwcQpHDO/4BKgoBCotKcg6pJguHqgO9C7ZR1WY1V1V8UsmDv1YH0irV
9uwPqs3ElT+iNg1eWYggA/iMkSL8DYdNoozpYSQ8n1IN8cl+MsDVD1BBoGcDcZoC
ro6tNvXFf1wxNdIeJ/i0
=Wcc/
-----END PGP SIGNATURE-----

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to