---
title: "rman备份表空间"
author: "softherk"
date: "2010-01-28T14:56:34Z"
tags: []
categories: ["数据库"]
slug: "rman"
draft: false
lastmod: "2010-01-28T14:56:34Z"
id: 582198
url: "https://igoole.iteye.com/blog/582198"
---

```java
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