{ "info": { "author": "Spencer Heywood", "author_email": "l.spencer.heywood@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# backutil\nPython Backup Utility\n\n## Description:\n`backutil` is a wrapper for the python `tarfile` library. As `tarfile` is a standard Python library, using `backutil` will provide a cross-platform and simple backup utility.\n\n\n## Installation:\n\nInstall using `pip`:\n\n`sudo pip3 install backutil`\n\n\n## Usage:\n```\n\u276f backutil --help\nusage: backutil [-h] [--path PATH [PATH ...]] [-o OUTFILE] [--webdav URL]\n [--remote REMOTE PATH] [--encrypt RECIPIENT] [-z] [--rm] [-v]\n [-q] [-i] [-V]\n\nPython backup utility\n\noptional arguments:\n -h, --help show this help message and exit\n --path PATH [PATH ...]\n path(s) to backup\n -o OUTFILE, --outfile OUTFILE\n output file of backup\n --webdav URL WebDav URL to upload to\n --remote REMOTE PATH Remote WebDav path to upload to\n --encrypt RECIPIENT Use gpg to encrypt file\n -z, --zip use gzip to compress the backup file\n --rm remove local backup file\n -v, --verbose enable verbose output\n -q, --quiet suppress output\n -i, --insecure ignore SSL certificate warnings\n -V, --version print version of backutil\n```\n\n\n### Example commands:\n\nBackup two files to a .tar archive:\n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/Documents/file.tar`\n\nBackup and compress to .tar.gz archive:\n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/Documents/file.tar.gz -z`\n\nBackup to a .tar archive verbosely:\n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/Documents/file.tar -v`\n\nBackup and compress to a .tar.gz archive, supressing output:\n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/Documents/file.tar.gz -z -q`\n\nBackup file, zip it and upload to Nextcloud Webdav as file.tar.gz in the Nextcloud user's root directory: \n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/file.tar.gz --webdav 'https://cloud.example.com:8080/' --remote file.tar.gz -z`\n\nBackup files, zip them and upload the archive to Nextcloud Webdav as file.tar.gz in the Nextcloud user's root directory, then remove the local archive: \n`\u276f backutil --path tmp.txt tmp2.txt --outfile ~/file.tar.gz --webdav 'https://cloud.example.com:8080/' --remote file.tar.gz -z --rm`\n\n\n### Configuration:\n\nBackutil supports a configuration file storing details, which enables non-interactive usage of backups (in case you'd like to run backutil as a cron job or something similar). \n\nPlace the file in your home directory as `.backutil.conf`. Currently this is the configuration you can use:\n```\n[WEBDAV]\nUsername = username\nPassword = mysupersecretpassword\n#Command = command_to_print_password\n```\n\nI would recommend not storing your password in plaintext and use `gpg`, `pass` or some other secure way to print your password from the command line without storing it unencrypted. That is why the 'Command' directive is supported in the configuration. \n\n\n### Additional Information:\nCurrently WebDav functionality has only been tested on an instance of Nextcloud.\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/heywoodlh/backutil", "keywords": "", "license": "APACHE-2.0", "maintainer": "", "maintainer_email": "", "name": "backutil", "package_url": "https://pypi.org/project/backutil/", "platform": "", "project_url": "https://pypi.org/project/backutil/", "project_urls": { "Homepage": "https://github.com/heywoodlh/backutil" }, "release_url": "https://pypi.org/project/backutil/0.1.6/", "requires_dist": [ "requests", "python-gnupg" ], "requires_python": "", "summary": "Python backup utility", "version": "0.1.6" }, "last_serial": 5364562, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4cb60114b344e2441ee9365e9d72a814", "sha256": "7afff2df4b55f942cb09fc971860428154f408fea7a7bb531c2a6bb9b7e18187" }, "downloads": -1, "filename": "backutil-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4cb60114b344e2441ee9365e9d72a814", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2782, "upload_time": "2018-04-27T18:11:31", "url": "https://files.pythonhosted.org/packages/c8/ab/fb1caeed50f7f75c7f1da9e2fcf4fa011363f71ed0379b4f580ec6e0d80e/backutil-0.1-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dfc55223fed822868f9a23abe692894f", "sha256": "4f760ab937c9827a71c08850b56e23e16ddf2b27c4b8935eba2aa000081ac997" }, "downloads": -1, "filename": "backutil-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dfc55223fed822868f9a23abe692894f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3812, "upload_time": "2018-04-27T18:39:21", "url": "https://files.pythonhosted.org/packages/b5/04/e979a9f875b7aece0760f8775a92e9753dcb3838d9f6b2eb860692c2aa0a/backutil-0.1.1-py2.py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4a9f8de27e5e6dd714f5e06205cd0f2c", "sha256": "d1ff90476eda1bc86036a263e6a94cf584bb324d9ca216a0195448bdee7cf032" }, "downloads": -1, "filename": "backutil-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4a9f8de27e5e6dd714f5e06205cd0f2c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4491, "upload_time": "2018-04-27T20:27:22", "url": "https://files.pythonhosted.org/packages/aa/c9/baad3bdb3f8e17765e0f3a5e75fa9b9b83f4888f6a6ac40365a041830e4f/backutil-0.1.2-py2.py3-none-any.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d512a795df8ce19ee900fc2ff1f8ea82", "sha256": "6e9f9b8e58d7c1475647e7f144312b6ccd777a2a18c9bd5e6d296d642cb9ddee" }, "downloads": -1, "filename": "backutil-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d512a795df8ce19ee900fc2ff1f8ea82", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3135, "upload_time": "2018-05-24T21:42:01", "url": "https://files.pythonhosted.org/packages/81/61/0137021eea7bccb2148e6a7ba2f8c1a7fb8f3949febb7576ea025e17f86a/backutil-0.1.3-py2.py3-none-any.whl" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ee2619cd874a3b211ec71cb04ffad6b3", "sha256": "6642d65de277084bcce23fd7daa3389d5ef3a8c656c367cb60cd60ce799776e6" }, "downloads": -1, "filename": "backutil-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ee2619cd874a3b211ec71cb04ffad6b3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4084, "upload_time": "2018-05-25T04:55:46", "url": "https://files.pythonhosted.org/packages/71/ab/a8bb6b7bdcfe568c0ca7811a3992ae9f936f1c90c0be3f18ae89c8a7cf4f/backutil-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df01a1f6ad7f2e4c9a304deeed2765f7", "sha256": "ba6b4b0d293bd168c0042926b3bd53b24e5121e876fecf40e0abef40a0b7fe0e" }, "downloads": -1, "filename": "backutil-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "df01a1f6ad7f2e4c9a304deeed2765f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8295, "upload_time": "2019-06-05T21:33:25", "url": "https://files.pythonhosted.org/packages/5c/34/9a3eb6eec0aa36172484e68a840f2c2aafbdb683b438d0b85fd77942ddf5/backutil-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d52272bf38889ef805df19744409a0de", "sha256": "c23b7d38031f796a131d33770829275934c8973ab71549cdc8c4330d17b59dd5" }, "downloads": -1, "filename": "backutil-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d52272bf38889ef805df19744409a0de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3807, "upload_time": "2019-06-05T21:33:26", "url": "https://files.pythonhosted.org/packages/e1/6e/9bad30d640ea8bf2f779b1af4fd684e7dd12d5482b87ecdede09fac00c6a/backutil-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "5f346a5945671306384973ce9c740075", "sha256": "c42c1ec79da8d26421c830d714161eda936de3596fbf0cd1a1a7d5aa6a6bb784" }, "downloads": -1, "filename": "backutil-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "5f346a5945671306384973ce9c740075", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8296, "upload_time": "2019-06-05T21:35:46", "url": "https://files.pythonhosted.org/packages/6c/da/4c379ea6ba85361d5c2b546ee4c82a183eb75dd44e5cfc77a433f4512e60/backutil-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4549055f6f29750cb0b09f68376342b2", "sha256": "db78f238aa3e1a3d63199f73ce2189b2b4dfefe187ddf4f628759a89f80a592f" }, "downloads": -1, "filename": "backutil-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4549055f6f29750cb0b09f68376342b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3819, "upload_time": "2019-06-05T21:35:47", "url": "https://files.pythonhosted.org/packages/9b/c0/d32fc7c3166887f0b54dafef68d871dcb639ae98d68b59cb6aeede7b1f06/backutil-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e632fcd72815f584e00095aaa4004868", "sha256": "ab1dfcd3ccd86ac426b3de6385968e02c4e9dad064b284514ba215bfa77cedca" }, "downloads": -1, "filename": "backutil-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e632fcd72815f584e00095aaa4004868", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8504, "upload_time": "2019-06-05T22:23:55", "url": "https://files.pythonhosted.org/packages/fa/2d/47b8b0737c3f28cf860f7406810e73796cc9266a5e05567bc33de0023359/backutil-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63d4e861a4775b469b8483104afc2273", "sha256": "6b8ce99c51170c3d176468b00e0e9227282b985e77f603b55fb6f51235995408" }, "downloads": -1, "filename": "backutil-0.1.6.tar.gz", "has_sig": false, "md5_digest": "63d4e861a4775b469b8483104afc2273", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4046, "upload_time": "2019-06-05T22:23:56", "url": "https://files.pythonhosted.org/packages/0c/1f/d033ea901306a3227aad368c76fbbab32944ad81bd3e26f92b61475fb259/backutil-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e632fcd72815f584e00095aaa4004868", "sha256": "ab1dfcd3ccd86ac426b3de6385968e02c4e9dad064b284514ba215bfa77cedca" }, "downloads": -1, "filename": "backutil-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "e632fcd72815f584e00095aaa4004868", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8504, "upload_time": "2019-06-05T22:23:55", "url": "https://files.pythonhosted.org/packages/fa/2d/47b8b0737c3f28cf860f7406810e73796cc9266a5e05567bc33de0023359/backutil-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "63d4e861a4775b469b8483104afc2273", "sha256": "6b8ce99c51170c3d176468b00e0e9227282b985e77f603b55fb6f51235995408" }, "downloads": -1, "filename": "backutil-0.1.6.tar.gz", "has_sig": false, "md5_digest": "63d4e861a4775b469b8483104afc2273", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4046, "upload_time": "2019-06-05T22:23:56", "url": "https://files.pythonhosted.org/packages/0c/1f/d033ea901306a3227aad368c76fbbab32944ad81bd3e26f92b61475fb259/backutil-0.1.6.tar.gz" } ] }