Restoring a directory or file
Methods for restoring data
In the event of data loss or corruption on the Open Systems platform, the administrator can use one of three different methods for restoring a directory or file:
- Copy files from the secondary storage system to the primary storage system.
- Use the svrestore command.
- Use the DataFabric Manager restore wizard.
Copying files
You can copy files from the secondary storage system to the NFS or CIFS primary storage system if you want to restore something other than an entire qtree, that is, a single file, a small group of files, or a few directories.
You might want to share the SnapVault destination on the secondary storage system with all the primary storage systems all the time. In this way, end users can perform self-service restores without bothering a backup administrator.
Note
Some Windows NT and UNIX attributes are not preserved using this method, notably, Windows NT sparse files and UNIX access control lists (ACLs).
Copying files to NFS primary storage systems
To restore data by copying files back to an NFS primary storage system, complete the following steps.
Step
|
Action
|
|
1 |
Mount the backed-up qtree from the SnapVault secondary storage system to the NFS primary storage system.
|
|
2 |
Use the UNIX cp command, or an equivalent command, to copy the desired files from the backup to the directory in which you want them.
|
Copying files to CIFS primary storage systems
To restore data by copying files back to a CIFS primary storage system, complete the following steps.
Step
|
Action
|
|
1 |
Create a share from the backed-up qtree on the SnapVault secondary storage system to the CIFS primary storage system.
|
|
2 |
Drag and drop the desired files from the backup to the directory in which you want them..
|
Using the svrestore command
You can use the svrestore command to restore a directory or file on the Open Systems platform to its state at the time of one of its SnapVault snapshots.
To use the svrestore command, complete the following step.
.
Step
|
Description
|
|
1 |
In the command line interface of the Open Systems platform whose data you want to restore, use the svrestore command to specify
- the secondary storage system host and the path to the secondary qtree, directory, and file that you want to restore from
- the name of the snapshot that you want to restore from (for example, sv_weekly.0, sv_weekly.1, or sv_weekly.2)
- the path on the primary storage system to the directory, or file that you want to restore to
Example 1 (Windows)
svrestore -s sv_daily.0 -S myvault:/vol/sv_vol/melzdir\
evidence.doc a:\melzdir\evidence.doc
Example 2 (UNIX system)
svrestore -s sv_daily.0 -S myvault:/vol/sv_vol/melzdir/evidence.doc /usr/melzdir/evidence.doc
Note Enter the entire command as a single line. |
Using the DataFabric Manager restore wizard
The DataFabric Manager restore wizard leads you through the entire restore process. See the DataFabric Manager Administration Guide for details.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00476
File: snapval9.htm
Last updated: 11/13/03 17:17:39