Purpose
Backs up an Oracle ASM SPFILE to a backup file.
Syntax and Description
spbackup source destination
Table 10-18 lists the options for the spbackup
command.
Table 10-18 Options for the spbackup command
Option | Description |
---|---|
|
Specifies the source file name. |
|
Specifies the destination file. |
spbackup
should be used when you want to make single or multiple backups of an SPFILE in the same or a different disk group without creating an SPFILE in the target disk group.
Note the following about the use of spbackup
:
spbackup
can back up an Oracle ASM SPFILE from a disk group to a disk group or to an operating system file.
spbackup
can back up an Oracle ASM SPFILE from an operating system file to a disk group.
spbackup
can back up an Oracle ASM SPFILE when the SPFILE is being used by an open Oracle ASM instance.
spbackup
can make multiple backups of an Oracle ASM SPFILE in the same disk group.
spbackup
does not affect the GPnP profile. The backup file that is created is not a special file type and is not identified as an SPFILE. This backup file cannot be copied with spcopy
. To copy this backup file to and from a disk group, use the ASMCMD cp
command.
To make a copy of a backup file in a disk group that is identified as an SPFILE file:
Example
The following are examples of the spbackup
command. The first example backs up the SPFILE in the data
disk group. The second example backs up the SPFILE from the data
disk group to the fra
disk group.