[dmdba@localhost bin]$ mkdir -p /dm8/backup/data
create directory "DMDIR" as '/dm8/backup/data';
create external table "TEST"."T_EXT1"
(
"ID" INT, "NAME" VARCHAR(50), "ADDR" VARCHAR(50)
) from datafile default directory "DMDIR" location ('ext1.txt')
parms(fields ',');
完成外部表创建后,进行完全备份,备份地址为'/dm8/backup'
SQL> backup database full to DM01_Full_BAK01 backupset '/dm8/backup';
执行会提示备份目录冲突
建议:创建外部表时注意修改服务器目录和数据库目录,且这两个目录要求一致
文章
阅读量
获赞