2bc5d6e2f9
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
21 lines
494 B
YAML
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
|
|
|