Creating SharePoint restore jobs
Backed-up SharePoint data can be restored from a local storage to the original location or another SharePoint server (on-premises or Office 365). This is achieved through the use of the so-called restore jobs. CodeTwo Backup allows you to restore entire SharePoint site collections or individual sites, team sites, OneDrive sites, libraries, lists, folders, and items. Restore jobs can be created from the program's Backups tab (Fig. 1.).
You can restore one object per job. However, CodeTwo Backup can run multiple restore jobs simultaneously, so multiple objects can be restored at the same time.
This does not apply to items (files). You can restore multiple items from the same list, library or folder in a single restore job.
Follow the links below to learn how to:
To find out how to restore your backed-up Exchange data, see this article.
On the Backups tab, you can browse through storages that hold the data backed up on your local PC. To restore a specific object, you first need to:
- select the storage where the SharePoint object in question is located from the Storage drop-down menu, and
- select SharePoint from the View drop-down menu (Fig. 2.).
Note that the storage content displayed in the Backups tab does not refresh automatically with each completed job. If any SharePoint data seems to be missing, use the Refresh button on the top menu to reload the most recent objects from the storage.
Use the Storage content card to navigate through backed-up data (sites, libraries, lists, etc.). You can also use the search box (Fig. 3.) to find a specific site collection, team site or OneDrive site.
If a storage is password protected, you first need to provide that password to view and restore the backed-up data. If you do not enter the password, you will only see the names and/or URLs of sites saved in this storage.
Individual files are shown in the Items card once you select any library, list or folder (Fig. 4.). Additionally, if versioning is enabled for a given library on SharePoint, you can also browse through different versions of files backed up from that library on the Details card. Learn more
To restore a particular object, navigate to that object and select one of the Restore options available on the top menu (Fig. 5.). These options are:
- Restore: Site collection
- Restore: Team site
- Restore: OneDrive site
- Restore: Site
- Restore: Library
- Restore: List
- Restore: Folder
- Restore: Items
Keep in mind that some options will be shown or become available only when you select appropriate SharePoint data.
You can also right-click any object and select the required Restore selected... option from the shortcut menu (Fig. 6.).
Once you select an object and choose the restore option, the restore job wizard will open (Fig. 7.).
Depending on the type of SharePoint data selected to be restored, the options available on individual steps of the restore job wizard may slightly differ. However, the wizard will always consist of the following steps:
- Job name, where you define the name of the restore job.
- Source data, where you select the version of the data you want to restore.
- Target location, where you choose the location where the selected data should be restored.
- Filters, where you can exclude some type of data from being restored.
- Overwrite options, where you decide what action the program will take in the event a similar data already exists in the target location.
- Permissions, where you map users, groups, and permissions between the original and target locations.
- Job summary, where you can review your restore job settings.
In the first step of the wizard, provide a unique name for the restore job (see Fig. 7. above). By default, the Job name field is filled automatically according to the following pattern:
Restore [object type] [site URL]
You can change the default name, for example, if you plan to restore the same object in the future but to another location or by using different settings. You cannot create two jobs with the same name.
Since CodeTwo Backup features item versioning, you can choose which version of the object you want to restore (Fig. 8).
The available restore options differ depending on the objects you are restoring:
|Version of data to restore||Site collections/sites/
|The latest version||
|The latest existing version||
|Version from a specific time point on the server||
|Specific server version||
This option will restore the most recently backed up version of the selected object (site, library, list or folder). If any items were deleted on the SharePoint server from the given object prior to the backup (and were marked as deleted in the storage), these items will not be restored.
This option will restore the latest backed up version of the selected items. If any of these items were deleted from the server prior to the last backup cycle (and were marked as deleted in the storage), the program will restore the latest version of these items that existed before they were deleted.
This option will restore the selected object(s) from a specified point in time. Any items in the storage deleted before that point in time and created after that date will not be restored.
This option is available only when restoring a single item. It will restore the exact version of the item (selected from the drop-down menu) that existed on the server at a specific point in time (Fig. 9.).
Every time you delete an item on the server, the last backed-up version of that item is marked as deleted in the storage. If you want to restore that item, you need to create the restore SharePoint item job and select the latest existing version option in the Source data step of the wizard. Configuring any other type of restore job (site, library, folder, etc.) will not restore that item unless you choose to restore the data from the point in time when that item still existed.
You can choose to restore the selected SharePoint data to:
- the original location
- another location on the original SharePoint server
- another location on a different SharePoint server
To restore the selected SharePoint object to its original location, simply select the Restore to the original [location] option (Fig. 10.).
This option will not be available if the connection to the original server has been deleted. You need to configure this connection again to be able to use that option. To create a new SharePoint connection, click Manage > New. Learn more about how to create a new SharePoint connection.
Select the SharePoint server from the Server connection drop-down menu from which the data you intend to restore has been backed up. Next, select the Restore to another [location] or create a new one option and click Browse to select an existing location, e.g. site collection, list, folder, etc., depending on the object type you want to restore. You can also create a new object by navigating to the exact spot you want to create that object, clicking Create new, and selecting the appropriate object type (Fig. 11.).
Fig. 10. Restoring SharePoint data to a new location.
Select appropriate SharePoint server from the Server connection drop-down menu. You can also create a new connection by clicking Manage > New (learn more on how to create a new SharePoint connection). Next, click Browse to select an existing location, e.g. site collection, list, folder, etc., depending on the object type you want to restore. You can also create a new object by navigating to the exact spot you want to create that object, clicking Create new, and selecting the appropriate object type (see Fig. 11. above).
When selecting another site collection as the target location for your SharePoint data, make sure these objects were created based on the same template as the object you intend to restore. Otherwise, the restore job may encounter errors or even fail.
If you cannot find such a site collection, create a new one by using the Create new button. The program will create this site collection by applying the same template that the object you want to restore is using.
Keep in mind that creating new team sites or OneDrive sites is not supported.
When restoring SharePoint data to a different on-premises SharePoint server, the program will inform you if there are some language packs missing. For example, if your source (backed-up) SharePoint site collection consists of many multi-language sites, you need to make sure all these languages are available on your target SharePoint server. Otherwise, CodeTwo Backup may not be able to create sites, libraries, lists, etc. that are in the unsupported languages or duplicated items could be created. We do not recommend restoring SharePoint data unless the missing languages are installed. Visit Microsoft websites for more information about how to install language packs for SharePoint Server 2016 and SharePoint Server 2013.
In this step, you can filter out some data from being restored. To do so, click the checkbox next to that type of data (Fig. 12.).
The Filters step will show different options for different types of data you intend to restore.
Select what action the program should execute in case the same object already exists in the target location:
- Do not overwrite
If the data being restored already exists on in the target location, the program will not restore it.
The program will overwrite the existing data with the data backed up in the storage.
If in the Target location step you've selected to restore the SharePoint data to a location other than the original one, the program will not be able to identify if a given list item already exists in the target location. Therefore, for safety reasons, instead of overwriting such an item the program will create its copy in case of a name conflict.
Additionally, when restoring SharePoint web pages (also known as ASPX pages) to either the original or another location, the program will always create copies of such items in the target location instead of overwriting them. This is to prevent a situation in which the whole layout of the restored web page gets messed up. Once the copy of such item is restored on your SharePoint, you can change the name of the restored page manually and see if everything looks ok.
Click the Select button to open the Parts and attributes of the objects to overwrite window (Fig. 14.), where you can specify which exact parts and attributes of a given object should be overwritten, and which should not be restored at all.
Fig. 14. The Parts and attributes of the objects to overwrite window.
Select the checkbox next to the part or attribute that should be overwritten in the target location or leave the checkbox unselected to omit these parts/attributes.
Keep in mind that different options will be available in the Parts and attributes of the objects to overwrite window for different objects you intend to restore.
The Create copies of library and list items instead of overwriting them checkbox is also available for this option. The same exceptions apply regarding list items and ASPX pages as mentioned above.
- Create a copy
This option is available only if you are restoring individual items (Fig. 15.). Selecting this option will create duplicates of these items in the target location in a case similar items already exist.
In this step, you can also restore permission levels in the target location for users and groups. There are two options available:
- Map to original objects, available only if you are restoring the SharePoint data to its original location. The mapping process will be performed automatically by the program.
- Map objects, where you can manually map users, groups and permission levels between the source (backed-up) and target site collections. To do so, simply click the relevant Map button (Fig. 16.).
Clicking the upper Map button opens the Map users and groups window (Fig. 17.), while the bottom Map button opens the Map permission levels window.
If you don't map any users or groups and permission levels, only the administrator, whose account was used to connect to the target SharePoint server, will be able to access the restored data.
Here you can verify if you have configured the restore job according to your requirements (Fig. 18.).
In case you want to make any changes, click the name of any of the previous steps of the wizard and adjust your settings accordingly. If everything is correct, click Finish.
As soon as you finish the wizard, a pop-up window will appear, allowing you to start the restore job immediately (Fig. 19.). Click Yes to do so.
Otherwise, use the Start button on the Jobs tab to start the selected job.