o To use the RMU Copy_Database command for a database, you must
have the RMU$COPY privilege in the root file access control
list (ACL) for the database to be copied or the OpenVMS SYSPRV
or BYPASS privilege.
o When you copy a database into a directory owned by a resource
identifier, the ACE for the directory is applied to the
database root file ACL first, and then the Oracle RMU ACE is
added. This method is employed to prevent database users from
overriding OpenVMS file security. However, this can result in
a database which you consider yours, but to which you have no
Oracle RMU privileges to access. See the Oracle Rdb Guide to
Database Maintenance for details.
o The RMU Copy_Database command provides four qualifiers,
Directory, Root, File, and Snapshots, that allow you to
specify the target for the copied files. The target can be
just a directory, just a file name, or a directory and file
name.
If you use all or some of these four qualifiers, apply them as
follows:
- Use the Root qualifier to indicate the target for the copy
of database root file.
- Use local application of the File qualifier to specify the
target for the copy of one or more storage areas.
- Use local application of the Snapshots qualifier to specify
the target for the copy of one or more snapshot files.
- Use the Directory qualifier to specify a default target
directory. The default target directory is the directory
to which all files not qualified with the Root, File,
or Snapshot qualifier are copied. It is also the default
directory for files qualified with the Root, File, or
Snapshot qualifier if the target for these qualifiers does
not include a directory specification.
Note the following when using these qualifiers:
- Global application of the File qualifier when the target
specification includes a file name causes Oracle RMU to
copy all of the storage areas to different versions of the
same file name. This creates a database that is difficult
to manage.
- Global application of the Snapshot qualifier when the
target specification includes a file name causes Oracle
RMU to copy all of the snapshot files to different versions
of the same file name. This creates a database that is
difficult to manage.
- Specifying a file name or extension with the Directory
qualifier is permitted, but causes Oracle RMU to copy
all of the files (except those specified with the File
or Root qualifier) to different versions of the same file
name. Again, this creates a database that is difficult to
manage.
See Example 8.
o You cannot use the RMU Copy_Database command to copy a
database to a remote system or to an NFS (Network File System)
mounted file system. The RMU Copy_Database command allows
you to create a copy of a database on the same node as the
original database.
o You cannot disable extents of snapshot (.snp) files.
o The file and area qualifiers for the RMU Copy_Database command
are positional qualifiers, and if placed randomly, could
be ignored or produce unexpected results. See the Command_
Qualifiers help entry for more information on positional
qualifiers.
o There are no restrictions on the use of the Nospams qualifier
with mixed page format storage areas, but the use of the
Nospams qualifier typically causes severe performance
degradation. The Nospams qualifier is only useful where
updates are rare and batched, and access is primarily by
database key (dbkey).