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 hashes)

Uploaded Source

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