ORA-39088: file name cannot contain a path specification
Cause: The name of a dump file, log file, or sql file contains a path specification.
Action: Use the name of a directory object to indicate where the file should be stored.
ORA-39088是一个由Oracle数据库引擎抛出的错误,当你尝试使用数据库内置函数 dbms_backup_restore.backup, 在backup set中指定文件名时,该错误代码会出现。
官方的说明:
ORA-39088: file name cannot contain a path specification
Cause: The user supplied a file name which contains one or more directory path components. These are not allowed.
Action: Remove the directory path component(s) from the filename.
ORA-39088通常会发生在我们使用dbms_backup_restore.backup内置函数时,这个函数处理备份文件时会限制文件名不能包含路径表示。
1. 确保输入的文件名不包含任何路径信息;
2. 如果输入的文件名有路径信息,请从文件名中删除它们;
3. 重试操作。