Skip to content

Automysqlbackup

services.automysqlbackup.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/automysqlbackup.nix

services.automysqlbackup.enable

Whether to enable AutoMySQLBackup. Type: boolean

Default

false

Example

true

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

services.automysqlbackup.settings

automysqlbackup configuration. Refer to {file}${pkgs.automysqlbackup}/etc/automysqlbackup.conf for details on supported values.

Type: attribute set of (string or signed integer or boolean or list of string)

Default

{ }

Example

{db_names = [ "nextcloud" "matomo" ];table_exclude = [ "nextcloud.oc_users" "nextcloud.oc_whats_new" ];mailcontent = "log";mail_address = "admin@example.org";}

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