troveclient.v1.backups.
Backup
(manager, info, loaded=False)¶Bases: troveclient.base.Resource
Backup is a resource used to hold backup information.
troveclient.v1.backups.
Backups
(api)¶Bases: troveclient.base.ManagerWithFind
Manage Backups
information.
backup_create_workflow
= 'trove.backup_create'¶create
(name, instance, description=None, parent_id=None, incremental=False)¶Create a new backup from the given instance.
name – name for backup.
instance – instance to backup.
description – (optional).
parent_id – base for incremental backup (optional).
incremental – flag to indicate incremental backup based on last backup
delete
(backup)¶Delete the specified backup.
backup – The backup to delete
execution_delete
(execution, mistral_client=None)¶Remove a given schedule execution.
id – id of execution to remove.
execution_list
(schedule, mistral_client=None, marker='', limit=None)¶Get a list of all executions of a scheduled backup.
schedule for which to list executions.
list of ScheduleExecution
.
list
(limit=None, marker=None, datastore=None, instance_id=None, all_projects=False)¶Get a list of all backups.
schedule_create
(instance, pattern, name, description=None, incremental=None, mistral_client=None)¶Create a new schedule to backup the given instance.
instance – instance to backup.
name – name for backup.
description – (optional).
incremental – flag for incremental backup (optional).
pattern: cron pattern for schedule.
schedule_delete
(schedule, mistral_client=None)¶Remove a given backup schedule.
schedule – schedule to delete.
troveclient.v1.backups.
Schedule
(manager, info, loaded=False)¶Bases: troveclient.base.Resource
Schedule is a resource used to hold information about scheduled backups.
troveclient.v1.backups.
ScheduleExecution
(manager, info, loaded=False)¶Bases: troveclient.base.Resource
ScheduleExecution is a resource used to hold information about the execution of a scheduled backup.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.