Skip Headers
Oracle® Database PL/SQL Packages and Types Reference
12c Release 1 (12.1)

E17602-14
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

61 DBMS_DNFS

The DBMS_DNFS package provides an interface to assists in creating a database using files in the backup set.

This chapter contains the following topics:


Using DBMS_DNFS


Security Model

This package has to be executed by users with SYSDBA privileges.


Summary of DBMS_DNFS Subprograms

Table 61-1 DBMS_DNFS Package Subprograms

Subprogram Description

CLONEDB_RENAMEFILE Procedure

Renames datafiles that were pointing to the backup set to the actual file name in cloned database.



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. The 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.

Syntax

DBMS_XYZ.CLONEDB_RENAMEFILE (
   srcfile        IN         VARCHAR2,
   destfile       IN         VARCHAR2);

Parameters

Table 61-2 CLONEDB_RENAMEFILE Procedure Parameters

Parameter Description

srcfile

Source datafile name in the control file

destfile

New datafile name