fusionbox / django-backupdb Goto Github PK
View Code? Open in Web Editor NEWManagement commands for automatically backing up and restoring databases in Django
License: BSD 2-Clause "Simplified" License
Management commands for automatically backing up and restoring databases in Django
License: BSD 2-Clause "Simplified" License
I should be able to specify which connection I want to backup:
$ ./manage.py backupdb --connection=other
(I'm creating these issues as note to myself or anybody who wants to work on django-backupdb)
This is in Django which we depend on
Downloading/unpacking django-backupdb from https://pypi.python.org/packages/source/d/django-backupdb/django-backupdb-0.5.2.tar.gz#md5=8b0a5331e5e4fa76d6767fa5d3497e7d
Downloading django-backupdb-0.5.2.tar.gz
Running setup.py egg_info for package django-backupdb
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installed /XXX/build/django-backupdb/coverage-3.6-py2.7-linux-x86_64.egg
Requirement already up-to-date: django>=1.3 in /XXX/lib/python2.7/site-packages/Django-1.5.2-py2.7.egg (from django-backupdb)
Installing collected packages: django-backupdb
Found existing installation: django-backupdb 0.4.1f
Uninstalling django-backupdb:
Successfully uninstalled django-backupdb
Running setup.py install for django-backupdb
Successfully installed django-backupdb
Cleaning up...
I don't want to need coverage in order to install backupdb
(I'm creating these issues as note to myself or anybody who wants to work on django-backupdb)
This is kind of nasty. It should use inheritance/polymorphism, and do something like (just the idea):
backend_class = backends[backend_name]
backend = backend_class(**credentials)
backend.do_backup()
There are two python packages, backupdb
which is the main one with the management commands and so on, and backupdb_utils
.
We should put backupdb_utils
in backupdb.utils
. Is there any reason why there are two packages @davesque ?
(I'm creating these issues as note to myself or anybody who wants to work on django-backupdb)
There are 3 packages backupdb
, backupdb_utils
and unit_tests
. This should go in backupdb itself, like backupdb
, backupdb.utils
, backupdb.tests
.
@nolsto discovered that backupdb ignores return codes. Which has been confirmed by @gavinwahl.
(I'm creating these issues as note to myself or anybody who wants to work on django-backupdb)
Once we fix #6, I think we can just use backup.tests
to run the tests in setup.py
, instead of nose. This way we will be able to remove nose as the tests dependency and remove run_tests.sh
and the whole gang of shell scripts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.