{ "info": { "author": "Isac Petruzzi", "author_email": "isac@artsymail.com", "bugtrack_url": null, "classifiers": [], "description": "# jenkins-backup-s3\n\nA collection of scripts to backup Jenkins configuration to S3, as well as manage and restore those backups. By default\nruns silently (no output) with proper exit codes. Log Level option enables output.\n\n## Setup\n\n`pip install jenkins-backup-s3`\n\n### Configure S3 and IAM\n\n- Create an S3 bucket to store backups.\n\n- Create an IAM role with STS:AssumeRole and a trust Service ec2.amazonaws.com. The IAM role must have the `GetObject`, `DeleteObject`, `PutObject` and `ListBucket` S3 permissions for that bucket.\n\n## Usage\n\nSetup with cron for ideal usage.\n\n`backup-jenkins {OPTIONS} {COMMAND} {COMMAND_OPTIONS}`\n\nOptions can be set directly or via and environment variable.\n\nThe only required option is your S3 bucket:\n - `backup-jenkins --bucket={BUCKET_NAME}`\n\nOther available options are:\n\nBucket prefix (defaults to \"jenkins-backups\"):\n - `backup-jenkins --bucket-prefix={BUCKET_PREFIX}`\n\nBucket region (defaults to \"us-east-1\"):\n - `backup-jenkins --bucket-region={BUCKET_REGION}`\n\nAvailable commands:\n - `create`\n - `restore`\n - `list`\n - `delete`\n - `prune`\n\nRun `backup-jenkins {COMMAND} --help` for command-specific options.\n\n## Running a daily backup on Jenkins\n\nCreate a new item in Jenkins and configure a build of this repository.\n\nSet the shell / virtualenv builder (if you have it installed) to run `backup-jenkins create`.\n\nSet the build on a daily CRON schedule.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/artsy/jenkins-backup-s3", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jenkins-backup-s3", "package_url": "https://pypi.org/project/jenkins-backup-s3/", "platform": "", "project_url": "https://pypi.org/project/jenkins-backup-s3/", "project_urls": { "Homepage": "http://github.com/artsy/jenkins-backup-s3" }, "release_url": "https://pypi.org/project/jenkins-backup-s3/0.1.9/", "requires_dist": [ "boto3 (~=1.9)", "click (~=7.0)", "colorama (~=0.4)", "python-dateutil (~=2.8)", "termcolor (~=1.1)" ], "requires_python": "", "summary": "Backup Jenkins to S3", "version": "0.1.9" }, "last_serial": 5192520, "releases": { "0.1.7": [ { "comment_text": "", "digests": { "md5": "cc9f4f7565cacc73036eeb4fe99115f1", "sha256": "818039d80a63de123538a57611df16d85fcc78ab434addbe43dd8113659e7f5b" }, "downloads": -1, "filename": "jenkins_backup_s3-0.1.7-py2-none-any.whl", "has_sig": false, "md5_digest": "cc9f4f7565cacc73036eeb4fe99115f1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4581, "upload_time": "2018-11-01T16:02:33", "url": "https://files.pythonhosted.org/packages/06/be/9cc1c6e9d3973cdbb88f15d769806ea95188405e0c930b6486b2949152a2/jenkins_backup_s3-0.1.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "352ddcea7b8304af150c101bacf865dd", "sha256": "445c8221e4e41223a8846743989a98fa353e1007ff4982afff9f4de243bcc7a8" }, "downloads": -1, "filename": "jenkins-backup-s3-0.1.7.tar.gz", "has_sig": false, "md5_digest": "352ddcea7b8304af150c101bacf865dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4376, "upload_time": "2018-11-01T16:02:34", "url": "https://files.pythonhosted.org/packages/a8/f8/4af83d59718ec6b4588531fc00c515d82a8ed2eea668c515ca239a9e78c6/jenkins-backup-s3-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "f85170ebe8f609ede2f72a6f0c427c28", "sha256": "df66d83f217909c51284d2d9f772aee8b4274e6879443f03a9393421270df525" }, "downloads": -1, "filename": "jenkins_backup_s3-0.1.8-py2-none-any.whl", "has_sig": false, "md5_digest": "f85170ebe8f609ede2f72a6f0c427c28", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5294, "upload_time": "2018-11-01T16:13:06", "url": "https://files.pythonhosted.org/packages/1a/97/ff43aa43d9ffaa4808cc8c22c3cd40d587bb5c792ebb435ce0457777b9a0/jenkins_backup_s3-0.1.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6ededa4b91ba5369c21c5b024ffebe7", "sha256": "8a8b92f230fc7e5b6edc14573f88edbefbc61ecdc4049687e9085e61198463ba" }, "downloads": -1, "filename": "jenkins-backup-s3-0.1.8.tar.gz", "has_sig": false, "md5_digest": "c6ededa4b91ba5369c21c5b024ffebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4597, "upload_time": "2018-11-01T16:13:07", "url": "https://files.pythonhosted.org/packages/aa/a3/b01473b1e265abe2a150b38b2ac5cd24a01cd95446932f06b86a00babcf8/jenkins-backup-s3-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "3299b1e274be099798180ef46836981a", "sha256": "d7a07618a95d684c2c24a335661ce36bd17d7df43644e1b5d4792292f1157ce2" }, "downloads": -1, "filename": "jenkins_backup_s3-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "3299b1e274be099798180ef46836981a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6074, "upload_time": "2019-04-26T12:13:17", "url": "https://files.pythonhosted.org/packages/75/41/c6756fd28c60f038660c0231ccdf18dd54a1dedf62015a72c3562020b068/jenkins_backup_s3-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "818ff2c6af6cc66416f20c79e77b25cf", "sha256": "78080b1a541f826c9b343aba4f97e00fcab767bb1370887a295a2f52d71a45bc" }, "downloads": -1, "filename": "jenkins-backup-s3-0.1.9.tar.gz", "has_sig": false, "md5_digest": "818ff2c6af6cc66416f20c79e77b25cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4548, "upload_time": "2019-04-26T12:13:19", "url": "https://files.pythonhosted.org/packages/67/d5/8836f375d0acafd839764b34cc6fcdac7413091915d2216f52693ebff993/jenkins-backup-s3-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3299b1e274be099798180ef46836981a", "sha256": "d7a07618a95d684c2c24a335661ce36bd17d7df43644e1b5d4792292f1157ce2" }, "downloads": -1, "filename": "jenkins_backup_s3-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "3299b1e274be099798180ef46836981a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6074, "upload_time": "2019-04-26T12:13:17", "url": "https://files.pythonhosted.org/packages/75/41/c6756fd28c60f038660c0231ccdf18dd54a1dedf62015a72c3562020b068/jenkins_backup_s3-0.1.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "818ff2c6af6cc66416f20c79e77b25cf", "sha256": "78080b1a541f826c9b343aba4f97e00fcab767bb1370887a295a2f52d71a45bc" }, "downloads": -1, "filename": "jenkins-backup-s3-0.1.9.tar.gz", "has_sig": false, "md5_digest": "818ff2c6af6cc66416f20c79e77b25cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4548, "upload_time": "2019-04-26T12:13:19", "url": "https://files.pythonhosted.org/packages/67/d5/8836f375d0acafd839764b34cc6fcdac7413091915d2216f52693ebff993/jenkins-backup-s3-0.1.9.tar.gz" } ] }