# step 1-- 查询数据库大小,单位M. 备份位置空间应该大于查询大小selectsum(sum_bytes)/1024/1024 m_bytes
from(selectsum(bytes) sum_bytes from v$datafile
unionallselectsum(bytes) sum_bytes from v$tempfile
unionallselect(sum(bytes)* members) sum_bytes from v$log groupby members
);# step 2-- 查询数据库文件位置select name from v$datafile
unionselect name from v$controlfile
unionselect name from v$tempfile
unionselect member from v$logfile;-- 查询spfile参数文件位置select name,valuefrom v$parameter where lower(name)='spfile';# step 3shutdown immediate;# step 4-- 手动使用cp命令复制# step 5
startup;