When your DB2 database is running in an ONLINE mode. the system starts producing archive logs.
In order to restore this database to another database, your original backup should contain these log files to roll forward the database to end of logs and complete.
Create a folder called Command under your system root (C:\Command)
Copy the database backup file to this folder
Open CMD and change directory to C:\Command by issuing cd C:\Command
Now follow the below script :
In order to restore this database to another database, your original backup should contain these log files to roll forward the database to end of logs and complete.
Backup :
Issue Following Command :Restore :
Create a folder called Command under your system root (C:\Command)
Copy the database backup file to this folder
Open CMD and change directory to C:\Command by issuing cd C:\Command
Now follow the below script :
0 comments:
Post a Comment