-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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. - -- James Page Technical Lead Ubuntu Server Team [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSnGKXAAoJEL/srsug59jD5nAP/1/y5gMfvrof1HaR85rIASuF IsfrAHpPUzLcaRlPhReuhjfHaOCm2iEoKu91C6tJHp5moYfTuwKmdJAWSkaNVVoZ dHyijS92G6socnKFL1uT1hWb48Eaf/glEIPo2zwsyIphnCRxQGrwJOXywYgyQlRd c2Sac2PdW1Bukyrc5DNpv62bai+7RL//stwLuWPrYb29+gq5IgiWSW/FGLGZPy/1 +hiID7vC2CfnkKCOiYryfCd/ZfThEZQzAFs2Vazgq8vVSb6vDJKbInp4KlXwcI3Y SHYBXv6duIFxfQZNYNRFiUJ2cHwVtSviiK7nZPFpzrCfJjoahSpoG05fnvHqU/eC d1P2JGuvIhxwSJzOY12W5278kHko4udC8j02vdrmJEJeQj23V3dDmWe747Dx9V2a faTq6qmQ3PY+WUgAp9R5GRv41fi+UIuzHjL39DylCZzZjR/G3w1weZjRIy3ykg11 6SDhFIeGklZ1LxSSWQi/0MDxrr0IpMm+YXKKZ8v1C47MQs1Ot6qLaNL3+wXULmHZ SQzFUyZL/99xd+0OH3+AK2i/2GF77x1euUPu2ze9m2rcBtUYw7udm5R0m+MkuJaT ETxL1ZQ5gi1kjS3hA+syxF/pCi2EcGl49NPJEzRT18taoN6ArVgXIKtCme40qFoE 4oOoAeOdnkP4IosaEYSB =VrGq -----END PGP SIGNATURE----- -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
