--StartImportJob
--ContentDB WSS_Content_054a5bfa-f23c-49b8-8f78-e0b3ce00b193 --BackupID "2010/04/20-4" ––Server computer
––Instance OFFICESERVERS --TargetLocation C:\Restore
•Suppose you want to start a restore job by importing the content database from a filesystem to the Microsoft SharePoint Server to the default restore location
C:\Restore.
If the Microsoft SQL Server Database Primary Data File is
WSS_Content_054a5bfa-f23c-49b8-8f78-e0b3ce00b193.mdf and the SQL Server Transaction log file is
WSS_Content054a5bfa-f23c-49b8-8f78-e0b3ce00b193_log.LDF, specify:
--StartImportJob
--ContentDB WSS_Content_054a5bfa-f23c-49b8-8f78-e0b3ce00b193 --BackupID "2010/04/20-4" ––Server computer
––Instance OFFICESERVERS
––Files="C:\Restore\WSS_Content_054a5bfa-f23c-49b8-8f78-e0b3ce 00b193.mdf";"C:\Restore\WSS_Content054a5bfa-f23c-49b8-8f78-e0b 3ce00b193_log.LDF"
--TargetLocation C:\Restore
Verifying target location disk space size
•To check the available disk space on the default restore location C:\Restore, specify:
--QueryServerInfo --Server computer --Instance OFFICESERVERS --TargetLocation C:\Restore
This also lists the location of all content database files in the tree structure.
Listing content databases
•To list all content databases in the Recovery Cache including the backup versions, specify:
--ListCache --All
•To list detailed information of the content databases, specify:
--ListCache --Verbose
Granular Recovery Extension for Microsoft SharePoint Server | 59 |