# Update your source database by adding after-imaging extents
# prostrct add production_db add.st # truncate the database BI file and mark as backed up # proutil production_db -C truncate bi rfutil production_db -C mark backedup # Activate after-imaging # rfutil production_db -C aimage begin # Make a copy of the database using operating system commands # cp production_db* /db_standby # Mark the source database as backed up # rfutil production_db -C mark backedup # Fix the target database file specifications and make new database st file. # prostrct repair /db_standby/production_db /db_standby/standby.st prostrct list /db_standby/production_db /db_standby/production_db.st # At this point allow updates to the source database # # Roll forward the first AI extent from production_db to standby copy # rfutil /db_standby/production_db -C roll forward -a production_db.a1 # Continue allowing updates and regularly roll forward the AI extents from # the production_db to the standby copy. |