Problem
How to backup NFS-mounted file systems on Windows.
Solution
The below steps document the most common method to accomplish backing up NFS mounted data
Note: NFS Mounts (just like Mapped Drive Letters) only exist for the desktop instance in which they were created. These steps document how to create the NFS Mount for the desktop instance in which the bpbkar32.exe process exists.
- On the client machine whose name appears in the Policy, change the "Netbackup Client Service" from starting with LocalSystem to start with a Domain Account which has both local administrator permissions as well as permissions to the NFS location.
- Configure NetBackup to mount the NFS share upon the start of each backup job by placing the bpstart_notify.bat script in the ...\netbackup\bin directory on the client and configuring it accordingly.
Example:
Copy it from:
C:\Program Files\Veritas\NetBackup\bin\goodies\bpstart_notify.bat
To:
C:\Program Files\Veritas\NetBackup\bin\bpstart_notify.bat
Example of the mount command which needs to be added to bpstart_notify.bat:
@REM main script starts here
@REM This is a simple script that records what kind of backup will be done along
@REM with other relevant information (Client name, policy name, etc) and
@REM appends the information to the results file
@REM
mount nfs_server.com:/folder x:
@REM
- In the NetBackup Policy select:
Backup Network Drives (policy attribute)
Cross mount points (policy attribute)
x:\folder (backup selection)
- Test backups and restores
Note: Veritas supports backing up data via NFS mounts on Unix and Windows. NetBackup supports all Windows NFS mounting methods that are supported by Microsoft.
If Error 71 is returned indicating that the files do not exist and /or attempts to browse files are unsuccessful, please refer to the following solutions:
None of the files in the file list exist (71).
STATUS CODE 71: A Status 71 error "none of the files in the file list exist" occurs.