Ability to specify availabilty zone when restoring a backup
Bug #1749888 reported by
Sam Morrison
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Wishlist
|
Rajat Dhasmana |
Bug Description
Would be good if you could specify an availability zone when restoring a backup. This would then restore the backup onto a cinder-volume in the desired availability-zone.
Changed in cinder: | |
assignee: | nobody → Rajat Dhasmana (whoami-rajat) |
Changed in cinder: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
There are currently 2 ways to do this:
- Since API microversion 3.47 you can do "cinder create --backup-id $BACKUP_ID --availability-zone $AZ $SIZE"
- In older versions you could create an empty volume of the right size and desired volume type and AZ and then do a restore to that volume with "cinder backup-restore --volume-id $BACKUP_ID".
I think the best approach to restore your backups at the moment is via the create method, because even if we add the AZ to the backup-restore method we would also have to add the volume-type parameter...