rman脚本报错
replace script backup_user
{ backup tablespace '&1';}
Enter value for 1: users
replaced script backup_user
RMAN> run { execute script backup_user;}
executing script: backup_user
Enter value for 1: users
Starting backup at 30-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03015: error occurred in stored script backup_user
RMAN-03002: failure of backup command at 05/30/2012 10:51:13
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20202: Tablespace not found in the recovery catalog
RMAN-06019: could not translate tablespace name "users"
求大神指点,灰常感谢
------解决方案--------------------
表空间不要用单引号包围
backup tablespace &1;