NOTE:To view the contents of a tablespace backup, use the
list backup command. The
list backup command lists all the datafiles and the control file that are part of the tablespace backup.
Steps
Open a command shell.
Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
Connect to the Oracle database to back up.
Back up the Oracle tablespace by typing commands similar to the following RMAN commands:
run { configure controlfile autobackup on; set controlfile autobackup format for device type sbt to 'CONTROLFILE.ANT.%F'; allocate channel c0 type sbt PARMS="SBT_LIBRARY=c:\PROGRA~1\avs\bin\orasbt64.dll"\ format '%d_%U'; send '"--prefix=11g/ANT/" "--flagfile=c:\rman\avtar-flags.txt" "--taskfile=c:\rman\taskfile.txt" "--bindir=c:\PROGRA~1\avs\bin"'; backup tablespace ant_ts; release channel c0; }
In the sample script, the database name is ANT and the tablespace name is ant_ts. The script backs up the tablespace and the database control file by using the
autobackup option.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\