Header Ads

Sharepoint Backup and Restore using powershell command

In sharepoint we are taking Backup and Restore using two methods.

Backup Method :

Method - 1 : Backup steps by Wizard

1.Navigate to the Central Administration => Backup and Restore

2.Under "Farm Backup and Restore" section click => perform a Backup

3.Now you will landed in the following page where you can select the site or site collection you want to take a backup click => Next you will be navigated to the following page where you can select backup type(Full or Differential) and Backup location.

Method - 2 : Backup Command using Powershell

Backup-SPsite -Identity http://Servername -Path "C:\Backup\file.bak"


Restore Method :

Method - 1 : Restoring steps by wizard

1.Navigate to the central Administration => Backup and Restore

2.Under "Farm Backup and Restore" section click => Restore from a backup.Follow the wizard to restore from a backup.

Method - 2 : Restore Command using Powershell

Restore-SPsite -Identity http://Servername -Path "C:\Backup\file.bak"

Note : I recommend using powershell command because it works faster and more flexible.

No comments:

Powered by Blogger.