28 January,2011 by Tom Collins
Requirement to DB2 restore a copy of a DB2 database backup taken from another DB2 instance and replace the existing one
1)Take a full backup of the database of INSTANCE 1
db2 force applications all db2 backup database MYDB ##Transfer the backup copy to a relevant path db2 force applications all db2 restore db MYDB from /mypath/backups TAKEN AT 20110128111333 INTO MYDB REPLACE EXISTING
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |