DjangoMySQLDump-0.1
توضیحات
Simple dump tool to automate dumps, for example during automated deploys
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | DjangoMySQLDump-0.1 |
| نام | DjangoMySQLDump |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Geert Dekkers |
| ایمیل نویسنده | geert@djangowebstudio.nl |
| آدرس صفحه اصلی | http://pypi.python.org/pypi/DjangoMySQLDump/ |
| آدرس اینترنتی | https://pypi.org/project/DjangoMySQLDump/ |
| مجوز | LICENSE.txt |
DJANGO MYSQLDUMP
----------------
Simple dump tool to automate dumps, for example during automated deploys
Works with older django versions (< 1.3)
Dumps the default database when it is mysql.
Preferably to be triggered by a cron job, or launchd on macosx.
Could also be triggered by Scheduler on Windows, but we're not using Windows, are we?
Produces a timestamped dump which could be used for rollback.
Takes app specific settings, to be found in settings.py
# Required settings
# -----------------
APP_LOGS_ROOT
APP_DUMP_PATH
# Optional settings
# -----------------
APP_MYSQLDUMP_PATH = 'usr/bin' #(path to mysqldump, default is /usr/bin)
APP_DB_ROLLBACKS = 60 #(no. of rollbacks, default 60)
نحوه نصب
نصب پکیج whl DjangoMySQLDump-0.1:
pip install DjangoMySQLDump-0.1.whl
نصب پکیج tar.gz DjangoMySQLDump-0.1:
pip install DjangoMySQLDump-0.1.tar.gz