backup tablespace tablespacename
如果我们不知道tablespace的名字,在rman中,可要通过report schema命令,来查看表空间的名字
MAN>
引用
report schema;
Report of database schema
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1 480 SYSTEM *** /home/oracle/oradata/ora10g/system01.dbf
2 25 UNDOTBS1 *** /home/oracle/oradata/ora10g/undotbs01.dbf
3 250 SYSAUX *** /home/oracle/oradata/ora10g/sysaux01.dbf
4 5 USERS *** /home/oracle/oradata/ora10g/users01.dbf
5 200 PERFSTAT *** /home/oracle/oradata/ora10g/perfstat.dbf
List of Temporary Files
=======================
File Size(MB) Tablespace Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
1 20 TEMP 32767 /home/oracle/oradata/ora10g/temp01.dbf