Thursday, 13 March 2014

Powershell Backup and Restore SharePoint site collection

Backup site collection:
Backup-SPSite -Identity http://ServerName/sites/contosobicycles -Path D:\Backup\contosobicycles.bak

Restore site collection:
Restore-spsite -identity http://ServerName/sites/contosobicycles -path D:\SPBackUp\contosobicycles.bak –force

Sometime following error occurred in the  Backup and Restore:
Error 1:
Restore-spsite : The operation that you are attempting to perform cannot be
completed successfully.  No content databases in the web application were
available to store your site collection.  The existing content databases may
have reached the maximum number of site collections, or be set to read-only,
or be offline, or may already contain a copy of this site collection.  Create
another content database for the Web application and then try the operation

Error 2:
A site collection backup is currently in progress. or Timer service is stopped. Start the Microsoft SharePoint Foundation Timer 2013 service in order for the operation to continue.
Start the sharepoint Timer service.

Error 3:
The backup/restore job failed because there is already another job scheduled. Delete the timer job from the Timer Job Definitions page, and then restart the backup/restore job
Login to Central Administration - Monitoring > Review job definitions > Site Collection Backup
Click the "Backup/Restore" Link with the Schedule Type "One-Time"
Click the "Delete" button

Error 4:
Could not be activated. See the server's diagnostic trace logs for more information.


  1. Nice article... I found very useful information on sharepoint data backup. Thanks for sharing

    1. Thanks, How to backup and restore in sharepoint online sites.