PrepAway - Latest Free Exam Questions & Answers

Which command should you run to back upa web application?

You configure a SharePoint Server 2013 Service Pack1 (SP1) server farm. You need to
perform backup and restore of a site collection andits content database by using Windows
PowerShell. Which command should you run to back upa web application?

PrepAway - Latest Free Exam Questions & Answers

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

B.
Restore-SPFarm -Directory \\FileServer_Name\ share\site_name.bak -RestoreMethod Overwrite -ConfigurationOnly

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

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

E.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -Item “Farm\Microsoft SharePoint
Foundation Web Application\AdventureWorks” -BackupMethodFull

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

G.
Restore-SPFarm -Directory \\FileServer_Name\share\site_name.bak -RestoreMethod Overwrite Item
WSS_AdventureWorks

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

Explanation:
To back up a Web application by using Windows PowerShell
Verify that you meet the following minimum requirements: See Add-SPShellAdmin. Additionally, the user
account performing this procedure must be a member of the SQL Server db_backupoperator fixed database
role on the database server where each database is stored.
On the Start menu, click All Programs.
Click Microsoft SharePoint 2013 Products.
Click SharePoint 2013 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <WebApplicationName>
[-Verbose]
Where:
<BackupFolder> is the path of the folder you use for storing backup files.
<WebApplicationName> is the name of the Web application.
Note:
You must use the exact name for the Web applicationthat you are backing up withWindows PowerShell. To
find the Web application name in Central Administration click Manage web applications in the Application
Management section.
Note:
If you are backing up the Web application for the first time, you must use the Full option. You must perform a
full backup before you can perform a differential backup.
http://technet.microsoft.com/en-us/library/ee748650.aspx#Powershell


Leave a Reply