CDR Tickets

Issue Number 4502
Summary Refresh DEV database from PROD
Created 2018-07-31 14:39:16
Issue Type Task
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-08-09 17:40:02
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.230254
Description

Please refresh the CDR and cdr_archived_versions databases from PROD. After the databases have been refreshed, please ask CBIIT to give you the numbers for disk space usage for the two databases (data and logs).

Comment entered 2018-08-01 11:20:47 by Englisch, Volker (NIH/NCI) [C]

, the script PullDevData.py is failing. I'm guessing this is because the table import_disposition has already been deleted and the script is trying to save its content.
Could you have a quick look at the list of tables to see if there are others that will be deleted and won't need to be restored? I don't think so but it's better to check first.

"action", 
"active_status", 
"doc_type", 
"filter_set",
"filter_set_member", 
"format", 
"grp", 
"grp_action",
"grp_usr", 
"import_disposition", 
"link_prop_type",
"link_properties", 
"link_target", 
"link_type", 
"link_xml",
"query", 
"query_term_def", 
"query_term_rule", 
"usr"
Comment entered 2018-08-01 11:28:39 by Kline, Bob (NIH/NCI) [C]

As discussed on the phone, please drop import_disposition from the list of tables. That's the only one that's going away right now. Thanks.

Comment entered 2018-08-01 11:36:49 by Englisch, Volker (NIH/NCI) [C]

Yep, the script finished without problems after removing that table from the list.

Comment entered 2018-08-09 14:32:28 by Englisch, Volker (NIH/NCI) [C]

We made changes to the file PullDevData.py. Should I create a new branch for this change or make the change to master in git?

Comment entered 2018-08-09 15:21:06 by Kline, Bob (NIH/NCI) [C]

Has to be in a separate branch in order to create a pull request for merge into master.

Comment entered 2018-08-09 17:39:49 by Englisch, Volker (NIH/NCI) [C]

The changes have been saved in git:
https://github.com/NCIOCPL/cdr-tools/commit/e2dc3c0

Closing ticket.

Elapsed: 0:00:00.001694