Created
June 21, 2017 12:48
-
-
Save ThiefMaster/a57f64cd9b1b2babe334991db6dc4b6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use your actual postgres/zodb connection details here | |
export PG=postgresql:///indico | |
export ZODB=zeo://127.0.0.1:9675 | |
# use the id of your "system" user. create one first if you have none | |
export JANITOR_UID=123 | |
# specify the path to your indico archive dir | |
export ARCHIVE=/opt/indico/archive | |
# specify the name of the StorageBackends indico.conf entry pointing to fs:$ARCHIVE | |
export ARCHIVE_BACKEND=default | |
indico db upgrade 25d478c9d690 | |
indico-zodbimport $PG $ZODB global_ip_acl | |
indico-zodbimport $PG $ZODB global_settings | |
indico-zodbimport $PG $ZODB event_shorturls -q | |
indico-zodbimport $PG $ZODB event_papers -q --janitor-user-id $JANITOR_UID --archive-dir $ARCHIVE --storage-backend $ARCHIVE_BACKEND | |
indico-zodbimport $PG $ZODB event_data -q | |
indico-zodbimport $PG $ZODB badges_posters -q --janitor-user-id $JANITOR_UID --archive-dir $ARCHIVE --storage-backend $ARCHIVE_BACKEND | |
indico db upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment