What command should you run to backup the content database?

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?

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?

A.
Restore-SPFarm -Directory \\FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite –
ConfigurationOnly

B.
Restore-SPFarm -Directory \\FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite –
ItemWSS_AdventureWorks

C.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -BackupMethod Full -Item
WSS_AdventureWorks

D.
Restore-SPSite http://localhost – Path \\FileServer_Name\SharePointBackupFolder SiteBackup.bak
-Force

E.
Backup-SPSite http://localhost – Path \\FileServer_Name\SharePointBackupFolder\SiteBackup.bak

F.
Restore-SPFarm -Directory \\FileServer_Name\Share\site_name.bak -RestoreMethod Overwrite –
Item
“Farm\Microsoft SharePoint Foundation Web Application\AdventureWorks”

G.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -Item “Farm\Microsoft
SharePoint Foundation Web Application\AdventureWorks” -BackupMethod Full

H.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -BackupMethod Full

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]
http://technet.microsoft.com/en-us/library/ee428327.aspx
Restore-SPFarm
http://technet.microsoft.com/en-us/library/ff607783.aspx
Backup-SPFarm
http://technet.microsoft.com/en-us/library/ff607881.aspx
Backup-SPSite
http://technet.microsoft.com/en-us/library/ff607901.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *