Application icon

Syncing Settings Between Multiple Copies of Yate

There is a mechanism to automatically sync settings between instances of Yate running on different Macs. This is done by using the setting import/export system. A file is designated to be the auto import/export settings file. This file is kept in a location accessible to every copy of Yate. This can be a shared drive or a Dropbox folder. The feature is enabled by selecting the Auto import/export settings file option in Settings - General - Advanced and then by choosing a file and optionally configuring what metadata gets synced.

When the option is enabled and Yate terminates, the current application settings will automatically be exported to the specified file. Note that the Auto import/export settings file option is never written to the file.

When the option is enabled and Yate starts, the settings file will automatically be imported if the file was not written by the same copy of Yate. Note that the import is a complete overwrite. It is not a full or partial merge of values normally performed when importing settings.

There is a scenario where incorrect values could be written to the file. For example: Yate-1 has the option enabled and terminates. At this time the common file contains the settings values used by Yate-1. You now start Yate-2 and enable the option. If you now terminate Yate-2, its potentially different values will be written to the common file. To handle this situation, whenever you enable the option and select a file which already exists, you will be prompted to import the values in the file immediately. Importing the values ensures that the correct contents will be written to the file when Yate-2 terminates.

With a little common sense this method should allow you to maintain a single set of settings. The functionality will only work if you are utilizing a single copy of Yate at a time. If for any reason you mess up, remember that Yate automatically creates a backup of the settings each time the application is started. The number of auto backups retained is configurable in Settings - General - Advanced.

Note that you can cancel the automatic loading of the settings file by holding down the Shift key when Yate starts.