1) how does incremental backup works?. does it backups only the tablespaces pages that are changed after the last full backup? or
say if in a tablespace there are 25 tables and say i have modified data from one table.
now how does the incremental backup works?. does it backsup the entire Tablespace or does it backsup only the pages that are changed .
Yes, when we take incremental backup only the pages modified from last full backup will be backed up.
2) if suppose this is my backup history
SUNDAY full backup
MONDAY Incremental backup
TUESDAY Incremental backup
if i want to do a restore(on wednesday) then in what order should i restore?
You can use
"db2ckrst -d <database name> -t <timestamp> -r database" command to get the order of images to be restored.
Actually you can restore the above backup history in the following order. As you are using incremental backups, you can do
Restore sunday
Restore tuesday ( as tuesday's backup image will have monday's backup changes also)
Thanks,
Madhavi