Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A new method in the backup provider plugin needs to be written to populate Backup.VolumeInfo from backup external id.

API and Schema changes

New Apis

  1. ImportBackup (Only for cross zone restore) :

    Parameters

    1. backupExternalId
    2. backupOffering
    3. zoneId
    4. accountName
    5. domainId
    6. projectId

    Result: Creates a database entry in the backups table with the backed up volume metadata.


  2. restoreBackupToNewInstance :

    Parameters

    1. backupId

    2. zoneId

    3. name

    4. hostId

    5. displayName

    6. accountName

    7. domainId

    8. projectId

    9. networkIds

    10. ip addresses

    11. computeOffering

    12. diskOfferings (for all volumes in the backed up volume list)
      Note : Ensure that volume size should not be less than the backed up volume virtual size

    Result: A new instance is created with the given config with all data volumes present in the backup.

...