{ "info": { "author": "Thomas Perl", "author_email": "m@thp.io", "bugtrack_url": null, "classifiers": [], "description": "Lists files in that should be purged in a backup strategy where daily backups\nare kept for *DAYS* days, monthly backups for *MONTHS* months and yearly backups\nfor *YEARS* years. Monthly and yearly backups are always the oldest possible\ndaily backup (e.g. first of month and first of year that is available).\n\nFiles are expected to have their date embedded as ``YYYY-MM-DD`` somewhere in\nthe filename, e.g. ``homedir-2013-03-31.tgz``\n\nFor monthly and yearly backups, the first day available will be kept (e.g.\nJanuary 1st for yearly, but if that is not available, January 2nd will be\nkept, etc..).\n\nThis program can be used together with xargs(1) from GNU findutils::\n\n backuppurge --print0 /var/backups/ | xargs -r -0 rm\n\nOnly files directly in the specified **DIRECTORY** will be searched (in the\nabove example, ``/var/backups/homedir-2013-03-31.tgz`` will be considered,\nbut not ``/var/backups/etc/etc-2013-03-31.tgz``). This prevents accidental\ndeletion of files. If --include-directories (-D) is used, directories directly\nbelow the path will be included in the search (e.g. the directory\n``/var/backups/etc-2015-07-24/`` will be included in the purge search).\n\nThis script assumes daily backups are FULL backups, not incremental. For\nexample, a full daily backup of your ``/etc`` can be created by adding\n(``crontab -e``) a command like the following to your crontab(5) file::\n\n tar czf /var/backups/etc/etc-$(date +%F).tgz /etc", "description_content_type": null, "docs_url": null, "download_url": "http://thp.io/2013/backuppurge/backuppurge-1.0.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://thp.io/2013/backuppurge/", "keywords": null, "license": "Simplified BSD License", "maintainer": null, "maintainer_email": null, "name": "backuppurge", "package_url": "https://pypi.org/project/backuppurge/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/backuppurge/", "project_urls": { "Download": "http://thp.io/2013/backuppurge/backuppurge-1.0.4.tar.gz", "Homepage": "http://thp.io/2013/backuppurge/" }, "release_url": "https://pypi.org/project/backuppurge/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Selectively purge daily full backups", "version": "1.0.4" }, "last_serial": 1839888, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "c2e0d054eedc6ff8629f70f6b42f1ca2", "sha256": "c7e9af8127f1de5219ef2cdeae8a4462446621a6aa53e3999c565326fb437ae8" }, "downloads": -1, "filename": "backuppurge-1.0.2.tar.gz", "has_sig": false, "md5_digest": "c2e0d054eedc6ff8629f70f6b42f1ca2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9701, "upload_time": "2013-04-06T09:37:20", "url": "https://files.pythonhosted.org/packages/3d/af/6e029b80247f672e599f7a8422f24a76398f7512d4f7f9baf83b7d04cd49/backuppurge-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d40eb2fabc91a422514b8bb84ff7f99f", "sha256": "ee055bc3d400f15d310abf9f044cd5608d2d1f032a5fe422ea5c74cfdcceedb0" }, "downloads": -1, "filename": "backuppurge-1.0.3.tar.gz", "has_sig": false, "md5_digest": "d40eb2fabc91a422514b8bb84ff7f99f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10374, "upload_time": "2015-07-24T15:47:27", "url": "https://files.pythonhosted.org/packages/2e/9d/ac8e0aaf966dfc4ff63b8a527c7a88cc389952ba031a5ef1614dae831aa1/backuppurge-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "0583e722d9b953fdbdfe4e560c7e77f1", "sha256": "7b128630e726c381577412dff703cea984a1f4b6f148e9f7d3f4fe6fa2631a71" }, "downloads": -1, "filename": "backuppurge-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0583e722d9b953fdbdfe4e560c7e77f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10339, "upload_time": "2015-11-30T16:06:19", "url": "https://files.pythonhosted.org/packages/ad/e3/cac883494d1ea8adc84ddec252c7fe98ef74a24cf8f720e044327277a235/backuppurge-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0583e722d9b953fdbdfe4e560c7e77f1", "sha256": "7b128630e726c381577412dff703cea984a1f4b6f148e9f7d3f4fe6fa2631a71" }, "downloads": -1, "filename": "backuppurge-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0583e722d9b953fdbdfe4e560c7e77f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10339, "upload_time": "2015-11-30T16:06:19", "url": "https://files.pythonhosted.org/packages/ad/e3/cac883494d1ea8adc84ddec252c7fe98ef74a24cf8f720e044327277a235/backuppurge-1.0.4.tar.gz" } ] }