{ "info": { "author": "Curtis Collicutt", "author_email": "curtis@serverascode.com", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.com/ccollicutt/archive-manager.svg?branch=master)](https://travis-ci.com/ccollicutt/archive-manager)\n\n# Archive Manager\n\nManage files in directories in a backup root directory. It will ensure the total size of all the files in the directories are less than a maximum size, but will always keep the minimum number of files. Once the total size is ensured, it will then delete files until the maximum number of files exist.\n\nThe assumption is that some other process, such as a backup script, is generating \"archives\" in a directory or directories. `archive-manager` will help to manage those files to ensure that there is always room for the most recent backup file.\n\n## Requirements\n\n* This will probably only run on Linux\n\n## Installation\n\nFuture releases will include installation via pip and RPM.\n\n```bash\nvirtualenv archive-manager-venv\n. archive-manager-venv/bin/activate\npip install archive-manager\n```\n\nNow that it's installed, the `archive-manager` command should be available.\n\n```bash\n$ which archive-manager\n/bin/archive-manager\n```\n\n## Usage\n\nBy default `archive-manager` looks for its config file in `/etc/archive-manager/config.yml`. It does not require any options to run, and can simply be executed by `archive-manager`.\n\nOptions:\n\n```bash\n$ archive-manager --help\nUsage: archive-manager [OPTIONS] COMMAND [ARGS]...\n\n Manage size and number of files in a set of directories\n\nOptions:\n -c, --config TEXT Config file location\n -v, --verbose Set to verbose mode\n --help Show this message and exit.\n```\n\n## Configuration File\n\nThere is an [example configuration](config.yml.example) file in this repository. All of the options in the example file are required.\n\n```bash\nmkdir /etc/archive-manager\ncp config.yaml.example /etc/archive-manager/config.yml\nvi /etc/archive-manager/config.yml #edit file to suit requirements\n```\n\n## Test\n\n### Unit Tests\n\n`make test` will run the available unit tests.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/ccollicutt/archive-manager/archive/v0.2.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ccollicutt/archive-manager", "keywords": "backup,file manager,archive,archive manager", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "archive-manager", "package_url": "https://pypi.org/project/archive-manager/", "platform": "", "project_url": "https://pypi.org/project/archive-manager/", "project_urls": { "Download": "https://github.com/ccollicutt/archive-manager/archive/v0.2.0.tar.gz", "Homepage": "https://github.com/ccollicutt/archive-manager" }, "release_url": "https://pypi.org/project/archive-manager/0.2.0/", "requires_dist": null, "requires_python": ">=3.6.6", "summary": "Manage backup archive files", "version": "0.2.0" }, "last_serial": 5149506, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "b73e6066b0a98ef2d126e54beec64907", "sha256": "ee5dfce893d74d4e0a04fe504ee8d716519be85e6b125d67ca5b880bc4a8d11d" }, "downloads": -1, "filename": "archive-manager-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b73e6066b0a98ef2d126e54beec64907", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.*", "size": 6630, "upload_time": "2018-12-14T12:26:12", "url": "https://files.pythonhosted.org/packages/40/f2/1f5b0ef49f07d2e0d8d6ed8d35f1087fba8c19b772d71c6ad8990cf0366b/archive-manager-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d6ecac131aa6cfd43b6e407ecad0b453", "sha256": "7e1b8ca2989ceff5f67e786664ea46f7b5f8f8335b9b7d329e07601e8550b3bf" }, "downloads": -1, "filename": "archive-manager-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d6ecac131aa6cfd43b6e407ecad0b453", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.*", "size": 6722, "upload_time": "2018-12-14T13:44:27", "url": "https://files.pythonhosted.org/packages/68/b6/018702989b02843c1228d0ea8e559946ecc4ef74e2993ff872fe2454d8f0/archive-manager-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6c620cdd53c1f63b98ae26d5611dee03", "sha256": "f4f75f9ee15aad1241e36bb5f59a12bc6ae4f0b6b37901dc12898bc2b760cd9d" }, "downloads": -1, "filename": "archive-manager-0.1.4.tar.gz", "has_sig": false, "md5_digest": "6c620cdd53c1f63b98ae26d5611dee03", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.*", "size": 7850, "upload_time": "2018-12-21T11:57:24", "url": "https://files.pythonhosted.org/packages/6f/2e/8ca20a64561c733aa380c2b5b1ebb5e433d8c3d02670dab514aa48e8dbe4/archive-manager-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "73e77eb2b3dc6636383f6e0812e0870b", "sha256": "9b38f664bbda72d53203e032a96eeeb172de828b8b0d79dcbdf2836dea8d9700" }, "downloads": -1, "filename": "archive-manager-0.1.5.tar.gz", "has_sig": false, "md5_digest": "73e77eb2b3dc6636383f6e0812e0870b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.*", "size": 7853, "upload_time": "2019-01-09T11:56:06", "url": "https://files.pythonhosted.org/packages/ce/5e/0c0a67862d428923da0e36cee58b783331d2915df58147ddbdccae602e62/archive-manager-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "616373da6e01c4913af568db7f5ea025", "sha256": "3da86f965858183bc4dd45b9795ada7eddc69418d590092c77d257c9af5ac8cf" }, "downloads": -1, "filename": "archive-manager-0.2.0.tar.gz", "has_sig": false, "md5_digest": "616373da6e01c4913af568db7f5ea025", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.6", "size": 6584, "upload_time": "2019-04-16T11:09:41", "url": "https://files.pythonhosted.org/packages/5d/d7/e836ef6f539b8cbfc4e6ba8d8bbd4ba1532628f5bff105201cd8f2488a32/archive-manager-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "616373da6e01c4913af568db7f5ea025", "sha256": "3da86f965858183bc4dd45b9795ada7eddc69418d590092c77d257c9af5ac8cf" }, "downloads": -1, "filename": "archive-manager-0.2.0.tar.gz", "has_sig": false, "md5_digest": "616373da6e01c4913af568db7f5ea025", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.6", "size": 6584, "upload_time": "2019-04-16T11:09:41", "url": "https://files.pythonhosted.org/packages/5d/d7/e836ef6f539b8cbfc4e6ba8d8bbd4ba1532628f5bff105201cd8f2488a32/archive-manager-0.2.0.tar.gz" } ] }