Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DjangoMySQLDump-0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file DjangoMySQLDump-0.1.tar.gz.

File metadata

File hashes

Hashes for DjangoMySQLDump-0.1.tar.gz
Algorithm Hash digest
SHA256 0141546fa24df40a63216feb1857e7535d237f26e350e37c954c43c7954f9dca
MD5 d1cfd5e8cb76b2c51fc1fe213cd7aaac
BLAKE2b-256 1d5e6dd5cc86272e5eaac030ccbc926781431d9e9b0f25f724f5c2707dc18bf5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page