HI @Tevon2.0 ,
To update your SharePoint 2019 communication sites in your development environment to match the versions in your production environment, you can follow these steps:
- Ensure that your development environment is properly configured and running SharePoint 2019.
- Take a backup of your existing communication sites in the development environment to ensure you have a restore point in case anything goes wrong.
- Copy the backup files of your production communication sites to the corresponding folders in the file viewer of your development environment. Make sure the folder structure matches.
- Open SharePoint Management Shell on your development environment as an administrator.
- Connect to the SharePoint farm by running the following command:Replace with the URL of your SharePoint Central Administration site.
Connect-PSService -FarmUrl <central_admin_url>
<central_admin_url>
- Run the following command to restore the backup of your communication sites to your development environment:Replace with the URL of the site where you want to restore the backup and with the full path to the backup file in the file viewer.
Restore-SPSite -Identity <site_url> -Path <backup_file_path> -Force
<site_url><backup_file_path>
- Repeat step 6 for each communication site you want to update in the development environment.
- After the restore process completes, you may need to perform additional configuration steps specific to your sites, such as updating site URLs, adjusting permissions, or configuring site features.
- Test the updated communication sites in your development environment to ensure everything is working as expected.
It's important to note that restoring a site backup will overwrite the existing site in the development environment. Therefore, it's crucial to have a backup and thoroughly test the restored sites before performing these steps in a production environment.
Additionally, consider updating any customizations or configurations specific to your production environment to match the development environment if necessary.
Make sure to carefully review and test the steps in a non-production environment before proceeding with your production environment to minimize the risk of issues or duplicates.
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.
Best Regards
Cheng Feng