{ "info": { "author": "Adam Brenecki, St Barnabas' Theological College", "author_email": "abrenecki@sbtc.org.au", "bugtrack_url": null, "classifiers": [], "description": "django-icybackup\n================\n\nBack up your databases and media directory to a local file/directory or\nAmazon Glacier. Works with PostgreSQL, MySQL and sqlite.\n\nA fork of (a fork of) django-backup which adds:\n\n- Multiple database support\n- Optionally save your backups to Amazon Glacier\n- Less assumptions about presence of a Bourne-like shell and GNU tools\n- Less tarballception (no more redundant tarballs inside tarballs)\n- Postgres-specific improvements:\n\n - Uses the custom archive type for ``pg_dump``, for maximum\n flexibility at restore time, so there's no need to worry about\n having to hand-edit or craft cryptic regexes for a\n many-thousand-line SQL file when restoring just because the wrong\n command line flags were used when making the backup.\n - Doesn't pass PostgreSQL database password via command line\n argument, as doing so can reveal your database password to other\n users on the same machine.\n\n**Warning to MySQL Users:** This script may expose your MySQL database\npassword to other users on the same machine, as it is passed in via a\ncommand line argument. Pull requests to fix this problem are welcome.\n\nInstallation\n------------\n\nRun ``pip install django-icybackup``, then add ``icybackup`` to your\n``INSTALLED_APPS``.\n\nUsage\n-----\n\nBacking up\n~~~~~~~~~~\n\n- ``manage.py backup -o backup.tgz`` - back up to ``backup.tgz``\n- ``manage.py backup -d backups`` - back up to\n ``backups/[CURRENT_DATETIME].tgz``\n- ``manage.py backup -g arn:was:glacier:us-east-1:2584098540980:vaults/my-website-backups``\n - backup to the ``my-website-backups`` Amazon Glacier vault, given by\n it's ARN\n- ``manage.py backup --stdout`` - back up to stdout\n\nSupports the following optional flags:\n\n- ``-e extra_file`` - Add an extra file or directory to the backup (can\n be specified multiple times)\n\nRestoring\n~~~~~~~~~\n\n- ``manage.py restore -i backup.tgz`` - restore from ``backup.tgz``\n- ``manage.py restore --stdin`` - restore from stdin\n\nOptional flags:\n\n- ``--pg-restore-flags`` - flags to pass to the ``pg_restore`` process\n (default is ``Oxc``). If the database you're restoring into exists\n and is empty, use ``--pg-restore-flags=Ox``.\n\nTip: If you want to move servers, or copy your production database/media\nexactly to development or staging, it is possible to do something like\nthis:\n\n::\n\n ssh other-server 'cd path/to/app && manage.py backup --stdout' | manage.py restore --stdin\n\n``settings.py`` settings\n~~~~~~~~~~~~~~~~~~~~~~~~\n\n- ``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_ACCESS_KEY`` - Optional, but\n required for Amazon Glacier upload to work.\n- ``PG_DUMP_BIN``, ``PG_RESTORE_BIN``, ``MYSQLDUMP_BIN``, ``MYSQL_BIN``\n - Optional. Set these to the full paths to the ``pg_dump`` and\n ``pg_restore``, ``mysqldump`` and ``mysql`` binaries. If not set,\n icybackup will try to find them on the search path. (Note that cron\n jobs often run with a much smaller search path, so it's a good idea\n to set these if you're backing up using cron.)\n\nTo do\n-----\n\n- Backup directory cleanup command\n- Tests\n- remove password from ``mysqldump`` process name\n- Restore command\n- Commands to reconcile and prune Glacier backups\n\nContributors\n------------\n\nThe following people contributed code to this project or its ancestors,\nin chronological order by first commit:\n\n- Dmitriy Kovalev\n- Ted Tieken\n- Chris Cohoat\n- Jamie Matthews\n- Yar Kravtsov\n- Adam Brenecki, St Barnabas' Theological College\n\nLicense\n-------\n\nCopyright \u00a9 2012, St Barnabas' Theological College\nCopyright \u00a9 2011, Ted Tieken\nCopyright \u00a9 2011, http://code.google.com/p/django-backup/\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n- Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\nIS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stbarnabas/django-icybackup", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-icybackup", "package_url": "https://pypi.org/project/django-icybackup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-icybackup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/stbarnabas/django-icybackup" }, "release_url": "https://pypi.org/project/django-icybackup/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A Django database/media backup tool with Amazon Glacier and local folder support", "version": "0.1.1" }, "last_serial": 738908, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cffda1c5d57802e0149b5e9193dffd5d", "sha256": "b8ad8f2635baa113dc0081cc7167a46b4b4b48accfe8011cd377a1591abf240a" }, "downloads": -1, "filename": "django-icybackup-0.1.tar.gz", "has_sig": false, "md5_digest": "cffda1c5d57802e0149b5e9193dffd5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8963, "upload_time": "2013-01-15T01:54:00", "url": "https://files.pythonhosted.org/packages/bd/82/242fa51fa42fcd33e17111c5902c80167e15d4a6d51dcf545f92513b6a74/django-icybackup-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f0ce76981ad525af7c788f852191e423", "sha256": "4b36c3d46b97a3ea181680e8c3963b279b255157a05466736a28038026751e4e" }, "downloads": -1, "filename": "django-icybackup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f0ce76981ad525af7c788f852191e423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9000, "upload_time": "2013-01-15T02:46:39", "url": "https://files.pythonhosted.org/packages/6d/e8/73bbd96ddd4cdd40b7057f5569b26d34bad4822152f1ea64464289715131/django-icybackup-0.1.1.tar.gz" } ], "0.1a2": [ { "comment_text": "", "digests": { "md5": "03b28e42201d92eb6128896f0321e08d", "sha256": "1b14cdc981774aa0d03750e88b160a86f8d346e312da0edfb64a9a3438f7f0f9" }, "downloads": -1, "filename": "django-icybackup-0.1a2.tar.gz", "has_sig": false, "md5_digest": "03b28e42201d92eb6128896f0321e08d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9365, "upload_time": "2012-12-19T00:09:18", "url": "https://files.pythonhosted.org/packages/ba/fb/e516074b7cba3a6e555c80f08d6b0b86f7207c0a5a857cdefcbda61184af/django-icybackup-0.1a2.tar.gz" } ], "0.1a3": [ { "comment_text": "", "digests": { "md5": "79b2bf8b5bc14388e3f07e872780a476", "sha256": "b53f26a006d12e133d03690ded9e4272833568eb9a14b4bf9a18346dd2232a9b" }, "downloads": -1, "filename": "django-icybackup-0.1a3.tar.gz", "has_sig": false, "md5_digest": "79b2bf8b5bc14388e3f07e872780a476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10432, "upload_time": "2013-01-03T00:47:20", "url": "https://files.pythonhosted.org/packages/6d/74/80f5bf0883bbd95eace6a52e20d9a6f936305632be61c3e4079165987810/django-icybackup-0.1a3.tar.gz" } ], "0.1a4": [ { "comment_text": "", "digests": { "md5": "0b2f9cf77cbc73f25a8b3983c92f79d6", "sha256": "4c5126619e402c74680caf0e23b908216b3ad8e54ab28fa8643b9249c908fffc" }, "downloads": -1, "filename": "django-icybackup-0.1a4.tar.gz", "has_sig": false, "md5_digest": "0b2f9cf77cbc73f25a8b3983c92f79d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10429, "upload_time": "2013-01-03T01:28:03", "url": "https://files.pythonhosted.org/packages/5a/82/e5fb75e9494d9a4fcf8f0f384d03716cc46f612a99739d8948ccbe45f7c9/django-icybackup-0.1a4.tar.gz" } ], "0.1pre": [ { "comment_text": "", "digests": { "md5": "31a60129a3e0ab5cfeb6244af48f9595", "sha256": "764f045da40c495e312d71b9447d9582e1e92a452e631094e2b5f9b974300f9e" }, "downloads": -1, "filename": "django-icybackup-0.1pre.tar.gz", "has_sig": false, "md5_digest": "31a60129a3e0ab5cfeb6244af48f9595", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5256, "upload_time": "2012-12-18T03:59:00", "url": "https://files.pythonhosted.org/packages/2e/9f/445d7f6965eaea71af87eb3f445ef39fa3966c0bed3e3514b59c067243fd/django-icybackup-0.1pre.tar.gz" } ], "0.1pre1": [ { "comment_text": "", "digests": { "md5": "948993e2608fa6984507d16367d391a3", "sha256": "d74d0032ab4b1ff1b42ad99d7ea90ed33c41fdddb118e3c7ee5b02e1c176132e" }, "downloads": -1, "filename": "django-icybackup-0.1pre1.tar.gz", "has_sig": false, "md5_digest": "948993e2608fa6984507d16367d391a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6417, "upload_time": "2012-12-18T05:22:29", "url": "https://files.pythonhosted.org/packages/36/0e/c164d34c6987080ebb645d7538c9bcde59273e82b7ab4c5b81746259953b/django-icybackup-0.1pre1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0ce76981ad525af7c788f852191e423", "sha256": "4b36c3d46b97a3ea181680e8c3963b279b255157a05466736a28038026751e4e" }, "downloads": -1, "filename": "django-icybackup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f0ce76981ad525af7c788f852191e423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9000, "upload_time": "2013-01-15T02:46:39", "url": "https://files.pythonhosted.org/packages/6d/e8/73bbd96ddd4cdd40b7057f5569b26d34bad4822152f1ea64464289715131/django-icybackup-0.1.1.tar.gz" } ] }