Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can we restore full collection of sites in share point 2010, and what is the code that should be used in share point shell?

user-image
Question added by aya rahhal , lecturer , al-araa training center
Date Posted: 2013/08/27
Bowsil Ameen
by Bowsil Ameen , Sharepoint Development officer / architect , Etihad Airways

Hello ,

 

There are two ways you can perform the sitecollection level backup and restore

 

1) Central Administrator

2) power shell

 

Center Administrato

Backup :

  • Verify that the user account performing this procedure is a member of the Farm Administrators group. Additionally, verify that the Windows SharePoint Services Timer V4 service has Full Control permissions on the backup folder.
  • In Central Administration, on the Home page, in the Backup and Restore section, click Perform a site collection backup.
  • On the Site collection backup page, select the site collection from the Site Collection list.
  • Type the local path of the backup file in the Filename box.
  • Note:
  • If you want to reuse a file, select the Overwrite existing file check box.
  • Click Start Backup.
  • You can view the general status of all backup jobs

PowerShell

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bakorGet-SPSiteAdministration http://server_name/sites/site_name | Backup-SPSite -Path C:\Backup\site_name.bakorBackup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak -UseSqlSnapshotRestore the Site Collectionstsadm Command

Restore

 

To import sites to your SharePoint Products and Technologies deployment, you use the following Stsadm command.

 

Stsadm –o import –url <URL> -filename <FileName>.cmp

 

To restore a site collection, you must use the following Stsadm command.

 

stsadm –o restore –url <URL of the site collection> -filename <Name of the backup file> 

 

To restore an entire farm you can use the following Stsadm command.

stsadm –o restore –directory <UNC path or local drive> -restoremethod <overwrite or new>

Central Admin Restore proceducer1 Open a browser and navigate to the Central Administration site.2.Depending on the configuration of both the SharePoint farm and your client browser, you may be prompted to log into the Central Administration site. If you are so prompted, supply both your user name and password. In most cases, your user name and password are your domain login credentials.3.When the Central Administration site loads, navigate to the Backup and Restore page by clicking the Backup and Restore link in the Quick Launch menu along the left side of the page.4.Click the Restore from a Backup link. It is the second link under the Farm Backup and Restore section in the main zone of the page, and it takes you to the backup selection page for restore operations.5.The Backup and Restore History page appears as seen in Figure1. The Backup Directory Location text box initially contains the farm’s default backup file location, and the backup sets that are stored at the location specified are shown below the text box in order from the most recent backup set to the oldest backup set.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.