{ "info": { "author": "Cariad Eccleston", "author_email": "cariad@cariad.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Site Management" ], "description": "# py-wordpress-backup\n\nA Python package for backing up and restoring a self-hosted WordPress installation, including the database and uploaded content.\n\nThe backup file will contain:\n\n - Your database as a MySQL dump.\n - An exact copy of your entire WordPress directory.\n\n## TODO\n\n - Unit tests.\n - Handle `wp-config.php` being somewhere other than the default location.\n\n## Installation\n\n```shell\npip install wpbackup\n```\n\n## Usage\n\nTo backup:\n\n```shell\npython3 -m wpbackup --backup \\\n --wp-dir /www/wordpress \\\n --archive ~/backup.tar.gz\n```\n\nNote that the current release of `py-wordpress-backup` expected `wp-config.php` to exist within your WordPress directory, and will use it to read your database credentials to perform the backup. Keeping your `wp-config.php` file in this location *might* not be the best practice, and I'll likely handle this in a future update.\n\nTo restore using database admin credentials held in AWS Secrets Manager:\n\n```shell\npython3 -m wpbackup --restore \\\n --wp-dir /www/wordpress \\\n --archive ~/backup.tar.gz \\\n --admin-credentials-aws-secret-id AdminUserSecretID \\\n --admin-credentials-aws-region eu-west-1\n```\n\nTo restore with specified database admin credentials:\n\n```shell\npython3 -m wpbackup --restore \\\n --wp-dir /www/wordpress \\\n --archive ~/backup.tar.gz \\\n --admin-user admin \\\n --admin-password trustno1\n```\n\n## Development\n\n### Prerequisites\n\npy-wordpress-backup requires Python 3.x.\n\n### Installing dependencies\n\n```shell\npip install -e .[dev]\n```\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/cariad/py-wordpress-backup", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wpbackup", "package_url": "https://pypi.org/project/wpbackup/", "platform": "", "project_url": "https://pypi.org/project/wpbackup/", "project_urls": { "Homepage": "https://github.com/cariad/py-wordpress-backup" }, "release_url": "https://pypi.org/project/wpbackup/0.1/", "requires_dist": [ "chesney (~=1.0)", "wpconfigr (~=1.0)", "wpdatabase (~=1.0)", "autopep8 ; extra == 'dev'", "coverage ; extra == 'dev'", "pylint ; extra == 'dev'" ], "requires_python": "", "summary": "Backup and restore all your self-hosted WordPress content.", "version": "0.1" }, "last_serial": 4586948, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f0b0dce464a727657bd4c0b683b25540", "sha256": "4a7710feacdac4e509012e046a1b1ee55c29d9dc4dccb780ac4e518fb759eff3" }, "downloads": -1, "filename": "wpbackup-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f0b0dce464a727657bd4c0b683b25540", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6416, "upload_time": "2018-12-11T19:39:46", "url": "https://files.pythonhosted.org/packages/36/29/bc10d33c9e7df014fd6d45b9de887db30e089610244ab331e1400ce65508/wpbackup-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2990acb44cffc9399b54af6fc4ded85b", "sha256": "ec324342e47a8868b775c1b42c065b2595d62e0f1e2ba933b757829157a261f2" }, "downloads": -1, "filename": "wpbackup-0.1.tar.gz", "has_sig": false, "md5_digest": "2990acb44cffc9399b54af6fc4ded85b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4655, "upload_time": "2018-12-11T19:39:48", "url": "https://files.pythonhosted.org/packages/b1/03/550c534f040c13efd9142ffccebace6f7aeaf837ded9efb5691cc50fe58f/wpbackup-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0b0dce464a727657bd4c0b683b25540", "sha256": "4a7710feacdac4e509012e046a1b1ee55c29d9dc4dccb780ac4e518fb759eff3" }, "downloads": -1, "filename": "wpbackup-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f0b0dce464a727657bd4c0b683b25540", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6416, "upload_time": "2018-12-11T19:39:46", "url": "https://files.pythonhosted.org/packages/36/29/bc10d33c9e7df014fd6d45b9de887db30e089610244ab331e1400ce65508/wpbackup-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2990acb44cffc9399b54af6fc4ded85b", "sha256": "ec324342e47a8868b775c1b42c065b2595d62e0f1e2ba933b757829157a261f2" }, "downloads": -1, "filename": "wpbackup-0.1.tar.gz", "has_sig": false, "md5_digest": "2990acb44cffc9399b54af6fc4ded85b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4655, "upload_time": "2018-12-11T19:39:48", "url": "https://files.pythonhosted.org/packages/b1/03/550c534f040c13efd9142ffccebace6f7aeaf837ded9efb5691cc50fe58f/wpbackup-0.1.tar.gz" } ] }