DBMS_DNFS package provides an interface to assists in creating a database using files in the backup set.
This chapter contains the following topics:
60.2 Summary of DBMS_DNFS Subprograms
The DBMS_DNFS package includes the CLONEDB_RENAMEFILE procedure.
Table 60-1 DBMS_DNFS Package Subprograms
Renames datafiles that were pointing to the backup set to the actual file name in cloned database.
60.2.1 CLONEDB_RENAMEFILE Procedure
This procedure is used to rename datafiles that were pointing to the backup set to the actual file name in cloned database.
srcfile is the file name that represents the data file in the backup image copy or a read-only storage snapshot. The
destfile destination file path must point to a NFS volume where cloneDB datafiles will be created. When the procedure is run successfully, the control file record is updated with the new datafile name.
DBMS_DNFS.CLONEDB_RENAMEFILE ( srcfile IN VARCHAR2, destfile IN VARCHAR2);
Table 60-2 CLONEDB_RENAMEFILE Procedure Parameters
Source datafile name in the control file
New datafile name