cancel
Showing results for 
Search instead for 
Did you mean: 

Restore from online db2 taken on TAPE

Former Member
0 Kudos

Dear All,

We are taking the backup from db13 on tape after INITIALIZE , but we are not sure how to restore from tape .

As per me

1) INITIALIZE the tape drive

2) Restore from tape( But what will be the command to use for restore)?

Regards

RK

+91-8285932768

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member182657
Active Contributor
0 Kudos

Dear Rableen,

It's


db2 restore db <dbname> to \\.\tape0


Gaurav

Former Member
0 Kudos

Dear Gaurav,

What command you use , whenever restore from tape , please write the same command.

RK

former_member182657
Active Contributor
0 Kudos

Please follow SCN link

In addition you can use command as per SAP Note 1175050 - DB6: Database restore requires additional tape


db2 restore db <sid> from . buffer <buffer size>

Hope this will be helpful.

Thanks,

Gaurav

Former Member
0 Kudos

Dear All,

Please confirm me the command,

RK

Former Member
0 Kudos

Hi Rableen Khurana,

Example 2 - Online tablespace restore into existing database from a tape device

db2 "restore database sample tablespace (syscatspace,

userspace1) online from /dev/rmt0 taken at 20010222151429 newlogpath

/home/db2v71/samplelogs without prompting"

See this link is usefully

Performing a Database Backup, Restore, and Rollforward

Regards,

Visu

hugo_amo
Employee
Employee
0 Kudos
Former Member
0 Kudos

Dear Hugo,

You mean to say command will be as follows.

db2 restore db SID from \\.\TAPE0 taken at 20010320122644

RK