The snapshots of the data created by the SnapProtect backup are also
available for various other operations like list, mount, unmount, delete, or
revert.
The browse operation provides the capability to see the snapshots created for
an agent, job, or a snapshot copy. The list of the snapshots displayed is corresponding
to the entity selected for the browse operation, for e.g., browsing the snapshots
for an agent will display all the snapshots created for the selected agent. You can
view volume or disk related information for the snapshots. Follow the steps given
below to browse snapshots.
From the CommCell Browser, navigate to Client Computers | <Client>
| <Agent>.
Right-click the subclient and click List Snaps.
The Snaps created during SnapProtect operation dialog box displays a list of
all the snapshots created for the selected subclient. It also displays important
information about each snapshot, including the source month path, snap mount
path, the storage array, and the source client.
Click the Disk View
tab to display the snapshot name, e.g.
SP_2_79_1286222629.
You can also browse snapshots at the instance level of the SAP for
Oracle Agent.
You can mount any available snapshot to access the data included in the
snapshot. It is recommended that you select the option to protect a snapshot
when it is mounted, as this will ensure that the changes made to the snapshot
when it is mounted are not retained when you unmount the snapshot and the
snapshot is usable for data protection operations. Follow the steps given below
to mount snapshots:
From the CommCell Browser, navigate to Client Computers | <Client>
| <Agent>.
Right-click the subclient and click List Snaps.
Right-click the snapshot that you wish to mount and click Mount.
Click Yes.
In the Mount Path dialog box, specify the destination client and the path on the client in the
Destination Client and Destination Path fields.
On a Windows
platform, enter a CIFS Share Name for the Agent.
If you do not wish to save
any changes made to the mounted snapshot after the snapshot is unmounted,
select Protect Snapshot during mount.
Click OK.
If you do not select Protect Snapshot
during mount,the changes made to snapshot when it is mounted will be retained
after the snapshot is unmounted and the snapshot can no longer be
used for restore.
Unmount Snapshots
Follow the steps given below to unmount snapshots:
From the CommCell Browser, navigate to Client Computers | <Client>
| <Agent>.
Right-click the subclient and click List Snaps.
Right-click the snapshot you
wish to unmount and click Unmount.
Click Yes when prompted if you want to continue.
If the snapshot does not get unmounted,
select the Force Unmount option to mark the snapshot as
unmounted.
Snapshots can either be deleted using job-based pruning or from the list of
displayed snapshots when browsing snapshots. Data Aging can also be used to
define the retention rules and pruning of snapshots. Follow the steps given
below to delete snapshots:
Manual deletion of snapshots is not recommended. When a
snapshot is deleted, it is no longer possible to perform data
recovery operations from the snapshot copy. However, if a backup
copy was created from the snapshot, data recovery operations can
be performed from the backup copy.
Ensure that the snapshot to be deleted is not mounted.
From the CommCell Browser, navigate to Client Computers | <Client>
| <Agent>.
Right-click the subclient and click List Snaps.
Right-click
the snapshot you wish to delete.
Ensure all snapshots with the same Job ID
are selected for a successful deletion operation.
Click Delete.
Enter the confirmation
text string, erase snapshots.
You can use the revert operation to bring the data back to the point-in-time
when the snapshot was taken. This operation overwrites any modifications to the data
since the time when the snapshot was created. This option is available if
the storage arrays that you are using supports revert.
Revert operations are supported on NetApp File Servers but
not from SnapVault or SnapMirror snapshots. You can either perform an
application aware revert or a hardware specific revert.
Review the following before performing a revert operation:
As only the data volumes can be reverted, ensure that the database and other SAP data volumes reside on separate LUNs or drives. For example, sapdata(1-#) volumes and other volumes like
sapbackup, saparch, sapreorg, dbs should reside on separate LUNs or drives.
On Unix clusters, use pre/post scripts to freeze and unfreeze the
cluster for revert operations. For example, on Red Hat Linux cluster,
use the following command in the pre/post scripts:
clusvcadm -Z <group> to freeze the
cluster
clusvcadm -U <group> to unfreeze the
cluster
This is required because, during revert the application is shut down
and corresponding volumes are unmounted. In that case, the cluster will
automatically failover to another node thus preventing the revert
operation.
Perform a SAP Oracle Revert Restore operation using the Command Line
Interface
Review the following before performing a revert operation:
Set RevertSnapVolume to 1 at the following location:
$ORACLE_HOME/dbs/init<SID>.utl
Ensure that the archived redo log files and their mirror log files
reside on the same array as data.
Run the following to perform Revert Restore of Database:
./brrestore –d util_file –m all –b last
After a successful revert restore operation, you must also run the
following command to restore control files:
./brrestore
–d util_file –b last –m 0
After the data and Cntrl File restore, perform recover as “recover
database using backup controlfile until cancel” or recover using brrecover
tool.
When using HP EVA Clone or Data Replicator for SnapProtect backup, the
revert operation is not supported.
It is recommended to verify the
contents of the backup and ensure that you want to perform a revert operation
as it is an irreversible operation.
Perform SAP Oracle Revert Restore using CommCell console
From the CommCell Browser, right-click the entity
that contains the data you want to restore, and click All Tasks | Browse Backup Data.
From the Browse Options dialog box, click OK.
Select the data you want to revert and click Recover All Selected.
From the Restore Options dialog box, click Advanced.
Select the Use hardware revert
capability if available
option.
Click OK to confirm the revert operation.
Click OK from the Advanced Restore Options dialog box.
Click OK to start the revert.
An application aware revert operation reverts
back all the volumes included in the backup.
Perform a Hardware Specific Revert
From the CommCell Console, navigate to Client Computers |
<Client>.
Right-click the subclient and click List Snaps.
Right-click the snapshot that you wish to delete and click Use hardware revert
capability if available.
Enter the confirmation
text string, confirm.
Click OK.
A hardware specific revert operation reverts back
the volume included in the snapshot.
For NetApp NFS configurations:
This operation reverts all data on the file server volume, not just the
data that is associated with the snapshot.
A volume revert deletes all snapshots that were created
after the snapshot to which you are reverting.
If you perform a volume revert on the source for a SnapVault/SnapMirror
copy, and the snapshot to which you are reverting was created
before the most recent snap moved to the SnapVault/SnapMirror
copy, then the SnapVault/SnapMirror copy operation no longer
works.
Snapshots may be deleted from the array due to factors like low disk space on
the array, number of snapshots exceeds the threshold etc., and the jobs corresponding
to these deleted snapshots can no longer be used for any data recovery or backup
copy operations. You can use the
nRunSnapRecon
registry key to start snap reconciliation to check for missing snapshots once in
every 24 hours and marks jobs corresponding to the missing snapshots as invalid.
where the BRBACKUP command can backup control files
and data files within one or more table spaces, and (if necessary) log files.
BRBACKUP can backup all of these file types
with the database either online or offline. Also, BRBACKUP
saves the profiles and logs relevant to the backup.
Before you run backups from the SAP command line, ensure that the appropriate
parameter file containing information regarding the instance and the client is in
place. Be sure to include at least the CVInstanceName
parameter name followed by the name of the instance and also the
CVClientName parameter name followed by the name
of the client.
For SAP for Oracle on Unix include this information in the
init.utl file under the
$ORACLE_HOME/dbs directory.
For any SAP for Oracle version, if your backups and restores will be using
the SAP utility files, be sure to modify the init<SID>.utl
file by adding values for the following parameters. Note that some parameters
are optional.
snapBackup, which specifies that the
SnapProtect backup is enabled. Default value is 0.
RestoreSnapToTape,
which specifies the source copy for restore. Default value is 0, which
means that media will be used for restores.
RevertSnapVolume,
which specifies that the revert operation is enabled. Default value is
0, which means that revert is disabled.
It is recommended, that after reverting the data volumes, control file
restores, log restores, and recovery you should reset the value of
RevertSnapVolume to 0 to ensure that a revert operation is not
unintentionally performed.
You can perform a SnapProtect backup for SAP for Oracle when the database is
on a NFS Volume. However, you will require a root access in the storage device's
NFS configuration to be able to read and write on the accessible SAP for Oracle
files i.e., the host on which the NFS Volume is mounted.
File level revert is performed by default when revert restore is run on NFS
volumes. For Volume Level revert on NFS volumes, use the sUSE_FILE_LEVEL_REVERT
registry key. File level revert cannot be performed when the database resides
on regular SAN Volumes (LUNs).
Consider the following while performing a SnapProtect backup for data or
databases that reside on a NFS Volume:
The export name on the storage device should be the same as the storage path on
the storage device.
E.g., if the storage path of the storage device is
/vol/Volume/Qtree, use
/vol/Volume/Qtree as the export name and not an alias such as
/ExportName.
You can use the exports both at the root of a NetApp volume and at
subdirectory levels below the root of the volume.
Make sure that the storage device is accessible from the source and proxy machine
(even if they exist in different domains) using the storage device's short name while
mounting NFS exports from the storage device. Make sure to enter the storage
device credentials using its short name. Do not use an IP address or the
fully qualified domain name.
E.g., use a short name for the server such as
server1 or server2.
When using the Solaris Volume Manager, ensure
that a complete disk is used for a metaset. Also, ensure that the
metaset is owned by single host and the ownership of the metaset is
attained before performing the SnapProtect backup operations.
Supported Configurations:
One Physical Volume containing one Logical Volume
One Physical Volume containing one or more Logical Volumes
Multiple Physical Volumes containing one Logical Volume
Multiple Physical Volumes containing one or more Logical Volume
The adjacent diagram summarizes the Volume Manager support for SnapProtect
backup.
Several additional options are available to further refine your backup operations.
The following table describes the additional options:
Option
Description
Related topics
SCSI Reservation
SCSI reservation can be enabled for SnapProtect backup
for all the agents. Use the registry key
nSCSIReserveForSnap
to enable SCSI reservation. Enabling SCSI Reservation prevents other applications
(SCSI3 compliant) from using the reserved SCSI Device (i.e. the mounted
snapshot).
If this option is enabled and the hardware
does not support this type of operation, subsequent data protection
jobs may fail.
The Pre/Post commands for SnapProtect backup
can either be executed on the proxy or the source computer. You can use
the Pre/Post Process tab of the Subclient Properties dialog
box to select where you wish to execute the Pre/Post commands. SnapProtect
backup supports Pre/Post commands for the agents that support it.
Use of Pre/Post Snap commands is not supported when using Data Replicator as the storage array.
For more information on using the Pre/Post
commands, see
Pre/Post
Processes.
View Snapshot Details
You can view the details of a snapshot for an agent, job,
or a snapshot copy. When you right-click any of these entities, you will
be able to browse all the snapshots corresponding to the selected entity.
From the CommCell Browser, right-click the entity that contains
the snapshots you want to browse, and click All Tasks |
List Snaps.
The Snaps created during SnapProtect operation dialog box displays
a list of all the snapshots created for the selected entity and displays important information about each snapshot, including the source
mount path, snap mount path, the storage array, and the source client.
Right-click the snapshot and click Details to view the snapshot
properties.
Select a Job for Backup Copy
You can select a specific job for creating backup copy.
Once selected, the Move Snap to Tape field for the specific job will be
changed to Picked (i.e., the next backup copy operation will move this job
to media).
Right-click a storage policy containing SnapProtect backup jobs,
and then click View Jobs.
Right-click the job and then click Pick for Backup Copy.
Disable a Job for Backup Copy
You can prevent a job from being moved to media. You
can apply this option to those jobs that were previously selected for moving
to media. On selecting this option, the Move Snap to Tape field for the
specific job will be changed to Not Picked (i.e., the next backup copy operation
will not move this job to media).
Right-click a storage policy containing SnapProtect backup jobs
and then click View Jobs.
Right-click the job and then click Do not Backup Copy.