Re: Restore life database backup to testing database
Posted in 1995
KAI (crcklam@hkstar.com) wrote:
: Our informix Online Engine is version 5.0 and using raw disk device.
: We try to restore our life database backup to testing database so as to fix a
: program bug. When restore start, the online engine restore the backup to life
: database again since the system restore according to the parameter on the
: tape.
: Is that possible to restore life backup to testing database? We
: certainly hope that it is not necessary to shutdown the life database
: engine...
If your testing database is on the same machine as your live database, then
NO, you can't restore the live backup to the testing database. Restoring an
archive tape puts everything back exactly where it came from, meaning that the
device names for the chunks are going to be the same. If you have a second
(test) machine where the device names are the same, then you can restore an
archive from the live database onto the test machine.
If your test instance has to be on the same machine, they you should use either
dbexport/dbimport or tbunload/tbload.
June
---- June Tong Informix Software ----
---- junet@informix.com (415) 926-6140 ----