70-667 · Question #217
You configure a SharePoint Server 2010 Service Pack 1(SP1) Farm. You need to perform backup and restore of a site collection and its content database by using Windows PowerShell. What command should…
The correct answer is C. Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -BackupMethod Full -Item. To back up 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) Farm. You need to perform backup and restore of a site collection and its content database by using Windows PowerShell. What command should you run to backup the content database?
Options
- ARestore-SPFarm -Directory \FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite -
- BRestore-SPFarm -Directory \FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite -
- CBackup-SPFarm -Directory \FileServer_Name\SharePointBackupFolder -BackupMethod Full -Item
- FRestore-SPFarm -Directory \FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite - Item
- GBackup-SPFarm -Directory \FileServer_Name\SharePointBackupFolder -Item "Farm\Microsoft
- HBackup-SPFarm -Directory \FileServer_Name\SharePointBackupFolder -BackupMethod Full
How the community answered
(25 responses)- C84% (21)
- F8% (2)
- G4% (1)
- H4% (1)
Explanation
To back up 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, type the following command: Backup-SPFarm -Directory <Backup folder> -BackupMethod {Full | Differential} -Item <Content database name> [-Verbose]
Topics
Community Discussion
No community discussion yet for this question.