Skip to content

mysqlBackup

services.mysqlBackup.calendar

Configured when to run the backup service systemd unit (DayOfWeek Year-Month-Day Hour:Minute:Second).

Type: string

Default

"01:15:00"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix

services.mysqlBackup.databases

List of database names to dump.

Type: list of string

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix

services.mysqlBackup.enable

Whether to enable MySQL backups. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix

services.mysqlBackup.location

Location to put the gzipped MySQL database dumps.

Type: path

Default

"/var/backup/mysql"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix

services.mysqlBackup.singleTransaction

Whether to create database dump in a single transaction

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix

services.mysqlBackup.user

User to be used to perform backup.

Type: string

Default

"mysqlbackup"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/backup/mysql-backup.nix