RMAN-06034: at least 1 channel must be allocated to execute this command
阿新 • • 發佈:2018-12-31
下午做過單表恢復,
recover table user.table_name until time "to_date('2018-12-21 15:00:00','yyyy-mm-dd hh24:mi:ss')" auxiliary destination '/backup/bak' remap table 'USER'.'TABLE_NAME':'USER'.'TABLE_NEW_NAME';
報錯如下:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/21/2016 16:53:37
RMAN-03015: error occurred in stored script Memory Script
RMAN-06034: at least 1 channel must be allocated to execute this command
解決方案:
configure default device type to SBT;
原因說明:
參考文件doc2105325.1
意思呢就是對於SBT格式的備份,使用recover table這個命令時候,不能手工分配channel,需要進rman裡面人為配置一下。