Summary: sql-commands to change servers / server substitute
Hi group.
It was a peace of hard work to make everything work the way I wanted it...
There was a big hinderance that has cost me a lot of time: If I am logged on as a local admin everything is working fine, if I am logged on as a domain admin it doesn´t proceed the dumpfile import....
Here´s the script I use to make a daily incremental copy of my vault and a daily dumpfile import. Afterwards my script automatically changes all the necessary sql-tables to change the server names:
in sector "call..." <c:\sql-script\prompt.txt" opens=" a=" textfile=" that=" only<br="/>contains the letter "y" in sector "sqlplus" a sql-file opens with the following entries:
connect system/manager update pdm.pdm_fileserver set fsvhost='neuerserver' where fsvhost='alterserver'; update pdm.pdm_pool set poolhost='neuerserver' where poolhost='alterserver'; commit; quit