There are two ways to recover a SharePoint Services installation after a system disaster.
If you have a successful full backup of the system with VSS enabled, the disaster recovery process will restore the entire system including the SharePoint Services. Your SharePoint sites should be functional after the DR process is complete. It is recommended that you enable VSS for your DR backup set to take advantage of this feature.
If a full backup of the system was performed with the VSS option disabled, the WSS database is not restored, since the files were open at backup. You will need to take further steps to complete the WSS recovery. Complete the following operations after the initial DR process has completed successfully.
Re-install the Windows SharePoint Services component on your system. This will rebuild the master WMSDE/SSEE database. The master database is required to restore the SharePoint databases including configuration and content databases.
NOTE: You may have to uninstall and reinstall SharePoint services to restore the SharePoint installation.
Open Yosemite Server Backup and create a restore job to restore the WSS database.