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:
parent
1575feb55c
commit
caab14ecf1
19
etc/trove/trove-workbook.yaml
Normal file
19
etc/trove/trove-workbook.yaml
Normal 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' %>
|
Loading…
Reference in New Issue
Block a user