Table of ContentsLibraryView in Frames

Restoring the qtree to the original volume structure

If you were to use the snapvault restore command, the source volume you backed up to a qtree is restored as a qtree on the primary storage system.

Steps

  1. To restore the backed-up qtree to the original volume structure with multiple qtrees on the primary storage system, re-create all of the qtrees in the volume on the primary storage system using the qtree create command.pri_system> qtree create /vol/projs/project_x
  2. Restore the data for each qtree using the ndmpcopy command. The following command restores data from the backed-up project_x directory on the secondary storage system to the re-created project_x qtree on the primary storage system. pri_system> ndmpcopy -sa username:password sec_system:/vol/vol1/projs/project_x /vol/projs/project_x

    For more information about the ndmpcopy command, see the Data ONTAP Data Protection Tape Backup and Recovery Guide.

  3. Stop qtree updates and remove the qtree on the secondary storage system using the snapvault stop command. The following command removes the projs qtree from the secondary storage system: sec_system> snapvault stop /vol/vol1/projs
  4. Reinitialize a baseline copy of each qtree to the secondary storage system using the snapvault start command. The following command reinitializes the SnapVault backup:sec_system> snapvault start -S pri_system:/vol/projs /vol/vol1/projs