rman

Published on July 2016 | Categories: Documents | Downloads: 59 | Comments: 0 | Views: 241
of 1
Download PDF   Embed   Report

Comments

Content

run { allocate channel ch1 type 'sbt_tape'; restore database; recover database; alter database open resetlogs; } run { # Optionally, set a new location for the restored logs. set archivelog destination to '/tico/TST/archive'; allocate channel ch1 type disk; restore archivelog all; } run { allocate channel ch1 type 'sbt_tape'; restore controlfile; alter database mount; } run { allocate channel ch1 type disk; # Set a new location for logs 2 through 10. set archivelog destination to '/tico/TST/archive'; restore archivelog from logseq 2 until logseq 70; recover database; } run { ALLOCATE CHANNEL ch1 TYPE DISK FORMAT '/tico/TST/archive/%d_%U.arc'; restore archivelog all; } run { ALLOCATE CHANNEL ch1 TYPE DISK FORMAT '/tico/TST/backup/%d_%U'; set limit channel ch1 kbytes 2097150; backup database include current controlfile; }

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close