You can use the snapvault restore command so that the source volume you backed up to a qtree is restored as a qtree on the primary system.
- To restore the backed-up qtree to the original volume structure with multiple qtrees on the primary system, re-create all of the qtrees in the volume on the primary system by using the qtree create command.pri_system> qtree create /vol/projs/project_x
- Restore the data for each qtree by using the ndmpcopy command.
The following command restores data from the backed-up project_x directory on the secondary system to the re-created project_x qtree on the primary 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 for 7-Mode.
- Stop qtree updates and remove the qtree on the secondary system by using the snapvault stop command. The following command removes the projs qtree from the secondary system: sec_system> snapvault stop /vol/vol1/projs
- Reinitialize a baseline copy of each qtree to the secondary system by using the snapvault start command. The following command reinitializes the SnapVault backup:sec_system> snapvault start -S pri_system:/vol/projs /vol/vol1/projs