You must ensure all of your add-on module versions are identical on both gateways. If you update/add a module on the master while they are synchronized, it will be added/updated on the backup server for you. If you add/update modules at any other time, you must manage the versions yourself.