Backup/Restore a sharepoint site collection

1. 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.

2. In Central Administration, on the Home page, in the Backup and Restore section, click Perform a site collection backup.

3. On the Site collection backup page, select the site collection from the Site Collection list.

4. Type the local path of the backup file in the Filename box.

5. Click Start Backup.

6. You can view the general status of all backup jobs at the top of the Granular Backup Job Status page in the Readiness section. You can view the status for the current backup job in the lower part of the page in the Site Collection Backup section. The status page updates every 30 seconds automatically. You can manually update the status details by clicking Refresh. Backup and recovery are Timer service jobs. Therefore, it may take several seconds for the backup to start.

7. If you receive any errors, you can review them in the Failure Message column of the Granular Backup Job Status page.

8. Next create a new web application (don't create site collection in it).

9. Open Sharepoint 2010 managenment shell in administrator mode. Go to start -> All progrmas -> Microsoft sharepoint 2010 products -> Sharepoint 2010 Management Shell. Right click on it and open as an administrator.

10. Restore-SPSite -Identity "http://localhost:30" -Path "c:\backup\backup30.bak" -force

11. Run the site collection.


Using Powershell

backup-spsite -identity http://contosoweb -path \\server\backupshare\backupfile.bak

restore-spsite -identity http://contosoweb -path \\server\backupshare\backupfile.bak

Comments