Oracle® VM Server for SPARC 3.3 Administration Guide

Exit Print View

Updated: October 2015
 
 

Saving and Restoring Autosave Configuration Directories

You can save and restore autosave configuration directories prior to reinstalling the operating system on the control domain. Whenever you reinstall the operating system on the control domain, you must save and restore the domain autosave configuration data, which is found in the /var/share/ldomsmanager/autosave-autosave-name directories.

You can use the tar or cpio command to save and restore the entire contents of the directories.


Note - Each autosave directory includes a timestamp for the last SP configuration update for the related configuration. If you restore the autosave files, the timestamp might be out of sync. In this case, the restored autosave configurations are shown in their previous state, either [newer] or up to date.

For more information about autosave configurations, see Managing Domain Configurations.

How to Save and Restore Autosave Directories

  1. Save the autosave directories.
    # cd /
    # tar -cvpf autosave.tar var/share/ldomsmanager/autosave-*
  2. (Optional) Remove the existing autosave directories to ensure a clean restore operation.

    Sometimes an autosave directory might include extraneous files, perhaps left over from a previous configuration, that might corrupt the configuration that was downloaded to the SP. In such cases, clean the autosave directory prior to the restore operation as shown in this example:

    # cd /
    # rm -rf var/share/ldomsmanager/autosave-*
  3. Restore the autosave directories.

    These commands restore the files and directories in the /var/share/ldomsmanager directory.

    # cd /
    # tar -xvpf autosave.tar