Skip to content

How to perform a Bugs Import

Roger Mähler edited this page Mar 12, 2020 · 17 revisions

Introduction

This guide gives instructions on how to perform a complete Bugs import; starting from downloading the BugsCEP database and all the way to committing an incremental data change to the SEAD staging databas via the SEAD change control system.

Overview of steps

  1. xxx

Prerequisites

You will need the following:

  • A system user on the SEAD production server (seadserv.humlab.umu.se).
  • The system user must be member of the docker group.
  • An understanding of the SEAD change control system.
  • A database system user with somewhat elevated privileges (create database).
  • A window of time where the SEAD staging database is frozen.

Preparation

The following assumes that you are logged on to the SEAD produciton server.

  • Use git clone or git pull to check out the latest versions of sead_change_control and sead_bugs_import. To replace the existing repositories, you can execute the following commands:
% mkdir -p ~/source && cd ~/source && rm -rf sead_change_control sead_bugs_import
% git clone https://github.com/humlab-sead/sead_change_control.git
% git clone https://github.com/humlab-sead/sead_bugs_import.gi
  • Create a new SEAD staging database. Note this will overwrite current staging!
./copydb.sh --source sead_production --target sead_staging --force --sync-sequences
Clone this wiki locally