{ "info": { "author": "Luiz Aoqui", "author_email": "laoqui@ca.ibm.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: Database", "Topic :: System :: Archiving :: Backup", "Topic :: Utilities" ], "description": "# backwork-backup-mongo [![Build Status](https://travis-ci.org/IBM/backwork-backup-mongo.svg?branch=master)](https://travis-ci.org/IBM/backwork-backup-mongo) [![PyPI version](https://badge.fury.io/py/backwork-backup-mongo.svg)](https://badge.fury.io/py/backwork-backup-mongo)\nAdds support for MongoDB backups to [`backwork`](https://github.com/IBM/backwork).\n\n## Requirements\nThis plug-in is build on top of [`mongodump`](https://docs.mongodb.com/manual/reference/program/mongodump/#bin.mongodump),\nso you will need to have [`mongo-tools`](https://github.com/mongodb/mongo-tools)\ninstalled.\n\nIf you already have the `mongod` server or `mongo` client installed then you\nshould have `mongodump`. If not, you can install them using the\n[official packages](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#packages)\nor build from [source](https://github.com/mongodb/mongo-tools).\n\n## Installing\nYou can use `pip` to install this plug-in:\n```sh\n$ pip install backwork-backup-mongo\n```\n\n## Using\nAfter installing the plug-in you will be able to use the `backup mongo` and `restore mongo` commands\non `backwork`.\n\n\n#### `backwork backup mongo`\n```sh\n$ backwork backup mongo --help\nusage: backwork backup mongo [-h]\n\nBackup a MongoDB database. It uses `mongodump` so it's required to have it\ninstalled and added to the system's PATH. You can use any of the arguments\nsupported by `mongodump`. Use `mongodump --help` for more information.\n\noptional arguments:\n -h, --help show this help message and exit\n```\n\nYou can pass any option that you would normally use on `mongodump`, e.g.:\n\n```sh\n$ backwork backup mongo --user=user --password=pass --host=mongo\n```\n\nThe only exception is `-h` which is reserved for the help/usage message, so the\nhost needs to be passed as `--host`.\n\n\n\n#### `backwork restore mongo`\n\n```sh\n$ backwork restore mongo --help\nusage: backwork restore mongo [-h]\n\nRestore a MongoDB database. It uses `mongorestore` so it's required to have it\ninstalled and added to the system's PATH. You can use any of the arguments\nsupported by `mongorestore`. Use `mongorestore --help` for more information.\n\noptional arguments:\n -h, --help show this help message and exit\n```\n\nYou can pass any option that you would normally use on `mongorestore`, e.g.:\n\n```sh\n$ backwork restore mongo --user=user --password=pass --host=mongo dumps\n```\n\nThe only exception is `-h` which is reserved for the help/usage message, so the\nhost needs to be passed as `--host`.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/IBM/backwork-backup-mongo", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "backwork-backup-mongo", "package_url": "https://pypi.org/project/backwork-backup-mongo/", "platform": "", "project_url": "https://pypi.org/project/backwork-backup-mongo/", "project_urls": { "Homepage": "https://github.com/IBM/backwork-backup-mongo" }, "release_url": "https://pypi.org/project/backwork-backup-mongo/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Backwork plug-in for MongoDB backups.", "version": "0.3.0" }, "last_serial": 5693010, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "7f868a7791a8ec0b20919336d42d794d", "sha256": "b4d7cb7c2988e219086ae8d4ad58698f32639aecdb0fec730ae8ebaec66ded25" }, "downloads": -1, "filename": "backwork_backup_mongo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7f868a7791a8ec0b20919336d42d794d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8080, "upload_time": "2019-08-14T15:53:55", "url": "https://files.pythonhosted.org/packages/9b/53/47215917df200a643f1234f121c763dfbd665af9e805cb81dd2bc1a3b4c2/backwork_backup_mongo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b1750bf41227ab93b9319fa5c7f72ef", "sha256": "49f49de5d7e3f6b24d712c320bd3cdb428fa563b08c771f4803f1b4df3780c78" }, "downloads": -1, "filename": "backwork-backup-mongo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6b1750bf41227ab93b9319fa5c7f72ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3588, "upload_time": "2019-08-14T15:53:57", "url": "https://files.pythonhosted.org/packages/c6/ce/ea7b1d3717ee2a0488f1552fcf62d8fa7870928c3fa1f280c2392e3e29de/backwork-backup-mongo-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1ebde7796e5285d11e19647508a798bd", "sha256": "94a34c39429afd924eae68842a94f973b614366a0e268e183d7a0b9eeec48050" }, "downloads": -1, "filename": "backwork-backup-mongo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1ebde7796e5285d11e19647508a798bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3547, "upload_time": "2019-08-14T19:15:44", "url": "https://files.pythonhosted.org/packages/55/ff/3891b27b0ecc9dff36f2285ab22fb717e99be0fe3da10b08b0f3f72eaea7/backwork-backup-mongo-0.1.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "830cfd57f3d63109111e9394742beaed", "sha256": "4ad319cc59410b388ca3e9b1d60a3e4baa2f70c0101b6d6f395811825bdc002b" }, "downloads": -1, "filename": "backwork-backup-mongo-0.3.0.tar.gz", "has_sig": false, "md5_digest": "830cfd57f3d63109111e9394742beaed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3995, "upload_time": "2019-08-17T23:43:02", "url": "https://files.pythonhosted.org/packages/8a/ca/654497b4d404c4351a2a66c74a4dc8f0b586c7a3fcf9b5f48dde8f376542/backwork-backup-mongo-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "830cfd57f3d63109111e9394742beaed", "sha256": "4ad319cc59410b388ca3e9b1d60a3e4baa2f70c0101b6d6f395811825bdc002b" }, "downloads": -1, "filename": "backwork-backup-mongo-0.3.0.tar.gz", "has_sig": false, "md5_digest": "830cfd57f3d63109111e9394742beaed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3995, "upload_time": "2019-08-17T23:43:02", "url": "https://files.pythonhosted.org/packages/8a/ca/654497b4d404c4351a2a66c74a4dc8f0b586c7a3fcf9b5f48dde8f376542/backwork-backup-mongo-0.3.0.tar.gz" } ] }