Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Buildout recipe for 'Dr Dump'

Project Description

Buildout recipe for Dr Dump to generate bash script to dump or load Django data dump.

So this recipe will create two bash scripts, one to dump datas from defined eggs in buildout config and another to load these dumped datas.

This will use the defined eggs list in your buildout config to find the apps to manage dumps so be careful that it can’t retrieve apps that are not defined in your eggs to install, it will not follow eggs dependancies but if needed you can force some apps using the extra_apps option.

Required, fill it with emencia-recipe-drdump.
Optional, ‘eggs’ variable from buildout. Default use ${buildout:eggs}.
Optional, a path to the directory that will contains dumped datas, this is always a relative path from the buildout project. If not defined the dumps dir will be dumps.
Required, a path to a JSON file containing datas dependancies map between apps. This can be either a file name existing in Dr Dump or a path (relative or absolute) to an external JSON file.
Optional, a string of app names formatted like the egg names in ${buildout:eggs}. This will be used to defined additional apps that can’t be retrieved from the installed eggs.
Required, a path to the django script, usually the one generated by djangorecipe.
Optional, false or true to define respectively if Dr Dump raise or not an exception when asked dumps does not exists in the used map.
Optional, false or true to define if Dr Dump will dump not specify apps in a last dump.
Optional, a string of app names formatted like the egg names in ${buildout:eggs}. This will be used to defined additional apps that can’t be dump if dump_other_apps is True.
Optional, binary directory path where the scripts will be written, defaut use ${buildout:bin-directory}.

Here is a sample to use this recipe :

recipe                  = emencia-recipe-drdump
dump_dir                = dumps
dependancies_map        = djangocms-3.json
silent                  = true
dump_other_apps         = true
exclude_apps            = auth sessions contenttypes menus.cachekey filebrowser
django_instance         = ${buildout:directory}/bin/django-instance
extra_apps              = cmsplugin-various
bin_directory           = ${buildout:bin-directory}

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.3 kB) Copy SHA256 Hash SHA256
2.7 Egg Feb 5, 2015
(4.4 kB) Copy SHA256 Hash SHA256
Source Feb 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting