RE: Restoring using Legato and onbar
Posted in 2000
Yes, its possible. I assume your secondary instance has the same amount of
disk space as your primary instance and no other informix instance resides
on your secondary instance.
If you have another Informix instance on your secondary box, you are going
to have to change the SERVERNUM in your $ONCONFIG file, after you complete
the ftp step below.
On your Secondary instance set up links to the chunks, exactly as in your
primary instance.
Note the following Legato variables your Primary instance uses to backup
it's database :
-------------------------
NSR_DATA_VOLUME_POOL
NSR_LOG_VOLUME_POOL
NSR_SERVER
NSR_CLIENT
Back up your primary instance using onbar -b -L 0.
After the backup finishes, the following files need to be ftp'ed to your
machine where your secondary instance will reside. The files are located in
the $INFORMIXDIR/etc directory of your primary instance and need to go into
the $INFORMIXDIR/etc directory of your secondary instance :
$ONCONFIG
oncfg_{instance name}.{server num}
ixbar.{instance num}
Log onto your secondary instance and set the Legato variables above to
exactly what you primary server uses.
Then issue onbar -r.
I get some error messages in my bar activity log during the restore, but the
restore works :
-------------------
2000-07-14 11:14:43 10181 10180 /informix/DEV/bin/onbar_d -r
2000-07-14 11:14:43 10181 10180 WARNING: BAR_BSALIB_PATH is undefined;
trying default path.
2000-07-14 11:14:44 10181 10180 ERROR: Unable to start logical log
salvage: .
2000-07-14 11:15:01 10181 10180 Successfully connected to Storage Manager.
2000-07-14 11:15:49 10181 10180 Begin cold level 0 restore rootdbs.
2000-07-14 11:16:07 10181 10180 Completed cold level 0 restore rootdbs.
2000-07-14 11:16:11 10181 10180 Successfully connected to Storage Manager.
2000-07-14 11:16:39 10181 10180 Begin restore logical log 9.
2000-07-14 11:16:39 10181 10180 XBSA Error (BSAEndData):
A system error occurred. Aborting XBSA session.
2000-07-14 11:16:39 10181 10180 Completed restore logical log 9.
(END)
----- Original Message -----
From: David Griffiths <David.Griffiths@ogs.co.uk>
Newsgroups: comp.databases.informix
Sent: Wednesday, July 12, 2000 4:45 AM
Subject: Restoring using Legato and onbar
>
> I need to restore to a different unix machine and informix instance using
> onbar.
> Is this possible using Legato?? If so, how?
>
>