This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
howtos:admin:move_scenarios_from_old_server_to_new [2010/01/20 15:46] yantao.liu created |
howtos:admin:move_scenarios_from_old_server_to_new [2010/01/20 15:56] yantao.liu |
||
---|---|---|---|
Line 8: | Line 8: | ||
cd /models/myModel/ | cd /models/myModel/ | ||
</code> | </code> | ||
- | - copy the "data" directory which is used by Documentor and has all the sub directories for the calculators to a new directory with an appropriate name like oldModelScns | + | * copy the "data" directory which is used by Documentor and has all the sub directories for the calculators to a new directory with an appropriate name like oldModelScns |
<code> | <code> | ||
cp -r data oldModelScns | cp -r data oldModelScns | ||
</code> | </code> | ||
- | + | * clean out ONLY the files in the directory structure of oldModelScns be **VERY** careful to do this exactly as typed here so you don't delete something by mistake! | |
- | + | <code> | |
- | + | rm oldModelScns/*/*.db | |
+ | </code> | ||
+ | * Do the export from samm | ||
+ | * Login into the old model with SAMM | ||
+ | * set the file path to /models/myModel/oldModelScns | ||
+ | * Go to the scenario of interest, right click and export | ||
+ | * Change the variable suffix to something related to the scenario name with no spaces or special characters | ||
+ | * click OK | ||
+ | * copy (through drag and drop probably) the oldModelScns directory to the root of the new model | ||
+ | * Go into the new model (maybe on the new server) with SAMM | ||
+ | * Import the scenarios | ||
+ | * set file path to the location of the scenarios within the new model | ||
+ | * open the worksheet window from the windows menu | ||
+ | * right click and choose load | ||
+ | * fill in the import script name which will be something like "import.oldscnearioname.samm" - to check for the name look in the oldModelScns directory. | ||
+ | * Save the scenario with a new name |