70-667 · Question #124
You configure a SharePoint Server 2010 Service Pack 1 (SP1) server farm. You need to perform backup and restore of a site collection and its content database by using Windows PowerShell. Which…
The correct answer is G. Restore-SPFarm -Directory \\FileServer_Name\share\site_name.bak -RestoreMethod Overwrite Item. To restore a content database by using Windows PowerShell 1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin. 2. On the Start menu, click All Programs. 3. Click Microsoft SharePoint 2010 Products. 4. Click SharePoint 2010 Management Shell. 5. At…
Question
You configure a SharePoint Server 2010 Service Pack 1 (SP1) server farm. You need to perform backup and restore of a site collection and its content database by using Windows PowerShell. Which command should you run to restore the content database?
Options
- ARestore-SPFarm -Directory \FileServer_ISiame\share\site_name.bak -RestoreMethod Overwrite -
- DRestore-SPFarm -Directory \FileServer_Name\ share\site_name.bak -RestoreMethod Overwrite -
- EBackup -SPFarm -Directory \FileServer_Name\SharePointBackupFolder -Item "Farm\Microsoft SharePoint
- FBackup-SPFarm -Directory \FileServer_Name\SharePointBackupFolder-BackupMethod Full
- GRestore-SPFarm -Directory \FileServer_Name\share\site_name.bak -RestoreMethod Overwrite Item
- HBackup-SPFarm -Directory \FileServer_Name\SharePointBackupFolder -BackupMethod Full -Item
How the community answered
(44 responses)- A2% (1)
- D2% (1)
- E16% (7)
- G73% (32)
- H7% (3)
Explanation
To restore a content database by using Windows PowerShell 1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin. 2. On the Start menu, click All Programs. 3. Click Microsoft SharePoint 2010 Products. 4. Click SharePoint 2010 Management Shell. 5. At the Windows PowerShell command prompt (that is, PS C:>), type the following command, Restore-SPFarm -Directory <Backup folder name> -RestoreMethod Overwrite -Item <Content us/library/ee748604.aspx Restore-SPFarm
Topics
Community Discussion
No community discussion yet for this question.