Backup driver with ‘chunked’ backup operations.
Bases: cinder.interface.backup_driver.BackupDriver
Backup driver that supports ‘chunked’ backups.
Delete object from container.
Parameters: |
|
---|
Get container entry names.
Parameters: |
|
---|
Return extra metadata to use in prepare_backup.
This method allows for collection of extra metadata in prepare_backup() which will be passed to get_object_reader() and get_object_writer(). Subclass extensions can use this extra information to optimize data transfers. Return a json serializable object.
Returns a reader object for the backed up chunk.
Parameters: |
|
---|
Returns a writer which stores the chunk data in backup repository.
Parameters: |
|
---|---|
Returns: | A context handler that can be used in a “with” context. |
Create the container if needed. No failure if it pre-exists.
Parameters: | container – The container to write into. |
---|
Allows sub-classes to override container name.
This method exists so that sub-classes can override the container name as it comes in to the driver in the backup object. Implementations should return None if no change to the container name is desired.