The Backup
class inherits from Resource
.
Volume Backup
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
Properties backup availability zone
The container backup in
The date and time when the resource was created.
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.
backup description
Backup fail reason
Force backup
has_dependent_backups If this value is true, there are other backups depending on this backup.
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.
A list of links associated with this volume. Type: list
The backup metadata. New in version 3.43
backup name
backup object count
The UUID of the owning project. New in version 3.18
The size of the volume, in gibibytes (GiB).
The UUID of the source volume snapshot.
backup status values: creating, available, deleting, error, restoring, error_restoring
The date and time when the resource was updated.
The UUID of the project owner. New in 3.56
The UUID of the volume.
Create a remote resource based on this instance.
session (Adapter
) – The session to use for making this request.
prepend_key – A boolean indicating whether the resource_key should be prepended in a resource creation request. Default to True.
base_path (str) – Base part of the URI for creating resources, if
different from
base_path
.
params (dict) – Additional params to pass.
This Resource
instance.
MethodNotSupported
if
Resource.allow_create
is not set to True
.
Restore current backup to volume
session – openstack session
volume_id – The ID of the volume to restore the backup to.
name – The name for new volume creation to restore.
Updated backup instance
Force backup deletion
Reset the status of the backup
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.