The Db2 restore utility

The Db2 restore utility can be used to restore the database from a backup image taken at the specified date and time. The restore utility uses a separate portion of database global memory called the utility heap to write the data from the backup image to the Db2 table spaces. The Db2 restore utility can be invoked using the RESTORE DATABASE command, and the basic syntax for this command is as follows:

RESTORE [DATABASE | DB] [DatabaseAlias]<USER [UserName] <USING [Password]>><REBUILD WITH [TABLESPACE ([TbspNames])] |[ALL TABLESPACES IN [DATABASE | IMAGE]]<EXCEPT TABLESPACE ([TbspNames])>>[TABLESPACE ([TbspNames]) <ONLINE> |HISTORY FILE <ONLINE>> |COMPRESSION LIBRARY <ONLINE>> |LOGS <ONLINE>]<INCREMENTAL <AUTO | AUTOMATIC ...

Get IBM Db2 11.1 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.