{ "info": { "author": "drillbits", "author_email": "neji@drillbits.jp", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: System :: Archiving :: Backup" ], "description": "=====\ntirds\n=====\n\n``tirds`` is a command-line tool to backup and restore Google Cloud Datastore Entities via local.\n\n``tirds`` stands for `Totte IRete DaSu(DataStore) `_.\n\nYou can back up Google Cloud Datastore entities, and restore them. Backups are saved to Google Cloud Storage. For details, see `Backing Up and Restoring `_.\n\nBut if you move a backup to another bucket, you will not be able to restore it. Because the ``backup_info`` file that is metadata of the backup includes the bucket name.\n\n``tirds`` downloads a backup contains ``backup_info`` and blob files from the specified bucket, and uploads it to another bucket after replacing the bucket name in the ``backup_info``.\n\nInstallation\n============\n\nTo install, use ``pip``.\n\n.. code-block:: bash\n\n $ pip install tirds\n\nUsage\n=====\n\n.. code-block:: bash\n\n $ tirds -h\n\n---------------\nDownload backup\n---------------\n\nDownload a backup from Google Cloud Storage.\n\n.. code-block:: bash\n\n $ tirds download --out OUTDIR --key-file KEYFILE handle\n\nYou can get ``handle`` from datastore admin.\n\n.. image:: https://raw.githubusercontent.com/drillbits/tirds/master/doc/datastore_admin.png\n\n.. image:: https://raw.githubusercontent.com/drillbits/tirds/master/doc/datastore_admin_backup_info.png\n\n``KEYFILE`` is a path to the private key file for Service Account.\n\n-------------\nUpload backup\n-------------\n\nUpload a backup to Google Cloud Storage after replacing the bucket name.\n\n.. code-block:: bash\n\n $ tirds upload --key-file KEYFILE srcdir bucket\n\n``srcdir`` is a path to the backup.\n\n``bucket`` is a bucket name that is the upload destination and to be replaced with original bucket name.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/drillbits/tirds", "keywords": "appengine gae datastore backup restore", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "tirds", "package_url": "https://pypi.org/project/tirds/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tirds/", "project_urls": { "Homepage": "https://github.com/drillbits/tirds" }, "release_url": "https://pypi.org/project/tirds/0.0.2/", "requires_dist": [ "appengine-sdk", "google-cloud-storage", "pyyaml" ], "requires_python": "", "summary": "tirds is a command-line tool to backup and restore Google Cloud Datastore Entities via local", "version": "0.0.2" }, "last_serial": 2740383, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d20e9dfe5e74b2f2fc71b9c1265c4a32", "sha256": "3ef539d97161071568a439c4b6edfee58366d05dd0e9350f7adc22f502066114" }, "downloads": -1, "filename": "tirds-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d20e9dfe5e74b2f2fc71b9c1265c4a32", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9518, "upload_time": "2017-03-30T04:26:27", "url": "https://files.pythonhosted.org/packages/c4/28/3d182489c23eea410e77f9b7b5f1249080403c02c7abdbba494572d27369/tirds-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43ff1e545e001803d5998eb5239daa50", "sha256": "69d3863b186cdb9a57cd43e3805e0ab59ab0c4a609b40b7aee5644fdbe4e88e7" }, "downloads": -1, "filename": "tirds-0.0.2.tar.gz", "has_sig": false, "md5_digest": "43ff1e545e001803d5998eb5239daa50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4823, "upload_time": "2017-03-30T04:26:29", "url": "https://files.pythonhosted.org/packages/47/b8/bdf5e2d99661d4fc8117340a22ca2ca0da25ae0f0455b6d4a294d7a75ae5/tirds-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d20e9dfe5e74b2f2fc71b9c1265c4a32", "sha256": "3ef539d97161071568a439c4b6edfee58366d05dd0e9350f7adc22f502066114" }, "downloads": -1, "filename": "tirds-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d20e9dfe5e74b2f2fc71b9c1265c4a32", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9518, "upload_time": "2017-03-30T04:26:27", "url": "https://files.pythonhosted.org/packages/c4/28/3d182489c23eea410e77f9b7b5f1249080403c02c7abdbba494572d27369/tirds-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43ff1e545e001803d5998eb5239daa50", "sha256": "69d3863b186cdb9a57cd43e3805e0ab59ab0c4a609b40b7aee5644fdbe4e88e7" }, "downloads": -1, "filename": "tirds-0.0.2.tar.gz", "has_sig": false, "md5_digest": "43ff1e545e001803d5998eb5239daa50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4823, "upload_time": "2017-03-30T04:26:29", "url": "https://files.pythonhosted.org/packages/47/b8/bdf5e2d99661d4fc8117340a22ca2ca0da25ae0f0455b6d4a294d7a75ae5/tirds-0.0.2.tar.gz" } ] }