Skip to content

Instantly share code, notes, and snippets.

@kris-lab
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kris-lab/339b373e4cf30b2e9916 to your computer and use it in GitHub Desktop.
Save kris-lab/339b373e4cf30b2e9916 to your computer and use it in GitHub Desktop.
Pulsar MMS:RESTORE task
$ pulsar -c . sk sandbox mongo:mms:restore
* 2014-09-26 12:53:51 executing `mongo:mms:restore'
* 2014-09-26 12:53:51 executing `mongo:mms:snapshots'
2014-09-15 07:11:29 54169140e4b02815a46785d9 parts: ["rep2 (256.00 MiB)", "rep1 (448.00 MiB)", "CONFIG_SERVER (192.00 MiB)"] nosql.mongo.sandbox
2014-09-12 13:12:50 5412f159e4b06aa4ea5f6422 parts: ["rep2 (256.00 MiB)", "rep1 (448.00 MiB)", "CONFIG_SERVER (192.00 MiB)"] nosql.mongo.sandbox
2014-09-12 07:12:50 54129cf4e4b0105c39eccc7b parts: ["rep2 (256.00 MiB)", "rep1 (448.00 MiB)", "CONFIG_SERVER (192.00 MiB)"] nosql.mongo.sandbox
2014-09-12 01:12:50 541248a4e4b088bf987f2dd0 parts: ["rep2 (256.00 MiB)", "rep1 (448.00 MiB)", "CONFIG_SERVER (192.00 MiB)"] nosql.mongo.sandbox
2014-09-11 13:12:50 54119fd4e4b06aa4ea582e36 parts: ["rep2 (256.00 MiB)", "rep1 (448.00 MiB)", "CONFIG_SERVER (192.00 MiB)"] nosql.mongo.sandbox
Please choose snapshot ID: 54169140e4b02815a46785d9
** Creating job on MMS cloud...
*** ✔ Cleaning up environment
*** ✔ Creating environment
*** ✔ Downloading snapshot into master hosts (replicas, configs)
*** ✔ Uploading data to all cluster members
*** ✔ Unpacking on all machines
*** ✔ Stoping cluster
*** ✔ Creating rollback
*** ✔ Restoring files
*** ✔ Setting up credential for db data directory and content
*** ✔ Initializing replicas...
*** ✔ Seeding replica oplogs
*** ✔ Starting maintenance routers
*** ✔ Applying puppet configuration for replica primary members
*** ✔ Applying puppet configuration for replica members
*** ✔ Starting routers
*** ✔ Starting mms agents
*** ✔ Starting balancer
*** ✔ Cluster health checking
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment