Rules for restoring files when version control is enabled in SharePoint
August 25, 2024
ID 60911
When files are being restored from Backup, it is possible that the path specified in SharePoint points to a file of the same name. Restoration of files of the same name depends on version control settings configured on the SharePoint server.
The following version control options exist:
- Major. File versions are available to all users of the SharePoint server.
- Minor. File versions are available to a limited group of users.
Restoring a file of the same name with version control enabled
If there is no file of the same name in SharePoint, the application restores the object from Backup as a file with the first minor or major version, depending on the version of the file when a copy of it was placed in Backup. If major version control is enabled in SharePoint, the file will be restored as a file with the corresponding major version.
If there is a file of the same name in SharePoint, Kaspersky Security restores the file according to the following rules:
- Kaspersky Security restores the new minor version if minor/major version control is enabled in SharePoint and the file in Backup has a minor version.
- Kaspersky Security restores the new major version in all other cases.
If the file being restored has no version, the application restores the file as a file with a new minor version (if minor/major version control is enabled in SharePoint), or as a file with a new major version (if major version control is enabled).
Restoring a file of the same name with version control disabled
In this instance, Kaspersky Security prompts you to replace the file of the same name with the file being restored.
You can select one of the following actions in the window with the prompt to replace the file:
- Yes. The file in SharePoint is replaced with the file being restored.
- No. The file in SharePoint is not replaced with the file being restored. In this case, the file being restored remains in Backup.
When several files are being restored from Backup and there is a file of the same name of at least one of them in SharePoint, Kaspersky Security prompts you to replace the file / files of the same name with the file / files being restored.
You can select one of the following actions in the window with the prompt to replace the file / files:
- Yes, restore the file. The file in SharePoint will be replaced with the restored file.
- No, do not restore the file. The file in SharePoint will not be replaced with the restored file.