Topics | How To | Related Topics
Unix and Macintosh File System Backup Jobs
Back up VMware Virtual Machines
Maximum Filename Length for Unix File System iDataAgent Backups
Handling Files with non-ASCII Characters
Backup Considerations for This Agent
Filter File Systems for Backup
Plan your backup jobs for this agent by reviewing the following information:
This agent supports the following backup types:
These agents have the following unique functionality.
If you keep critical data on an NFS-mounted file system, and if the computer on which the file system resides is not itself backed up, you can secure the mounted file system data by including it in the contents of a client computer on which the file system is NFS-mounted.
You must explicitly include an NFS-mounted file system in the contents of one of the subclients on the client computer as described in the following procedure.
If the NFS-mounted file system becomes unavailable before or during a backup/restore operation, a specific condition may result based on the status of the file system. If the file system is soft-mounted, backup operations will fail. If the file system is auto-mounted, backup operations may fail. If the file system is not available during a restore, data may be restored to the mount point directory.
Backups hang if a hard NFS mount becomes stale. Therefore, to allow backups to complete, you must clear any stale NFS mounts.
There are two types of file locks used by the Unix file system: advisory locks and mandatory locks. Files with an advisory lock are available to multiple users and applications. Files with mandatory locks cannot be used by any other user or application other than the current user. Files with a mandatory lock are skipped during the backup process and their file names and paths are logged to the Backup Job History log. You can use the CommCell Console to examine this log to determine if any files were skipped. The system automatically attempts to obtain any skipped files in the next backup.
Note that this does not apply to AIX clients and that the Macintosh File System supports only advisory locks.
It is recommended that you skip-detect locked files and continue with the backup whenever a Unix File System iDataAgent is backing up files on an NFS server that fails to get locks on these files. To do this, you must create and use the SSKIPLOCKF registry key. |
Backup jobs may have certain restrictions related to the type of file the agent is backing up.
See Effect of Data Types on Backups by Unix File System iDataAgents and Effect of Data Types on Backups by Macintosh File System iDataAgent for more information.
When configuring Unix File System backup sets, Classic File Scan is selected as the default method for scanning files to determine which files have changed and/or have been backed up. For all Unix File System iDataAgents, you can select Use Data Classification for the same purpose if the Data Classification Enabler is installed on the client. The preferred option is the Data Classification Enabler because it is the fastest scan method.
Classic File Scan is always used when files or file level wildcards are used to define subclient content. See Subclient Content Considerations for more information.
The options you set for classic file scan will be used whenever classic file scan is called (these appear grayed out unless classic file scan is selected). For example, you can select classic file scan, pick your options, and then Data Classification. In this case the Data Classification Enabler will be used, but your selected options for classic file scan will be saved and used whenever the classic file scan is called.
See Use Classic File Scan or Data Classification Enabler for step-by-step instructions on changing your selection.
This option allows you to prevent the file access time from being changed for Windows/Unix/Macintosh File System iDataAgents as a result of running data protection operations on the client. When this option is selected, the file access time will be preserved. See Preserve the File Access Time for step-by-step instructions.
The data that resides on the virtual machines for VMware ESX Server can be backed up using an appropriate iDataAgent, in a variety of ways. This data can be Unix data as well as data for different platforms (e.g., Windows, NetWare, etc.) Backing up VMware virtual machines requires that the appropriate iDataAgent(s) be installed and that you create and apply the Pre- and Post-Backup scripts needed to snapshot the virtual machines. Also, you can use Command Line Interface to perform backups.
For step-by-step procedures for backing up VMware ESX Server 2.5.x Virtual Machines, see Back up a VMware ESX Server 2.5.x Virtual Machine.
For more information about backing up VMware ESX Server 3.x Virtual Machines, see Back up a VMware ESX Server 3.x Virtual Machine.
The names of files (including the path) to be backed up by any Unix File System iDataAgent except the AIX File System iDataAgent cannot contain more than 1024 characters. For the AIX File System iDataAgent, the names of such files (including the path) cannot contain more than 1023 characters.
Files containing "international" (non-ASCII) characters can be backed up and restored as long as the appropriate locale is set correctly on the Unix/Linux server. "International" characters are those characters that fall outside of the ASCII character set (i.e., the character code for each such character is higher than 127). Since most Unix systems do not set a locale by default, you should configure the locale to ensure that the affected file names will be stored properly and that backups and restores will run successfully.
The following sections describe the configuration settings required to back up and restore files with names containing characters outside of the ASCII character set .
Once configured, these settings enable you to:
Usually, UNIX systems have several locales installed. One of them should be selected by environment variable LANG, LC_CTYPE or LC_ALL in the system profile (/etc/profile or similar). The locale defines how to encode non-ASCII file name characters.
For example, if you want to store files with Russian names encoded using the KOI-8R character encoding scheme, set the system locale to ru.koi8-r as follows:
To configure the locale:
Set the Locale
# export LC_CTYPE
Now, if you run the locale command again, the following output should display:
LANG= en_US.iso885915
LC_CTYPE="ru.koi8-r"
LC_NUMERIC="ru.koi8-r"
LC_TIME="ru.koi8-r"
LC_COLLATE="ru.koi8-r"
LC_MONETARY="ru.koi8-r"
LC_MESSAGES="ru.koi8-r"
LC_ALL=
Determine if the Locale Works
Include the Locale in the Startup Script
Setup Complete
It is very important to ensure that the selected locale corresponds to the actual character encoding scheme used to encode non-ASCII file names.
For example, Solaris partitions can be exported to Macs by TotalNET Advanced Server, which could emulate AppleTalk protocol allowing Macs to connect to Solaris box and use its file system. It was important to configure TotalNET Advanced Server (TAS) so that it encoded the file names properly on the Solaris disk.
The following settings are required for computers with Solaris 8 to export their disks to Macs with Japanese software:
The host character set can be accessed using the following options in the TAS system: TAS System -> TAS System Administration -> TAS System Setup
Note that in this case the Japanese locales and conversion filters are not available on the Solaris 8 system until the following packages are installed:
The correct Client character set in MAC computer allows TAS to properly convert Mac file names to UNICODE. Similarly the correct Host character set in Solaris allows TAS to store these file names in a way that the rest of Solaris software (including the iDataAgent) could understand after setting the system locale to ja_JP.eucJP.
For the Unix File System iDataAgents, you can back up symbolic links that are part of the subclient content. However, when you back up the symbolic links for a directory or file, ensure that the directory or file is present in the subclient content.
Selected agents can be configured to back up raw device files, including block and character, that are either explicitly identified or referenced via one or more symbolic links. However, note the following:
See Configure the Agent to Backup Raw Devices for step-by-step instructions.
When you are using supported versions of AIX, Linux, or Solaris, you can install and enable QSnap to back up locked files. See QSnap for the Unix File System iDataAgent for more information.
QSnap-enabled backups of raw devices are not supported by the affected Unix File System iDataAgents. |
Consider the following:
For AIX and Linux File System iDataAgents that support the VERITAS Cluster File System (VxCFS), you can use the sClusteredFSFilter and the sClusteredFSTypes registry keys to filter non-clustered and clustered file systems from your backups. These registry settings can be used to prevent backing up multiple copies. Without this feature enabled in a clustered environment, if "/" is backed up, all the clustered file systems under "/" are backed up from the physical machine as well as from the virtual machine. With this feature enabled in a clustered environment, if "/" is backed up from a physical machine, only non-clustered file systems are backed up; but if "/" is backed up from a virtual machine, only clustered file systems are backed up.
Filters can be used in conjunction with the "Items That Failed" list on the data protection Job History Report to eliminate backup or archive failures by excluding items which consistently fail that are not integral to the operation of the system or applications. Some items fail because they are locked by the operating system or application and cannot be opened at the time of the data protection operation. This often occurs with certain system-related files and database application files.
Also, keep in mind that you will need to run a full backup after adding failed files to the filter in order to remove them.
The tmpfs, ctfs, proc, devfs and lofs (loopback) file systems are automatically skipped during backups by the Solaris File System iDataAgent. The filters for these file systems and others can be altered by using the ignoreFStype registry key. The addition of the lofs file system as a skipped file system has an impact on the Solaris Global Zone with regard to filesystem submount points that might previously had been expected to be backed up (e.g., if the root of a zone is an lofs file system and it has the ufs, zfs, or vxfs submount file system). These submount file systems will be skipped during backup unless they are added to the subclient content.
Before performing any backup procedures for this agent, review the following information:
If you have a File Archiver Agent on the same client as your File System iDataAgent, and you want to include DataArchiver stubs in the file system incremental backups, see Including DataArchiver Stubs in Backups for more information.
The software uses ufsdump to back up only those
files that meet the constraint on percentage data specified by
nDUMPPERCENT and the minimum size specified
by nDUMPSIZE. As the default value of nDUMPPERCENT is set at zero, the software does not use ufsdump by default. |