Backups

1. backups()

Get the list of backups

Parameters:

Name Type Description
id string if specified, you get exactly one Backup Instance

Return value: List of Backup Instance

Return value example:

istack/volumev2/v2/backup Backup
id : e7e29ae6-14f0-464c-84a2-402e39384208
links : [{u'href': u'http://10.200.43.31:8776/v2/cde9cbf5a7f1401a9389c84ba98bdcf6/backups/e7e29ae6-14f0-464c-84a2-402e39384208', u'rel': u'self'}, {u'href': u'http://10.200.43.31:8776/cde9cbf5a7f1401a9389c84ba98bdcf6/backups/e7e29ae6-14f0-464c-84a2-402e39384208', u'rel': u'bookmark'}]
name : backup_test

2. create_backup(**attrs)

Create a Backup

Parameters:

Name Type Description
container xsd:string The container name or null.
name xsd:string The backup name.
description xsd:string The backup description or null.
volume_id csapi:UUID The UUID of the volume that you want to back up.
incremental (Optional) xsd:boolean The backup mode. A valid value is true for incremental backup mode or false for full backup mode. Default is false.
force (Optional) xsd:boolean Indicates whether to backup, even if the volume is attached. Default is false.

Return value: Backup Instance

Return value example:

istack/volumev2/v2/backup Backup
id : e7e29ae6-14f0-464c-84a2-402e39384208
links : [{u'href': u'http://10.200.43.31:8776/v2/cde9cbf5a7f1401a9389c84ba98bdcf6/backups/e7e29ae6-14f0-464c-84a2-402e39384208', u'rel': u'self'}, {u'href': u'http://10.200.43.31:8776/cde9cbf5a7f1401a9389c84ba98bdcf6/backups/e7e29ae6-14f0-464c-84a2-402e39384208', u'rel': u'bookmark'}]
name : backup_test

3. delete_backup(backup)

delete the backup

Parameters:

Name Type Description
id string(inside backup param) must at least be specified in the backup param

Return value: None

4. restore_backup(backup_id)

restore a backup

Parameters:

Name Type Description
backup_id string backup id

Return value: Restore Instance

Return value example:

istack/volumev2/v2/backup Restore
backup_id : …
volume_id : …

5. force_delete_backup(backup_id)

Parameters:

Name Type Description
backup_id string back up id

Return value: None

results matching ""

    No results matching ""