charm-percona-cluster/actions.yaml
Jill Rouleau 2bc5d6e2f9 Add backup action
Add a new action to backup the pxc database on a unit.

Backups by default are stored in /opt/backups/mysql and can
optionally be compressed and done as incremental backups.

Change-Id: I5c6ab9fd8be7cb6cdb2a26e849ec0b22d8d4f9a6
2016-03-04 10:13:53 +00:00

21 lines
494 B
YAML

pause:
description: Pause the MySQL service.
resume:
description: Resume the MySQL service.
backup:
description: Full database backup
params:
basedir:
type: string
default: "/opt/backups/mysql"
description: The base directory for backups
compress:
type: boolean
default: false
description: Whether or not to compress the backup
incremental:
type: boolean
default: false
description: Make an incremental database backup