{ "info": { "author": "Toby Slight", "author_email": "tobyslight@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# BACKUP & RESTORE SCRIPTS\n\nBackup or restore all user profiles on a host.\n\n## USAGE\n\n```\nusage: pyrap [-h] (-b | -r) [-u] [-x] [-v | -q] url\n\nBackup or restore users to an rsync server.\n\npositional arguments:\n url A valid rsync url.\n\noptional arguments:\n -h, --help show this help message and exit\n -b, --backup Backup users to rsync server or path.\n -r, --restore Restore users on from last backup.\n -u, --users Automate user selection.\n -x, --excludes Automate excludes selection.\n -v, --verbose Increase output verbosity.\n -q, --quiet Run silently.\n```\n\n## ARGUMENTS\n\n**[URL]**\n\nTakes an rsync url as an argument:\n\n`rsync://user@host:port/path/to/PARENT/of/Users`\n\nOr alternatively, any mountpoint will work:\n\n`/Volumes/Backups`\n\n## PITFALLS & CAVEATS\n\n**THE PATH ON THE REMOTE HOST MUST POINT TO PARENT OF USERS, NOT USERS!**\n\nOnce mounted the mountpoint should contain the Users directory underneath it.\n\nThe script backups to or restores from the following directory layout underneath\nthe mountpoint:\n\n`/mountpoint/Users/user.name/date`\n\nAnd logs to:\n\n`/mountpoint/Logs/CopyType/user.name/date.log`\n\n*Where CopyType equals either Backup or Restore.*\n\n**If this layout does not exist it will be created under the mountpoint.**\n\nUser, group and permissions will be retained and each backup will be hard-linked\nagainst the last to save space and mimic the functionality of Time Machine.\n\n\n\nIt's also worth pointing out that for the time being preserving extended\nattributes is not supported.\n\n## EXAMPLES\n\nTo backup from /Users to a rsync server, without prompting for each user:\n\n`pyrap -bu rsync://user@host:port/backups`\n\nTo restore from /Users to a rsync server, with increased verbosity:\n\n`pyrap -rv rsync://user@host:port/backups`\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": "https://github.com/tslight/pyrap", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyrap", "package_url": "https://pypi.org/project/pyrap/", "platform": "", "project_url": "https://pypi.org/project/pyrap/", "project_urls": { "Homepage": "https://github.com/tslight/pyrap" }, "release_url": "https://pypi.org/project/pyrap/0.0.5/", "requires_dist": [ "treepick", "yorn" ], "requires_python": "", "summary": "Rsync Wrapper to Backup/Restore all Users.", "version": "0.0.5" }, "last_serial": 4091160, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d75cff23133a0ff152f96d6df49db42d", "sha256": "eb076a3a298ec0bf7f39f845bd3ec9643a0947e8f3052d54a4f088f92fe23b90" }, "downloads": -1, "filename": "pyrap-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d75cff23133a0ff152f96d6df49db42d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7139, "upload_time": "2018-07-20T19:09:57", "url": "https://files.pythonhosted.org/packages/e2/cf/6c1fc33e5a56496e71a5add3f8c0fca62607aafbf68734650ec6e22a1707/pyrap-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92becc742d21c127d606ada23e4021d5", "sha256": "5a89230b027da777bde90adc9fa62e873d6eba5d21d0ca1862275757a270479e" }, "downloads": -1, "filename": "pyrap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "92becc742d21c127d606ada23e4021d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6317, "upload_time": "2018-07-20T19:09:58", "url": "https://files.pythonhosted.org/packages/ab/54/a1e5c8726ac66d746a105d7ca24ba201dc4b75fa71cbf4114a50c98e4540/pyrap-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4488975e09e784e2235d5be8730907ec", "sha256": "f7718aeaa1db5e235b03656f7c0aa5ed8be7d83489c238a093999f9bcc891f1c" }, "downloads": -1, "filename": "pyrap-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4488975e09e784e2235d5be8730907ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6721, "upload_time": "2018-07-22T00:24:30", "url": "https://files.pythonhosted.org/packages/d8/95/fca333f2222b0c872785faf89fc2e93be68ef688e730558d8b15952d6080/pyrap-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "688b1c81355c6b06eaff8ef2ed9c5fba", "sha256": "bec6d36c5f34b7058e92ff48be4ad10853cfff0221c01330d35dc52bf585c5e7" }, "downloads": -1, "filename": "pyrap-0.0.3.tar.gz", "has_sig": false, "md5_digest": "688b1c81355c6b06eaff8ef2ed9c5fba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5763, "upload_time": "2018-07-22T00:24:31", "url": "https://files.pythonhosted.org/packages/33/dc/fa9d7d34c078385183cbbf0635ec4e65aefbdcaaab84b6bdff44795a2181/pyrap-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "58246fa4d7432465ae06db047e223c2e", "sha256": "e19712f4fd8f11f47758b538dcb2a18e0ebe984ce12d6d49589566e5940239b3" }, "downloads": -1, "filename": "pyrap-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "58246fa4d7432465ae06db047e223c2e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6740, "upload_time": "2018-07-22T17:51:17", "url": "https://files.pythonhosted.org/packages/ce/02/e34733fdbff9d09ba859045a74cad9d8b4c9eda89e388d87d872fac2b649/pyrap-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ee0a13e3129cbfc8fd7efb97a08af18", "sha256": "dec418f2511530dee99a5cb7ba3c7f1be4fac809e6fd788e4adfead6be72aa1a" }, "downloads": -1, "filename": "pyrap-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6ee0a13e3129cbfc8fd7efb97a08af18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4185, "upload_time": "2018-07-22T17:51:18", "url": "https://files.pythonhosted.org/packages/f9/f7/e17775a2eda780b5b6d32207e42cf9efe13aaa77f529e86d6f0af24fe015/pyrap-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "705961931d0b4807c50faa87611c3ed9", "sha256": "8623e0296a1052dfe4e80449bd3539a83184d5d0d4dc046d6afea6d32b4a10bd" }, "downloads": -1, "filename": "pyrap-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "705961931d0b4807c50faa87611c3ed9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6740, "upload_time": "2018-07-22T22:53:41", "url": "https://files.pythonhosted.org/packages/0c/01/1000f4bdcd175d628651ee9c95467a9a8f7cffff2f3e878327a10186b546/pyrap-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baef5f9436ce314ea2f2c8ea5f35769f", "sha256": "38b7141a53ea1cd0fa1dba41773b7671036ec6240e82c3f930d932123ba22290" }, "downloads": -1, "filename": "pyrap-0.0.5.tar.gz", "has_sig": false, "md5_digest": "baef5f9436ce314ea2f2c8ea5f35769f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4180, "upload_time": "2018-07-22T22:53:42", "url": "https://files.pythonhosted.org/packages/4a/88/84a6eb2d91146e23c1bd52d1dcd65d2cf838f04f2466c47577b6f8063574/pyrap-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "705961931d0b4807c50faa87611c3ed9", "sha256": "8623e0296a1052dfe4e80449bd3539a83184d5d0d4dc046d6afea6d32b4a10bd" }, "downloads": -1, "filename": "pyrap-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "705961931d0b4807c50faa87611c3ed9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6740, "upload_time": "2018-07-22T22:53:41", "url": "https://files.pythonhosted.org/packages/0c/01/1000f4bdcd175d628651ee9c95467a9a8f7cffff2f3e878327a10186b546/pyrap-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baef5f9436ce314ea2f2c8ea5f35769f", "sha256": "38b7141a53ea1cd0fa1dba41773b7671036ec6240e82c3f930d932123ba22290" }, "downloads": -1, "filename": "pyrap-0.0.5.tar.gz", "has_sig": false, "md5_digest": "baef5f9436ce314ea2f2c8ea5f35769f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4180, "upload_time": "2018-07-22T22:53:42", "url": "https://files.pythonhosted.org/packages/4a/88/84a6eb2d91146e23c1bd52d1dcd65d2cf838f04f2466c47577b6f8063574/pyrap-0.0.5.tar.gz" } ] }