Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Cold Restore with renaming rootdbs chunk - Informix IDS11.70

$
0
0
Hello,

I have an AIX6.1 server that i am running Informix IDS11.70. I want to make cold restore of my instance with renaming the chunks (changing the paths) including rootdbs chunk.
i tried this by using a file that ontape is using in order to rename the chunks. For example, the first lines look like this:
/IDS/rootdbs_chk01 10 /IDSh/rootdbs_chk01 10
/IDS/tempdbs1_chk01 4 /IDS_live/tempdbs1_chk01 4
/IDS/tempdbs2_chk01 4 /IDS_live/tempdbs2_chk01 4
/IDS/tempdbs3_chk01 4 /IDS_live/tempdbs3_chk01 4

Offset is 4 for all chunks except rootdbs that is 10. For some reason, it doesnt seem to accept the value 10 as offset for rootdbs. When i am running the command
Code:

ontape -r -rename -f filelist
to do the cold restore with rename i get the following message:
Error at line 1 in input file filelist

This message appears only when i assign the value 10 as offset for rootdbs. If i change it to 4 then i get completely different message:
Physical restore failed - The old chunk path (/IDS/rootdbs_chk01, 4) in the input file does not exist in the backup

It seems really strange. I dont understand why i get this error when i have the correct offset (value that is given in onconfig file).
Also can anybody confirm that it is possible to rename the rootdbs like the way i described above? Cause this is the first time that i am trying to rename the primary rootdbs chunk during cold restore and i am not sure if i have to do something else or not.

Thank you.

Viewing all articles
Browse latest Browse all 13329

Trending Articles