Trove workbook for scheduled backups

A Mistral workbook adding a workflow for creating a backup.
This is used by the "trove schedule-create" command to schedule
a backup.

Change-Id: I68d997abf4ec7c32044dd18cf2a70e687c0fed9f
Implements: blueprint schedule-backups
This commit is contained in:
Morgan Jones 2016-06-14 14:42:53 -04:00
parent 1575feb55c
commit caab14ecf1

View File

@ -0,0 +1,19 @@
---
version: '2.0'
name: trove
description: Trove Workflows
workflows:
backup_create:
input: [instance, name, description, incremental]
output:
status: <% $.message %>
tasks:
backup_create:
action: trove.backups_create instance=<% $.instance %> name=<% $.name %> description=<% $.description %> incremental=<% $.incremental %>
publish:
message: <% 'Backup complete' %>