Many a times we have to sync our local Master database with the latest content from higher environments and restoring the database is not always the option.
Thankfully we have Sitecore Sidekick to rescue.
There are two main packages to choose from:
- Sitecore Sidekick Complete installs the Sidekick framework and all standard modules. It’s the easiest way to get started.
- Sitecore Sidekick Foundation installs the core Sidekick framework. Install this if you wish to pick and choose which modules you want (modules are their own separate NuGet packages).
If you like to know more by watching the Videos then you can watch here.
This tools documentation is very well maintained in the Github and should be ready to use post package installation.
The main feature, we will be using is Content Migrator:
Once you can see the above screen, you are all set. To reach to above screen, you can click on the Sitecore logo in bottom left corner in the Desktop interface and should be able to see Sitecore Sidekick option in the Menu displayed.
Once you see the above screen, click on the Content Migrator and it will load us the below screen:
Based on what you have set for the remote sites (higher environments), you will see those options in the drop down. (For ex. in our project you will see Prod 10.0, UAT1 10.0 and UAT2 10.0)
Select the environment from which you need to sync your local.
Once you select the environment in the dropdown, you will see the Root node of Sitecore. My personal suggestion is not to use Root to sync on local because it will be almost like you are restoring the database completely and in that case taking the backup of db and restoring it on local will be faster.
Expand the Root item and select the item or set of items you want to sync. I will select Media Library for now. (The color left to the item specifies the differences, green means it is up-to-date, pink/red means there differences)
Select the item, scroll down, select the options you need while pulling it from higher environment like Include subitems of selected item, Copy field changes for the existing items, Add missing parent items, etc.
There are different Sitecore advanced options for which you can go through the documentation and use accordingly. We mostly use Run using bulk update context. Once all set, click Pull.
The process will start and it will show you all the items updated, skipped, created. etc.
Hope it helps!
Thank you… Keep Learning… Keep Sitecoring… 🙂