Beruflich Dokumente
Kultur Dokumente
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ ps -ux
/usr/share/doc/procps-3.2.7/FAQ
STAT START TIME COMMAND
R+ 13:10 0:00 ps -ux
S
10:19 0:00 -bash
S
10:27 0:00 ksh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ pwd
/rman_bkup
$
ls -ltra
-rwxr-xr-x 1
10000
10000 12173385728
EI_825465358_35457_1
-rwxr-xr-x 1
10000
10000 12393332736
EI_825465358_35455_1
-rwxr-xr-x 1
10000
10000 13040091136
EI_825465358_35456_1
-rwxr-xr-x 1
10000
10000 14324850688
EI_825465359_35458_1
-rwxr-xr-x 1
10000
10000
98304
EI_825468105_35459_1
-rwxr-xr-x 1
10000
10000
99972096
EI_825468109_35463_1
-rwxr-xr-x 1
10000
10000 114180608
EI_825468108_35460_1
-rwxr-xr-x 1
10000
10000 106503680
EI_825468109_35462_1
-rwxr-xr-x 1
10000
10000 121801728
EI_825468108_35461_1
-rwxr-xr-x 1
10000
10000
6635520
EI_825468145_35464_1
-rwxr-xr-x 1
10000
10000
15162
ep_on_disk_Sep_06_2013_23.successful.log
drwxrwxrwx 8
10000
10000
291
drwxrwxrwx 3 ortbabei dborgrid
191
drwxr-xr-x 60 root
root
4096
$
$ cd $ONLINE_LOG/
$ ls -ltra rman*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@llohsbabe07 ~]# cd /rman_bkup
[root@llohsbabe07 rman_bkup]# chmod -R 777 *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ cd $XXONLINE_TOP/bin
$ rman_restore.sh -sourcedb PBABEI -disk_archival -backuplogs /rman_bkup -config
only
Processing options ......................................... completed
succeded
succeded
succeded
succeded
completed
completed
completed
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
completed
completed
completed
completed
completed
succeded
completed
completed
$
$ rman_restore.sh -sourcedb PBABEI -disk_archival -backuplogs /rman_bkup
Processing options ......................................... completed
Generic log: $ONLINE_LOG/rman_restore.log_07092013-132307 ..
rman_restore.sh
ly
rman_restore.sh
do you want to
rman_restore.sh
do you want to
rman_restore.sh
do you want to
################################################
$ tail -f RmanRestore.log
released channel: c5
released channel: c6
released channel: c7
released channel: c8
released channel: c9
released channel: c10
RMAN>
################################################
$ rman_restore.sh -sourcedb PBABEI -disk_archival -backuplogs /rman_bkup
Processing options ......................................... completed
Generic log: $ONLINE_LOG/rman_restore.log_07092013-145456 ..
Not able to find any Rman backup scripts for SBAB3I
It is not mandatory to have the Rman backup script present
in order to do the restore, but things like register/unregister
new/old dbid and a possible level0 backup will not be performed.
Restart file found in $CLONE_BACK/rman/07092013-132047
Following options/parameters in use:
'-sourcedb PBABEI -disk_archival -backuplogs /rman_bkup -configonly'
Do you want to continue previous session Y/N ?: Y
Location of work files: $CLONE_BACK/rman/07092013-132047 ...
Restart file restart.log created/updated ...................
SBAB3I: Target instance (Rman terms: auxiliary) ............
PBABEI_SBAB3I_RTMP: Source instance (Rman terms: target) ...
(NB: from now on referred to as RTMP:) .....................
Already extracted TmpCtl.dbf ...............................
Already retrieved Target information .......................
CCF used: archival_backupset_PBABEI_825468145_35464_1 ......
Already created restore script RR07092013-132047.sh ........
Already created control file script cre_ctrl.sql ...........
RTMP: recover at Sat Sep 7 14:56:01 ........................
Checking status of Rman recover ............................
Deleting DBID in SID PBABEI_SBAB3I_RTMP ....................
SBAB3I: Creating control files and starting DB .............
SBAB3I OPEN at Sat Sep 7 14:56:42 BST 2013 ................
completed
succeded
completed
completed
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
succeded
===============================================================<>xxonline<>==
SBAB3I: shutting down ...................................... succeded
SBAB3I: starting up ........................................ succeded
rman_restore.sh finished at Sat Sep 7 14:57:26 .............
===============================================================<>xxonline<>==
################################################
$ rman_restore.sh -sourcedb PBABEI -disk_archival -backuplogs /rman_bkup
Processing options ......................................... completed
Generic log: $ONLINE_LOG/rman_restore.log_07092013-144332 ..
Not able to find any Rman backup scripts for SBAB3I
It is not mandatory to have the Rman backup script present
in order to do the restore, but things like register/unregister
new/old dbid and a possible level0 backup will not be performed.
Restart file found in $CLONE_BACK/rman/07092013-132047
Following options/parameters in use:
'-sourcedb PBABEI -disk_archival -backuplogs /rman_bkup -configonly'
Do you want to continue previous session Y/N ?: y
Location of work files: $CLONE_BACK/rman/07092013-132047 ...
Restart file restart.log created/updated ...................
SBAB3I: Target instance (Rman terms: auxiliary) ............
PBABEI_SBAB3I_RTMP: Source instance (Rman terms: target) ...
(NB: from now on referred to as RTMP:) .....................
RMAN>
Recovery Manager complete.
################################################