Wednesday, March 21, 2012

Article: explaining how to restore Lion Server from a Time Machine backup (Restore Lion Server from Time Machine backup)

explaining how to restore Lion Server from a Time Machine backup (Restore Lion Server from Time Machine backup)
http://support.apple.com/kb/HT5139


Restoring Lion Server from a Time Machine backup

Summary

Learn about restoring Lion Server from a Time Machine backup.

Products Affected

Lion Server

In Lion Server v10.7.2 and later, service data can be stored on a non-startup volume. The steps to restore from a Time Machine backup depend on whether your data was stored on the startup (boot) volume or a non-startup volume.

If service data is on the startup volume, or only the startup volume is being restored

  1. Make sure the Time Machine backup drive is connected.
  2. Start up your server using Lion Recovery. You can use an internal Recovery HD, Lion Internet Recovery, an external Lion Recovery Drive, or the Recovery partition of your Time Machine backup.
  3. Select Restore from Time Machine Backup and follow the onscreen instructions for restoring the volume.

If service data is on a non-startup volume and the non-startup volume is being restored, or both the startup and non-startup volumes need to be restored (Lion Server v10.7.3 and later)

  1. Make sure the Time Machine backup drive is connected.
  2. Start up your server using Lion Recovery. You can use an internal Recovery HD, Lion Internet Recovery, an external Lion Recovery Drive, or the Recovery partition of your Time Machine backup.
  3. Open Disk Utility, then click Continue.
  4. If your Time Machine Drive is not encrypted, skip to step 7.
  5. Control-click or right-click the Time Machine volume, then select "Decrypt".
  6. Enter the volume password and click OK.
  7. Create or make sure that you have a new service data volume that is large enough to store your previous data and has the same name as your previous service data volume. For example, if your service data was stored on a 500 GB volume named "DataHD", make sure you have a new volume of at least 500 GB named "DataHD".
  8. Quit Disk Utility.
  9. From the Utilities menu, choose Terminal.
  10. Enter the following command on one line. Replace <Time Machine Backup Disk> with the name of your Time Machine backup disk, <servername> with the name of your server, and <Startup Volume Name> with the name of your previous startup volume.

    cd /Volumes/<Time Machine Backup Disk>/Backups.backupdb/<servername>/Latest/<Startup Volume Name>/

  11. Enter the following command on one line. Replace <Service Data Volume> with the name of your original (and future) service data volume.

    ./usr/bin/tmutil restore -v ../<Service Data Volume>/* /Volumes/<Service Data Volume>

  12. Quit Terminal.
  13. If you also need to restore the startup volume, select Restore from Time Machine Backup and follow the onscreen instructions.

Additional Information

Time Machine is the native backup service for Lion Server. Lion Server also includes a process called ServerBackup which works with Time Machine. ServerBackup performs daily backups of Open Directory (if it is enabled) and the Postgres databases used by the Address Book, iCal, Podcast, Profile Manager, and Wiki services. These daily backups are included in the Time Machine backup of Lion Server. ServerBackup also takes part in the restoration of server services, running during the first startup after a server has been restored, and restoring server services and databases into place after the server has started up.


(via Instapaper)



Brief message sent from a handheld device.

No comments: