Changes between Version 24 and Version 25 of SopUpdateBbmriApp


Ignore:
Timestamp:
2013-05-29T13:51:03+02:00 (11 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopUpdateBbmriApp

    v24 v25  
    2121   1. Ask credentials for molgenis35/molgenis14 from Pieter or Morris.
    2222
    23 === create migration script  ===
    24  1. If you know the exact changes of the database, compared to the old version in live server, then the migration script is the commands that synchornize the two versions. 
    25  1. You can compare the mysql dump files between the live and the local version. This is easier if you dump only the schemas (not the data) . 
    26    1. This is done: mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDB.mysql
     23=== create migration script ===
     24 1. If you know the exact changes of the database, compared to the old version in live server, then the migration script is the commands that synchornize the two versions.
     25 1. You can compare the mysql dump files between the live and the local version. This is easier if you dump only the schemas (not the data) .
     26   1. First ssh to molgenis14
     27   1. create a dump file: mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlive.mysql
     28   1. create a local dump file:  mysqldump --no-data, -d bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDBlocal.mysql
     29   1. diff <date>bbmriDBlive.mysql <date>bbmriDBlocal.mysql
    2730
    2831=== copy war file & migration script from your  computer to test server ===
     
    3538   * ssh  !molgenis@molgenis14.target.rug.nl
    3639 1. Get data:
    37    * mysqldump bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDB.mysql
     40   * mysqldump bbmri -u molgenis –p > ~/databaseDumps/<date>bbmriDB.mysql
    3841
    3942=== Copy data from LIVE server to your computer ===