-
Notifications
You must be signed in to change notification settings - Fork 12
Overview: Migration
drkitty edited this page Feb 5, 2015
·
7 revisions
- The Maintain database is set in
OTHER_DATABASES['maintain']
. The official Maintain database is namedmaintain
and is located on the hostdb.nws.oregonstate.edu
. Contact a Cyder developer for the credentials for read-only access to the database. - The Maintain sandbox database (set in
OTHER_DATABASES['maintain_sb']
and conventionally namedmaintain_sb
) holds a sanitized version of the Maintain database. This database should be on your development machine. The name is unfortunate. Please suggest a better name if you can think of one.
manage.py maintain_migrate -q
truncates the sandbox database, copies some data from the Maintain database to the sandbox database, and fixes some inconsistencies that interfere with maintain_migrate -t
. It typically takes a few seconds.
manage.py maintain_migrate -t
migrates data from the sandbox database to the Cyder database. It typically takes several hours.
manage.py tiny_migrate $file ...
migrates data from the tinydns
config files named on the command line.