As an existing Umbraco CMS user, you will undoubtedly be familiar with the user-friendly nature of the platform. Umbraco uSync is another example of a free offering from Umbraco that will help keep your sites in sync. This is a tool that is designed specifically for developers to facilitate the task of backing up site information. Let’s explore uSync in a little more detail:
Understanding Umbraco uSync
To put it simply, uSync is an Umbraco package that takes the elements of your Umbraco site database and moves them to a disk. This tool is particularly valuable from a development perspective, as once your files are saved to a disk, you have the ability to copy, control, and move your Umbraco site between computers--effortlessly.
Umbraco uSync has the ability to read and write to disk the following:
- All forms of media
- Dictionary items
- All languages
- Member types
- Data types
In order to keep your files synchronised, Umbraco uSync will run an import each time your Umbraco site starts. If there are any differences, uSync will apply the values from the disk to Umbraco, or vice-versa, so everything is in perfect harmony. uSync is a free Umbraco package you can download here.
Umbraco uSync and Deployment
Although Umbraco uSync is not a deployment system, it is one essential step in the process as all of your files will be written to disk and from there you can use your usual development process for copying your files over to another Umbraco website. Umbraco does have a product specifically for deployment which is called Umbraco Courier, check it out here.
Umbraco Courier solves the problems associated with complex and frustrating deployments. This product will detect the elements you need, transfers them to the Umbraco site of your choice and--most importantly--makes sure that all elements are safely installed. For more information on Umbraco Courier, you can read our article here, or check out the free step-by-step documentation curated by Umbraco HQ.
Additional Umbraco uSync Packages
Umbraco uSync has released a host of additional packages to extend the functions of Umbraco uSync. These are, in brief:
- uSync.ContentEdition. This will enable you to move content and media items to disk, in addition to the available file types that uSync can read and write.
- uSync.Snapshots. Quite simply, you can take ‘snapshots’ in real time of changes you have made using uSync.
- uSync.Core. This extension allows you to write your own syncing routines.
Ultimately, uSync is a free, developer-friendly package that will safely ensure your files are transferred to disk. This is another example of the sheer level of customisation that Umbraco CMS allows. For a detailed guide on how to install, understand and use Umbraco uSync.
Here's a couple more technical articles which you might be interested in.
Umbraco Source Control Using GitHub and USync
Umbraco Source Control Using Umbraco Cloud and GitHub