Simple dump tool to automate dumps, for example during automated deploys
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file DjangoMySQLDump-0.1.tar.gz
.
File metadata
- Download URL: DjangoMySQLDump-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0141546fa24df40a63216feb1857e7535d237f26e350e37c954c43c7954f9dca |
|
MD5 | d1cfd5e8cb76b2c51fc1fe213cd7aaac |
|
BLAKE2b-256 | 1d5e6dd5cc86272e5eaac030ccbc926781431d9e9b0f25f724f5c2707dc18bf5 |