Frequently Asked Questions - SnapProtect Backup

Table of Contents

General

Virtual Server (VMware)

Microsoft Hyper-V

Oracle

Microsoft SQL Server

NAS

SAP for Oracle

DB2 (Unix)

Unix File System

Windows File System

General

How does the SnapProtect Backup Operation work?

When you run a SnapProtect backup operation, the Calypso software performs the operations listed below in the following sequence of events:

Create Snapshot on the Source

This event includes the following operations:

  1. Device detection based on subclient content.

    This operation gathers information from local volume managers, multipath devices and physical disks (including partitions). For example, information on UUIDs is retrieved from a local volume manager.

  2. Take snapshot of detected devices

    This operation invokes the snapshot functions from the file server and creates the snapshot. Once created, Calypso records the snapshot in the CommServe database along with metadata, which includes information about local volume managers, multipaths and physical disks.

Mount Snapshot on Proxy

This event includes the following operations:

  1. Map LUNs to the MediaAgent

    This operation invokes the file server functions to map clone devices to the proxy MediaAgent.

  2. Recreate Storage Hierarchy

    Based on the metadata collected during device detection and snapshot creation, Calypso recreates the storage hierarchy as follows:

What provisioning Policies can I use?

Provisioning Policies are optional to use. During the creation of the secondary snapshot copy, the following Provisioning Policies are automatically created and available for selection in the CommCell Console:

If you need to create your own provisioning policy, ensure it is defined with the following naming convention in the DFM server:

SnapProtect_<provisioning_policy_name>

where "SnapProtect_" is the prefix required for the provisioning policy to be available in the SnapProtect software.

What happens when a Vault/Mirror copy is created?

During an Auxiliary Copy job, a new dataset is created or an existing dataset is modified with new data members, as explained in the following flow of events:

  1. When the SnapProtect software assigns data to the service catalogue, a new baseline transfer may have started in the Data Fabric Manager (DFM) server.
  2. The Auxiliary Copy job details display its status as the baseline transfer is in progress.
  3. Once the baseline transfer is completed, the SnapProtect software adds the snaps to the backup list, and the backup starts with the DFM.
  4. If SnapMirror is the destination copy, then the SnapProtect software sends a command to update the mirror.

    The DFM job is monitored and marked as completed/failed depending on the DFM job status.

How are snapshots copied during a backup copy operation?

The snapshots are copied to media in a sequential order. If you wish to perform an inline backup copy operation and a previously selected snapshot has not been copied to media, the current SnapProtect backup job will complete without creating the backup copy and you will need to create an offline backup copy for the current backup.

How Can I back up and restore all virtual machines within a specific datastore?

All virtual machines in a specific datastore can be backed up and restored together as follows:

  1. Create a new subclient that will be dedicated to the datastore containing the virtual machines you want to back up. Consider giving this subclient the name of the datastore you are backing up for easy identification in the CommCell Console. Refer to Creating User-Defined Subclients for complete step-by-step instructions.
  2. From the backup set in which the new subclient is created, configure automatic discovery of virtual machines based on datastore affinity. You can then assign the desired datastore to the new subclient. Refer to Discover by Datastore Affinity for complete step-by-step instructions.
  3. Schedule routine backups of the subclient. Refer to Scheduling a Backup for complete step-by-step instructions.
  4. When a restore is needed, you can restore all virtual machines within the datastore by performing a browse operation on the subclient, selecting all virtual machines displayed in the Browse window, and selecting either the original datastore or a new datastore as the destination from the Restore Options dialog box.

    Refer to the following for complete step-by-step instructions:

The above-mentioned steps can also be customized to group backups and restores of other entities, such as ESX Server, Resource Pools, etc.

What should I take into account when using Retention by number of Jobs?

Configuring a storage policy or snapshot copy with job based retention is recommended for File System and File System like Agents, and not for Database Agents.

Review the following scenarios if you are using the retention by number of jobs configuration:

What UTF Setting should be used for Volume Language?

To successfully browse and restore files on a NetApp file server that contain Unicode characters, it is recommended to use the UTF-8 setting for volume language. Please consult with NetApp for implications of changing volume language.

How is the Data Fabric Manager server affected when a snap copy is deleted?

If you delete a snapshot copy, the following components in the DataFabric Manager server will be affected:

Is Multi instancing Supported?

No. Multi Instancing is not supported for SnapProtect backup.

Can I use Media Explorer to restore data?

No. Restore of SnapProtect backup data using Media Explorer is not supported. However, Media Explorer can be used to restore SnapProtect backup data from the Primary Copy.

How do I determine the number of streams to be used for a restore operation from a SnapProtect backup?

For DB2, SAP for Oracle, and Oracle iDataAgents, when restoring from a snapshot using file system, the number of streams depends on the number of mount points used for the restore operation. Similarly, when restoring from a backup copy using file system, the number of streams depends on the number of media groups used for the restore operation.

Can I perform a SnapProtect backup of RDM disks for an Agent from a virtual machine host?

Yes. It is supported to run a SnapProtect backup operation of Raw Device Map (RDM) disks for any Windows-based Agent configured in a virtual machine. Ensure the iSCSI Initiator is configured on the client computer to access the storage device in order to perform a successful SnapProtect operation.

What are the commands used for device discovery?

During a SnapProtect backup job, the Calypso software runs a set of commands to discover storage devices.

The following table displays the commands that are used to list, rescan and delete adapters/devices for each operating system:

Operating System List FIBRE cHANNEL aDAPTERS Rescan FIBRE cHANNEL aDAPTERS Rescan ISCSI Devices Delete Device

AIX

<Base>/scan_fc_adapters.sh cfgmgr -l <hba_name> cfgmgr -l <iscsi_adapter> rmdev -d -l <hdisk_name>

HP-UX

<Base>/scan_fc_adapters.sh
  1. Obtain the path for the host bus adapter (HBA):

    ioscan -unfC fc

  2. Scan the HBA path

    ioscan -H <HBA_path>

  For Legacy HP-UX (earlier than 11.23):

rmsf –a <device>

For non-Legacy HP-UX:

  1. Obtain persistent name mapping:

    ioscan –m dsf

  2. Check device availability:

    ioscan –kNF <device>

  3. Delete the device:

    rmsf –H <device>

Linux

<Base>/scan_fc_adapters.sh
  1. Perform the hardware loop initialization (LIP):

    echo 1 > /sys/class/fc_host/<$host>/issue_lip

  2. Perform a SCSI mid-level rescan:

    echo '---' > /sys/class/fc_host/<$host>/scan

  • For Red Hat 4 computers:

    /sbin/iscsi -rescan

  • For SuSE Linux 9 computers:

    /etc/init.d/iscsi reload /bin/rescan-scsi-bus.sh -r –L 512 –w –c --nooptscan

  • For SuSE Linux 10 and Red Hat 5 computers:

    /sbin/iscsiadm -m session -R

echo 1 > /sys/block/<device>/device/delete

Solaris

<Base>/scan_fc_adapters.sh cfgadm -c configure <controller> devfsadm -i iscsi devfsadm -C -c disk

Can I create my own commands to perform device discovery?

Yes, you can customize the device deletion and the rescan logic by creating the following registry keys:

Key Description
DeleteDevice This key will trigger a custom script which will perform an OS level device deletion. Once all the devices are removed, the Calypso software will remove the LUNs from the storage arrays.

Use this key if you need to unmount snapshots that are mapped to either the proxy or source machine. The key will delete all devices mapped to the machine.

Follow the steps below to create this registry key:

  1. From the CommCell Browser, navigate to Client Computers.
  2. Right-click the <Client>, and the click Properties.
  3. Click the Registry Key Settings tab.
  4. Click Add.
  5. In the Name box, type DeleteDevice.
  6. In the Location box, select or type the iDataAgent.
  7. In the Type box, select Value.
  8. In the Value box, type the full path to the script. The device name will be passed as an argument.
  9. Click OK.
RefreshBus This key will trigger a custom script for each host bus adapter that needs to be rescanned.

Use this key if you need to rescan the machine for any new devices each time a snapshot is mounted or unmounted.

Follow the steps below to create this registry key:

  1. From the CommCell Browser, navigate to Client Computers.
  2. Right-click the <Client>, and the click Properties.
  3. Click the Registry Key Settings tab.
  4. Click Add.
  5. In the Name box, type RefreshBus.
  6. In the Location box, select or type the iDataAgent.
  7. In the Type box, select Value.
  8. In the Value box, type the full path to the script. The WWPN of the adapter will be passed as an argument.
  9. Click OK.

After creating the above registry keys, you can use the following script examples:

On Linux Computers

On AIX Computers

How does Calypso select Target Devices during Clone/Snap Operations?

When you configure an storage device using Array Management in the CommCell Console, the Device Group text box defines the target device group where Calypso will move the source and target devices during SnapProtect backup operations. This option does not specify the source device group (from where a device should be found during Snap/Clone operations).

The following table explains the default behavior for selecting a Snap or Clone target device:

Scenarios based on Array Management Options Target device is selected from... Source and Target devices are moved to...
Device Group is not specified and Use devices only from this device group is not checked Any device in the array CV_PROTECTION_GROUP device group
Device Group is not specified but Use devices only from this device group is checked CV_PROTECTION_GROUP device group CV_PROTECTION_GROUP device group
Device Group is specified but Use devices only from this device group is not checked Any device in the array The device group specified in Device Group
Device Group is specified and Use devices only from this device group is checked The device group specified in Device Group The device group specified in Device Group

Can I backup physical RDMs in a virtual machine using SnapProtect?

Yes. You can use File System iDataAgent and perform the SnapProtect operation to backup the physical RDMs in the following scenario:

Virtual Server (VMware)

Can I use a different ESX server for snap mount during Restores or Moving to Tape?

Yes, you can override the default restore selection by choosing a different Virtual Centre or ESX Server to restore or moving to tape, by following the steps given below:

  1. From the CommCell Console, right-click the Subclient and select Browse Backup Data.
  2. Click OK and select the virtual machine under the backupset. Its entire contents will be automatically selected in the right pane. Click Recover All Selected.
  3. Click on the Advanced from the Restore Options dialog box.
  4. Select the ESX Browse tab.
  5. The Default Selection has the IP address of the ESX Server pre-populated.
  6. Select Override Default Selection to locate a different destination.
  7. Enter appropriate credentials to logon to the server using Configure Password button.
  8. Click Browse VirtualCenter/ESX Servers for destination to provide the ESX Server path to which the virtual machine will be restored.
  9. Select the appropriate ESX server. 
  10. Click OK to close the Browse for ESX Server dialog.
  11. Click OK to close the Advanced Restore Options dialog.

Does a Virtual Server client support advanced transport modes for snapprotect operations?

Yes, the Virtual Server client can support advanced transport modes like SAN during restores and mounting operations, if configured as follows:

  1. The Virtual Server client machine should be physical server.
  2. LUNs on which the virtual machine is created should be exposed to the Virtual Server proxy client.
  3. The Virtual Server client is connected through iSCSI or Fiber Channel.

How do Backup and Restore operations handle Independent/RDM Disks?

If a virtual machine undergoing a backup job includes independent disks, physical or virtual RDMs, these disks will be skipped. During a full VM restore the independent disk/Physical or virtual RDMs  will get restored as a regular disk with 0MB data.

If a subclient contains virtual machines with independent disks/physical or virtual RDMs, the backup job will always complete with the status "Completed w/ one or more errors". However, if you create the IgnoreUnsupportedDisks registry key on the proxy computer, the backup job will complete successfully.

How do Backup and Restore operations handle Virtual RDM Disks?

Virtual RDMs are protected by the backup job (but not during IntelliSnap backup). However at the time of restore, the data is restored as a regular VMDK on a datastore. A virtual RDM is not re-created and the data is not restored to the virtual RDM’s device.

Can I perform a SnapProtect backup of a Windows 2008 R2 virtual machine?

Yes. To successfully run a SnapProtect backup of a virtual machine with Windows 2008 R2, ensure that if the virtual machine resides on a single datastore it is not spread across multiple folders.

If the virtual machine is spanned across multiple datastores, you can run SnapProtect backups for virtual machines with ESX version 4.1 (or higher) by configuring the VM using the steps below:

  1. Power off the virtual machine.
  2. From the VI client, right-click the virtual machine and select Edit Settings.
  3. Click the Options tab.
  4. From the list of settings, select General located under the Advanced setting. Then click the Configuration Parameters button on the right pane.
  5. From the Configuration Parameter dialog box, click the Disk.EnableUUID parameter and set it to false.
  6. Click OK.

Can I Configure the Virtual Machine to Include the Root Volume of a File Server?

No, data that resides on the root volume cannot be part of the virtual machine content.

Can i configure Archive Log Destination with a different pattern for Snap Protect Operations?

No. The archive log destination should be a valid directory for snap. Snap protect operation will not work if you configure the archive log destination with a different pattern such as log_Archive_dest_1='location=/archivelog/db_'.

How is VM backup size calculated for capacity licensing?

For VM backups, capacity licensing is based on the total backup size, calculated as the sum of backup sizes for all VM backup jobs after white spaces (blocks of zeros) are removed. The license counts the backup size of all configured subclients; virtual machines that are included in multiple subclients will be counted multiple times. The backup size is measured for usage tracking and shown on the Backup Job Summary Report.

The backup size can be different from the guest host size or used space value shown for the VM in the disk properties dialog by Microsoft Windows. 

The following factors can affect the backup size calculation:

For example:

The backup size reflects the size after eliminating white spaces; but data that was written and deleted still counts as reserved (allocated) space. The layering effects of multiple virtual file systems can cause differences between the size reported by the guest host running within the VM and the reported backup size. Frequent deletion of large files can easily cause these numbers to be out of sync.

Version 9.0 reports on all allocated blocks in the VM. The amount reported for allocated blocks can be the same size or larger than what is actually in use and can contained reserved space for deleted items. For each VMware instance, Version 9.0 has an additional reporting column of the actual size of VMs.

The following measures can help reduce backup size:

Microsoft Hyper-V

How is VM backup size calculated for capacity licensing?

For VM backups, capacity licensing is based on the total backup size, calculated as the sum of backup sizes for all VM backup jobs after white spaces (blocks of zeros) are removed. The license counts the backup size of all configured subclients; virtual machines that are included in multiple subclients will be counted multiple times. The backup size is measured for usage tracking and shown on the Backup Job Summary Report.

The backup size can be different from the guest host size or used space value shown for the VM in the disk properties dialog by Microsoft Windows. 

The following factors can affect the backup size calculation:

For example:

The backup size reflects the size after eliminating white spaces; but data that was written and deleted still counts as reserved (allocated) space. The layering effects of multiple virtual file systems can cause differences between the size reported by the guest host running within the VM and the reported backup size. Frequent deletion of large files can easily cause these numbers to be out of sync.

Version 9.0 reports on all allocated blocks in the VM. The amount reported for allocated blocks can be the same size or larger than what is actually in use and can contained reserved space for deleted items. For each VMware instance, Version 9.0 has an additional reporting column of the actual size of VMs.

The following measures can help reduce backup size:

Oracle

Can I use the Oracle Agent to perform a SnapProtect Backup of an Oracle RAC Client?

Yes, you can perform SnapProtect operations for a single node Oracle RAC setup. The following configurations are required:

Can I use a Separate Proxy to perform a Backup Copy?

No. The Use Separate Proxy for Snap to Tape option in Subclient Properties is not supported for the Oracle iDataAgent.

Can we restore a point in time snapprotect backup, if copy precedence is not selected?

Generally, we can set copy precedence for storage policy. The copy that is set to a copy precedence of 1 will be restored. However, if a snapprotect backup job is available, then it won't consider the copy precedence and restores only from the snapprotect backup.

Can I perform an Incremental Backup Copy?

Yes. You can perform an incremental backup copy using RMAN.

If the Database and Instance name are different, can i perform a table level restore?

No. The table level restores will not work, if the database and instance names are different.

Can we Prevent the single volume Revert when the database is spanned across the multiple volumes?

No. You cannot prevent a single volume revert when the database is spanned across multiple volumes. When you perform a hard revert, the database will not be restored as the reversion happens at LUN level and the other source paths related to this database are not reverted. Hence, we recommend Restore by Revert which is application aware instead of regular revert using the CommCell Console (GUI).

The following steps explain the current process of reversion for a single volume when the database is spanned across multiple volumes:

  1. Create two Logical Unit Numbers (LUNs) from the same volume and another LUN from a different Volume.
  2. Create host volume from each LUN or two LUNs from the same volume. Create two LUNs from a different Volume and host volumes (partitioned disks) from each LUN.
  3. Create multiple mount points and mount the File System created from above LUNs.
  4. Create a database on these mount points and create table spaces spanned across these locations.
  5. Perform a SnapProtect backup for the database.
  6. Perform a SnapProtect backup after adding data and tables.
  7. Select all source paths related to LUN at previous Job ID and perform the hardware revert.

Can I Configure the Oracle Database to Include the Root Volume of a File Server?

No. The data that resides on the root volume cannot be part of the Oracle database content.

Can i perform a Log Only Restore for ASM Database?

No. Log Only restore is not supported for ASM database.

Is the softlink path supported for SnapProtect Operation?

No. Softlinks are not supported for this iDataAgent's datafile paths and archive log location. you should use the real paths.

You can create alias device using mknod for raw devices.

How do I determine the supported IntelliSnap Operations based on the location of the Oracle application, data and log volumes on the client?

The following table displays the supported IntelliSnap operations based on the location of the Oracle Application, Data and Log volumes on the client :

Operation Oracle APPlication / data / log are on the same Physical disk/Volume Group Oracle APP is on different device / Volume Group but Oracle data and log on Same Physical disk / Volume Group Oracle APPlication, data and log are on different Physical disks / Volume Groups (Recommended Configuration) Notes
IntelliSnap Backup Supported Supported Supported  
Backup Copy Supported Supported Supported  
IntelliSnap Restore Supported Supported Supported  
Volume level Revert Not Supported Supported (based on Array Support) Supported For NetApp array, if data and log are on the same volume, log snap will be deleted automatically after reverting the data volume.
File Level Revert (NetApp NFS only) Supported Supported Supported  

If data and logs are on same volume/disk, multiple snaps will be taken in data phase and log phase separately.

Multi Instance Snap Optimization

Can we revert from Snap, if the snap and clone are present on the same device?

If the SnapProtect backup and Clone exist for the same source device in the case of EMC Symmetrix, the revert operation from SnapProtect backup will work. However, the revert from clone will not work until all the snap sessions are terminated.

Can we perform a Log only SnapProtect backup in a multiple instances environment using a shared storage on a client?

No. Currently, the Log only SnapProtect backup is not supported for multiple instances using a shared storage on a client

Can we perform a Table level and ASM SnapProtect backups in a multiple instances environment using a shared storage on a client?

No. Currently, the table level and ASM SnapProtect backups are not supported in a multiple instances environment using a shared storage on a client.

Microsoft SQL Server

Are there any considerations for a SQL database backup?

NAS

Can I Backup Data Residing on a vFiler?

Yes. If the data you want to backup resides on a vFiler, set it up as follows:

  1. Add the vFiler as a NAS client as explained in the Getting Started - NAS Configuration procedure.

    If you plan to add more vFilers as NAS clients, ensure they have unique names. vFilers with the same name are not supported.

  2. During the NAS client configuration, ensure not to include the vFiler root volume in the subclient content.
  3. When performing a backup, indexing is supported if the physical file server (where the vFiler resides) has been specified in Array Management. If not, ensure you select the Skip Catalog phase for SnapProtect option during backup as indexing will not be supported.
  4. To restore the data, create a backup copy as explained in the Snap Movement to Media procedure and restore the files and volumes from the backup copy.
  5. Other operations you can also perform with the snapshot are mount and revert operations.

Can I Configure a Subclient to Include the Root Volume of a File Server?

No, data that resides on the root volume cannot be part of the NAS subclient content.

Can I use a vFiler as destination for SnapVault/SnapMirror copies?

No. vFilers cannot be the destination location for SnapVault/SnapMirror copies as it is not supported by the DataFabric Manager.

Can I use the File System NRE for NAS restores?

No. Restore of NAS data to a Windows or Unix computer using File System NDMP Restore Enabler (NRE) is not supported for NAS iDataAgent snapshots.

Can I enable the Image Backup Set option on a SnapVault Copy?

Yes, you can enable the Image Backup Set option (for SnapMirror to Tape) on a backup set containing the SnapVault copy. However, the image backup of the SnapVault copy will not exactly match the primary (source) volume. For example, the non-qtree data on the primary volume will be in a qtree on the SnapVault copy; the SnapVault copy may also contain data from other primary volumes.

Can I Restore to a Client from a NAS Snapshot?

No. Restores from NAS Snapshots are not supported. You can restore to a client from a NAS backup copy.

SAP for Oracle

How can I increase the number of snapshots created for a USP volume?

The maximum number of snapshots created for a USP volume is 3. When using the HDS storage array with SAP for Oracle, you can have up to 4 snapshots on the same volume if you store the Data ($SAPDATA_HOME) and Config ($ORACLE_HOME/dbs) directories in the same volume.

Is the softlink path supported for SnapProtect Operation?

No. Softlinks are not supported for this iDataAgent's datafile paths and archive log location. you should use the real paths.

DB2 (Unix)

Can I restore Data and Log files?

No. During a SnapProtect backup, log files are not moved to the snapshot copy even if the Backup Log Files option is selected on the subclient where the backup operation is being performed. Log files always use the traditional backup method, not the SnapProtect backup.

Running a restore operation from the snapshot copy will fail because the log data will not be found. If you want to restore both data and logs, modify the copy precedence to restore from the Primary(Classic) copy.

Is the softlink path supported for SnapProtect Operation?

No. Softlinks are not supported for this iDataAgent's datafile paths and archive log location. you should use the real paths.

Unix File System

Can I include Root Folder (/) as Subclient content for SnapProtect?

No, root folder (/) should not be included as subclient content for SnapProtect.

What Non-Native FC drivers are supported?

Qlogic SANSurfer CLI on SuSE Linux Enterprise Server 10 SP2.

Can I Perform A Cross Platform Restore of ACLs?

No, the restore of ACLs from one operating system to another is not supported.

Can I Restore ACLs from one file system type to another?

The restore of ACLs from one file system type to another may fail as the ACLs restore is dependent on the file system implementation. For example, ACLs which are backed up from ext3 cannot be restored to NFS and vice versa. Also, if you attempt to restore data from one file system type to another with ACLs included, but the file system is mounted without ACLs, the restore operation will fail. To workaround this issue ensure that the file system is mounted with ACLs before attempting a restore operation.

To prevent the restore operation from failing you can restore data without the ACLs included.

Hardware Reverts for AIX Logical Volumes. What happens during this operation?

When you revert all the logical volumes in the AIX Logical Volume Manager, the revert operation supports all logical volume types and all their attributes are preserved. However, for revert operations on single logical volumes, striped volumes are not supported.

The following table displays the logical volume attributes that are preserved when you revert a single volume:

Attribute Name Description

inter

Inter-physical volume allocation policy

intra

Intra-physical volume allocation policy

label

Volume label

Relocatable

Defines if relocation is allowed during reorganization of the logical volume

strictness

Strict allocation policy

type

Logical volume type

upperbound

Upper-bound on the physical volume used for new allocations

permission

Access permission of the logical volume

mirror write consistency

Defines if mirrored copies are in a consistent/active state

serialize IO

Defines if logical volumes are overlapping I/O serialized

sched policy

Defines which scheduling policy is being used when more that one logical partition is written

BB policy

Bad block relocation policy

write verify

Defines if all verified write operations are followed by a follow up read operation

Is the softlink path supported for SnapProtect Operation?

No. Softlinks are not supported for SnapProtect operation. you should use the real paths.

You can create alias device using mknod for raw devices.

Windows File System

What Happens to My backup if the timestamp on the commserve and client computer is different?

The incremental or differential backup will run as full backup and include all the files located on the source in the backup, even though these backups will be displayed as incremental or differential in the Job Manager.

Which Scan Methods are supported for scanning files during a SnapProtect backup?

You can enable the classic scan or Data Classification to scan files during a SnapProtect backup. If you select the Data Classification as the scanning method, ensure that the meta database is located on the same volume for which you are performing the snap backup.