Backup And Restore A Site Collection In SharePoint 2013

Here are the steps:

Open a site where we want to create a backup.

Open a site

Now I am going to backup the site.

Open “SharePoint management shell”.

Run as elevated privileges.

Run as elevated privileges

cmd

Command: Backup-SPSite -Identity URL -Path “location”.

Example:

Backup-SPSite -Identity “http://site/test” -Path “c:\backup\test.bak”.

Backup SPSite

So site backup has been taken successfully.

site Backup has been taken successfully

Open central administration.

Now create a team site to restore the backup.

Now we will restore the backup to this site.

going to restore the backup

Command

Restore-SPSite -Identity URL -Path “backup file location” -Force.

Example:

Restore-SPSite -Identity “http://trenmax-sp/sites/test2/” -Path “c:\backup\test.bak” -Force.

backup

Type: Yes

Select the default is 'Y',  so the site has now start restoring.

now start restoring

Now the site has been restored successfully into this site.

Now refresh the page.

site has been restored successfully

It has been restored successfully into test2 site.

Up Next
    Ebook Download
    View all
    Learn
    View all