{ "info": { "author": "Nick Zaccardi", "author_email": "nick.zaccardi@level12.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "Worek - A Database Backup Tool\n##############################\n\n.. image:: https://circleci.com/gh/level12/worek.svg?style=shield\n :target: https://circleci.com/gh/level12/worek\n.. image:: https://codecov.io/gh/level12/worek/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/level12/worek\n\n\nIntroduction\n---------------\n\nA logical database backup tool.\n\n* Create full binary backups of a PostgreSQL database\n* Restore a text or binary backup of a PostgreSQL database\n* Can restore a database over the top of an existing database (clears all data\n first) meaning you don't need a super user to restore a database.\n\n\nUsage\n--------------\n\nCreate a backup with the contents going to a file\n\n.. code::\n\n $ worek backup -d database_name -f ./backup.bin\n\n\nCreate a backup with the contents going to STDOUT\n\n.. code::\n\n $ worek backup -d database_name \\\n | openssl enc -aes-256-cbc -pass file:password.txt -md sha256 -d -out backup.bak.enc\n\n\nRestore a backup from STDIN. Note you have to use the `-F` property to specify\nthe type of backup you are handing. This is not required when using `-f` and\nspecifying the file path.\n\n.. code::\n\n $ openssl enc -aes-256-cbc -pass file:password.txt -md sha256 -d -in backup.bak.enc \\\n | worek restore -h localhost -d database_name -F c\n\n\nSupports standard `PG environment variables`\n\n.. code::\n\n $ PGPORT=5432 worek backup -d database_name -f ./backup.bin\n\n\n.. _PG environment variables: https://www.postgresql.org/docs/current/libpq-envars.html\n\n\nChangelog\n=========\n\n0.1.0 released 2019-04-03\n-------------------------\n\n- Cleanup Piping Mechanism (da86b5b_)\n- Setup CI for PG9.6 and PG10 (002640b_)\n- Cleanup API and add tests (e5371da_)\n- Update Readme (0697703_)\n- Add init for packages (78e6ec2_)\n- Setup a Postgres Backup Tool (be27b46_)\n\n.. _da86b5b: https://github.com/level12/worek/commit/da86b5b\n.. _002640b: https://github.com/level12/worek/commit/002640b\n.. _e5371da: https://github.com/level12/worek/commit/e5371da\n.. _0697703: https://github.com/level12/worek/commit/0697703\n.. _78e6ec2: https://github.com/level12/worek/commit/78e6ec2\n.. _be27b46: https://github.com/level12/worek/commit/be27b46\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/level12/worek", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "worek", "package_url": "https://pypi.org/project/worek/", "platform": "", "project_url": "https://pypi.org/project/worek/", "project_urls": { "Homepage": "https://github.com/level12/worek" }, "release_url": "https://pypi.org/project/worek/0.1.0/", "requires_dist": [ "sqlalchemy", "click", "psycopg2-binary", "pytest ; extra == 'ci'", "pytest-cov ; extra == 'ci'", "flake8 ; extra == 'ci'", "check-manifest ; extra == 'ci'", "docutils ; extra == 'ci'" ], "requires_python": "", "summary": "Database Backup Command Line Utility", "version": "0.1.0" }, "last_serial": 5092738, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "19fb9bfbeeaf5542db27163d846afb7e", "sha256": "7b8265576b794caa6bdb318d13cb275a38918da80beb8f0db0effb48280199f6" }, "downloads": -1, "filename": "worek-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19fb9bfbeeaf5542db27163d846afb7e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15371, "upload_time": "2019-04-03T20:01:42", "url": "https://files.pythonhosted.org/packages/99/74/6bf442a5be850851e7b2d05bc7ef43c21ef650cc9ade94a43bd904eb6ba9/worek-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28ff47f7b740d68a010ab6e94be47226", "sha256": "256ad5bf55ae6f4a433beb1704cdec6186bace6a11d82857512887470beac434" }, "downloads": -1, "filename": "worek-0.1.0.tar.gz", "has_sig": false, "md5_digest": "28ff47f7b740d68a010ab6e94be47226", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14444, "upload_time": "2019-04-03T20:01:45", "url": "https://files.pythonhosted.org/packages/8d/8b/8d89efdec449528e7d3da7ff1757fa5bba128cfc61bd65cf20db4f3e7254/worek-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "19fb9bfbeeaf5542db27163d846afb7e", "sha256": "7b8265576b794caa6bdb318d13cb275a38918da80beb8f0db0effb48280199f6" }, "downloads": -1, "filename": "worek-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19fb9bfbeeaf5542db27163d846afb7e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15371, "upload_time": "2019-04-03T20:01:42", "url": "https://files.pythonhosted.org/packages/99/74/6bf442a5be850851e7b2d05bc7ef43c21ef650cc9ade94a43bd904eb6ba9/worek-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28ff47f7b740d68a010ab6e94be47226", "sha256": "256ad5bf55ae6f4a433beb1704cdec6186bace6a11d82857512887470beac434" }, "downloads": -1, "filename": "worek-0.1.0.tar.gz", "has_sig": false, "md5_digest": "28ff47f7b740d68a010ab6e94be47226", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14444, "upload_time": "2019-04-03T20:01:45", "url": "https://files.pythonhosted.org/packages/8d/8b/8d89efdec449528e7d3da7ff1757fa5bba128cfc61bd65cf20db4f3e7254/worek-0.1.0.tar.gz" } ] }