summaryrefslogtreecommitdiff
path: root/cinderclient/v2/volume_backups.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/v2/volume_backups.py')
-rw-r--r--cinderclient/v2/volume_backups.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cinderclient/v2/volume_backups.py b/cinderclient/v2/volume_backups.py
index 7a02292..bcf3e01 100644
--- a/cinderclient/v2/volume_backups.py
+++ b/cinderclient/v2/volume_backups.py
@@ -55,6 +55,9 @@ class VolumeBackupManager(base.ManagerWithFind):
:param description: The description of the backup.
:param incremental: Incremental backup.
:param force: If True, allows an in-use volume to be backed up.
+ :param snapshot_id: The ID of the snapshot to backup. This should
+ be a snapshot of the src volume, when specified,
+ the new backup will be based on the snapshot.
:rtype: :class:`VolumeBackup`
"""
body = {'backup': {'volume_id': volume_id,