{ "info": { "author": "Lyon Zhang", "author_email": "lyzhang87@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "mongodb-backup\n==============\n\nBackup mongodb data by copy dbpath\n\n.. image:: https://pypip.in/download/mongodb-backup/badge.svg\n :target: https://pypi.python.org/pypi/mongodb-backup/\n :alt: Downloads\n\n\nInstall\n-------\n\n.. code-block:: bash\n\n $ pip install mongodb-backup\n\nTest\n----\n\nStart a mongod instance on port ``27017``.\n\nRun ``py.test test.py``.\n\n\nUsage\n-----\n\n.. code-block:: bash\n\n $ mongodbbackup --help\n\nMake sure which ``mongod`` instance you want to backup, and run\n``mongodbbackup`` on that server.\n\nExample\n^^^^^^^\n\n* Backup a standalone mongod instance.\n\n .. code-block:: bash\n\n $ mongodbbackup -p --primary-ok \n\n **Caution:** it will block all writes.\n\n* Backup a replication, run the follow command on a secondary server.\n\n .. code-block:: bash\n\n $ mongodbbackup -p \n\n* Backup a cluster, backup a config server and each shard. If you have\n two shards, you need to run the follow command three times.\n\n .. code-block:: bash\n\n $ mongodbbackup --ms-url -p \n\n\nUnder The Hood\n--------------\nThis tool backup mongodb by copying dbpath, so it must run on the same machine\nwith the mongod instance. \n\n1. Fsync the mongod instance to block all writes.\n2. Copy the dbpath.\n3. Unlock the mongod instance to accept writes.\n\nIf you want to backup a mongodb cluster, you should specify ``--ms-url``\noption. It will stop balancer before backup, and restart balancer after backup.\n\n**Caution:** This tool doesn't make a point-in-time backup, it just copy the\ndata directory, you can copy back the data to restore if any disaster\nhappens.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/zhangliyong/mongodb-backup", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "mongodb-backup", "package_url": "https://pypi.org/project/mongodb-backup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mongodb-backup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/zhangliyong/mongodb-backup" }, "release_url": "https://pypi.org/project/mongodb-backup/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "A tool to backup mongodb", "version": "0.1.7" }, "last_serial": 1238631, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d2513802e627a2af111283eebb93e074", "sha256": "e1add0621d040ff6c107ed0e72a9f3c870883ae713e2ff53fa76241814a227f8" }, "downloads": -1, "filename": "mongodb-backup-0.1.tar.gz", "has_sig": false, "md5_digest": "d2513802e627a2af111283eebb93e074", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2316, "upload_time": "2014-09-04T08:08:59", "url": "https://files.pythonhosted.org/packages/f5/2e/8a2cf08ff17ec6e678d33d6e30c218f7c8389683ff7c09fbc03afc7e5d2a/mongodb-backup-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d62b62e19e427f8305b774f969b5ea27", "sha256": "702feef744cb37ca8c3c9ffe3e2381b8b4905844fe63330d5eeed2033df5d1f1" }, "downloads": -1, "filename": "mongodb-backup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d62b62e19e427f8305b774f969b5ea27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2585, "upload_time": "2014-09-05T06:33:20", "url": "https://files.pythonhosted.org/packages/05/67/6c0a3c6c6063adaa8e85670c8a0e5d674c8b42a0aae2a37d8db8d8495197/mongodb-backup-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5ce5f6b173a229e5181120ac0d9c5235", "sha256": "2b576d682e771e86ae6715f5515ad250957286ca7b5985d734d8f7167c5c469d" }, "downloads": -1, "filename": "mongodb-backup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5ce5f6b173a229e5181120ac0d9c5235", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2575, "upload_time": "2014-09-09T06:17:51", "url": "https://files.pythonhosted.org/packages/b7/39/1d223291ce92c6c06a6371755894da24c6ad14908c7a88f4123fcfb8834a/mongodb-backup-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "7cbd7f72f1478851faa95aade7f3faf2", "sha256": "9f3b39288bf4d23cb385dfbc07cb6e92f875a75445ab84dbc658dac29f1b9d1c" }, "downloads": -1, "filename": "mongodb-backup-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7cbd7f72f1478851faa95aade7f3faf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3638, "upload_time": "2014-09-09T06:54:11", "url": "https://files.pythonhosted.org/packages/90/e9/07aeb44a2fe5310c2f95ce797acdd8480fde3f6f517e5f01109be9ffdf5a/mongodb-backup-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b73f3d6616f95477eed58247d1d9f038", "sha256": "a35f15dcc0d9f4ab8842a2b94547b1b957e426183aea37da00bc11acd154e1df" }, "downloads": -1, "filename": "mongodb-backup-0.1.4.tar.gz", "has_sig": false, "md5_digest": "b73f3d6616f95477eed58247d1d9f038", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3659, "upload_time": "2014-09-09T07:51:10", "url": "https://files.pythonhosted.org/packages/83/95/fff344a7e2763d6e3815c76eb7dcffcb7e3be8f4628ac756bb43fca19ef1/mongodb-backup-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "fa7387586e50a96b1b883fdc92ebb046", "sha256": "25b20a64de2007938ee7642052293a1e7a45a98c362609181a708a89e13e3896" }, "downloads": -1, "filename": "mongodb-backup-0.1.5.tar.gz", "has_sig": false, "md5_digest": "fa7387586e50a96b1b883fdc92ebb046", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3664, "upload_time": "2014-09-09T08:21:59", "url": "https://files.pythonhosted.org/packages/db/55/472e8488863fdc054d7a6b50e253f709ae3648124eb7e06a53357f59bfda/mongodb-backup-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "04fc816e4e2e8fc56fadb48f4907b091", "sha256": "0f482436e065d8109a465d178a5cc1d02713ed72d0e6a9d25df8d6725e870e9b" }, "downloads": -1, "filename": "mongodb-backup-0.1.6.tar.gz", "has_sig": false, "md5_digest": "04fc816e4e2e8fc56fadb48f4907b091", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3680, "upload_time": "2014-09-09T08:38:54", "url": "https://files.pythonhosted.org/packages/6b/35/b26a3f166791b9124acbcded90285d16b099a18cde0e132343f6af26c4c5/mongodb-backup-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "47a9f8c667cea0f6fb6354fe9631eff0", "sha256": "6d3f7767a8deb8fdb4eb4c74044541dfa83140f99f53511b62d9a1a863316e62" }, "downloads": -1, "filename": "mongodb-backup-0.1.7.tar.gz", "has_sig": false, "md5_digest": "47a9f8c667cea0f6fb6354fe9631eff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3829, "upload_time": "2014-09-26T08:20:47", "url": "https://files.pythonhosted.org/packages/cb/f7/257b3ca1ec272141d68bb2b5efc889040cfd1b429a037549dd108486c798/mongodb-backup-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "47a9f8c667cea0f6fb6354fe9631eff0", "sha256": "6d3f7767a8deb8fdb4eb4c74044541dfa83140f99f53511b62d9a1a863316e62" }, "downloads": -1, "filename": "mongodb-backup-0.1.7.tar.gz", "has_sig": false, "md5_digest": "47a9f8c667cea0f6fb6354fe9631eff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3829, "upload_time": "2014-09-26T08:20:47", "url": "https://files.pythonhosted.org/packages/cb/f7/257b3ca1ec272141d68bb2b5efc889040cfd1b429a037549dd108486c798/mongodb-backup-0.1.7.tar.gz" } ] }