The Backup
class inherits from Resource
.
openstack.block_storage.v2.backup.
Backup
(_synchronized=False, connection=None, **attrs)¶Volume Backup
The base resource
Parameters: |
|
---|
availability_zone
¶Properties backup availability zone
container
¶The container backup in
created_at
¶The date and time when the resource was created.
data_timestamp
¶data timestamp The time when the data on the volume was first saved. If it is a backup from volume, it will be the same as created_at for a backup. If it is a backup from a snapshot, it will be the same as created_at for the snapshot.
description
¶backup description
fail_reason
¶Backup fail reason
force
¶Force backup
has_dependent_backups
¶has_dependent_backups If this value is true, there are other backups depending on this backup.
is_incremental
¶Indicates whether the backup mode is incremental. If this value is true, the backup mode is incremental. If this value is false, the backup mode is full.
links
¶A list of links associated with this volume. Type: list
name
¶backup name
object_count
¶backup object count
size
¶The size of the volume, in gibibytes (GiB).
snapshot_id
¶The UUID of the source volume snapshot.
status
¶backup status values: creating, available, deleting, error, restoring, error_restoring
updated_at
¶The date and time when the resource was updated.
volume_id
¶The UUID of the volume.
restore
(session, volume_id=None, name=None)¶Restore current backup to volume
Parameters: |
|
---|---|
Returns: |
The BackupDetail
class inherits from
Backup
.
openstack.block_storage.v2.backup.
BackupDetail
(_synchronized=False, connection=None, **attrs)¶Volume Backup with Details
The base resource
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.