CREATE A SITE COLLECTION BACKUP AND RESTORE IN SHAREPONT

          Hi, here i will explain how to create a site collection backup from one site, and restore it into another site collection.

you can do it by sharepoint powershell.

Backup site collection:


Open site powershell any type the following command.

Backup-spsite <fullurl which u want to backup> -path  <location:filename.bak>



Restore site collection:


If you restore it in a blank site then.

Open site powershell any type the following command.

Restore-spsite <fullurl whereu want to restore> -path <location:filename.bak>



that's it. It will restore it.

Or if you restore in a team site or some data existing  site then

Open site powershell any type the following command.

Restore-spsite <fullurl whereu want to restore> -path <location:filename.bak>  -force



and it will ask you for conformation. type y. and it will automatically restore in that site.
 That's it you restore it..

Comments

Popular posts from this blog

Add content type to SharePoint List/Library using REST API

Upload Single/Multiple file by using the REST API and jQuery SharePoint 2013

A type named 'SP.Data. could not be resolved by the model error