The cinder.backup.drivers.tsm Module

Backup driver for IBM Tivoli Storage Manager (TSM).

Implementation of a backup service that uses IBM Tivoli Storage Manager (TSM) as the backend. The driver uses TSM command line dsmc utility to run an image backup and restore. This version supports backup of block devices, e.g, FC, iSCSI, local.

A prerequisite for using the IBM TSM backup service is configuring the Cinder host for using TSM.

class TSMBackupDriver(context, db_driver=None)

Bases: cinder.backup.driver.BackupDriver

Provides backup, restore and delete of volumes backup for TSM.

DRIVER_VERSION = '1.0.0'
backup(backup, volume_file)

Backup the given volume to TSM.

TSM performs an image backup of a volume. The volume_file is used to determine the path of the block device that TSM will back-up.

Parameters:
  • backup – backup information for volume
  • volume_file – file object representing the volume

:raises InvalidBackup

delete(backup)

Delete the given backup from TSM server.

Parameters:backup – backup information for volume

:raises InvalidBackup

restore(backup, volume_id, volume_file)

Restore the given volume backup from TSM server.

Parameters:
  • backup – backup information for volume
  • volume_id – volume id
  • volume_file – file object representing the volume

:raises InvalidBackup

get_backup_driver(context)

Previous topic

The cinder.backup.drivers.swift Module

Next topic

The cinder.backup.manager Module

This Page