nixpkgs/nixos/modules/services/backup
Rodney Lorrimar 56eba66f77 mysqlBackup service: let it work with default settings
* Grants enough privileges to the configured user so that it can run
  mysqldump.

* Adds a nixos test.

* Use systemd timers instead of a cronjob (by @fadenb).

* Creates a new user for backups by default, instead of using mysql
  user.

* Ensures that backup user has write permissions on backup location.

* Write backup to a temporary file before renaming so that a failed
  backup won't overwrite the previous backup, and so that the backup
  location will never contain a partial backup.

Breaking changes:

 * Renamed period to calendar to reflect the change in how to
   configure the backup time.

 * A failed backup will no longer result in cron sending an e-mail --
   users' monitoring systems must be updated.

Resolves #24728
2017-09-27 18:44:49 +02:00
..
almir.nix types.uniq types.int -> types.int 2015-06-15 18:11:32 +02:00
bacula.nix nixos: use types.lines for extraConfig 2016-10-23 19:41:43 +02:00
crashplan.nix crashplan: 4.7.0r2 -> 4.8.0r1 2016-11-13 14:38:14 -05:00
mysql-backup.nix mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00
postgresql-backup.nix postgresql-backup: cleanup 2015-05-19 18:35:22 +03:00
rsnapshot.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
tarsnap.nix tarsnap service: add 'verbose' config option (#25353) 2017-05-01 16:09:45 +01:00
znapzend.nix znapzend service: add autoCreation option 2017-08-30 14:13:13 +02:00