Hi @Tevon2.0
There could be several reasons why certain document libraries were not restored when using the "Restore-SPSite" command in SharePoint 2019. Here are a few possible explanations and steps to ensure everything is brought over successfully:
- Permissions: Ensure that the user account used to perform the restore operation has appropriate permissions to access and restore all the document libraries. Make sure the account has sufficient privileges at both the farm and site collection levels.
- Backup Integrity: Verify the integrity of the backup file you used for the restore. It's possible that the backup file itself is corrupted or incomplete, leading to the missing document libraries. You can try creating a fresh backup of the communication site and then restore it to your dev server.
- Site Template Compatibility: Verify that the communication site template used in the production environment is compatible with the development environment. There could be compatibility issues if the versions or configurations differ between the two environments.
If the above steps don't resolve the issue, you can try an alternative approach to restore the document libraries. Instead of using "Restore-SPSite," you can try using a granular approach by exporting the document libraries from the production site using "Export-SPWeb" command and then importing them into the development site using "Import-SPWeb" command. This way, you can have more control over which libraries are restored and ensure that all the necessary data is brought over.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.