Purpose
Moves an Oracle ASM or database instance password file to the specified ___location.
Syntax and Description
pwmove { --asm | --dbuniquename string } source destination [-f]
Table 10-14 lists the options for the pwmove
command.
Table 10-14 Options for the pwmove command
Option | Description |
---|---|
|
The |
|
The |
|
The |
|
The |
|
The |
pwmove
moves a password file from one disk group to another, from the operating system to a disk group, or from a disk group to the operating system. If the —f
option is specified, then a password file can be moved to a file in the same disk group.
Either –-asm
or --dbuniquename
is required to identify a CRSD resource.
The compatible.asm
disk group attribute must be set to 12.1
or higher for the disk group where the password is to be moved.
The SYSASM
or SYSDBA
privilege is required to manage the Oracle ASM and database password files.
Example
The following example moves a password file from one disk group to another disk group.
Example 10-16 Using the ASMCMD pwmove command
ASMCMD [+] > pwmove --asm +FRA/orapwasm_bak +DATA/orapwasm moving +FRA/orapwasm_bak -> +DATA/orapwasm