Merge "Use volume_id and timestamp to generate container name"
This commit is contained in:
commit
c1a974a26d
|
@ -123,5 +123,9 @@ class BackupOs:
|
|||
incremental = True
|
||||
else:
|
||||
incremental = False
|
||||
cinder.backups.create(volume_id, self.container, name, description,
|
||||
|
||||
container = "{0}/{1}/{2}".format(self.container, volume_id,
|
||||
utils.DateTime.now().timestamp)
|
||||
|
||||
cinder.backups.create(volume_id, container, name, description,
|
||||
incremental=incremental, force=True)
|
||||
|
|
Loading…
Reference in New Issue