DB2 LUW: “INCLUDE LOGS” while backup

First of all, INCLUDE LOGS option is needed only when you take up ONLINE backup.

Good news is from IBM DB2 LUW 9.5, there is no need to specify INCLUDE LOGS; This option is considered by default.

Example: db2 backup database TESTDB ONLINE  to /mnt/backup/TESTDB WITHOUT PROMPTING

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: