Collapse AllExpand All

Restore Eucalyptus from a Backup

In case your system experiences a failure, you can restore Eucalyptus from a backup by performing the following tasks:

  1. Shut down any running Eucalyptus components. For further information about the shut down process, see Shut Down Eucalyptus.
  2. If you are trying to recover from a broken upgrade by rolling back or by trying the upgrade again, this would be the right time to:
    • Remove all software components related to Eucalyptus (for example, rpm -e or apt-get remove).
    • Install the appropriate version. For more information, go to the Eucalyptus Installation Guide.
    WARNING
    WARNING
    DEBs will restart the services. Be sure you stop them again before copying back the backed-up files.
  3. Replace the saved state.
    • If you backed up with cp, enter the following:
      cp -a $BACKUP/eucalyptus.conf /etc/eucalyptus
      cp -a $BACKUP/keys $BACKUP/db $BACKUP/bukkits $BACKUP/volumes /var/lib/eucalyptus
    • If you backed up with tar, enter the following:
      tar xvf $BACKUP/eucalyptus-backup.tar