1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules
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
..
config
hardware
i18n/input-method
installer Merge pull request #28777 from copumpkin/installer-chroot 2017-09-26 12:23:19 -07:00
misc
profiles
programs
security
service-managers
services mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00
system systemd-tmpfiles: fix docs 2017-09-24 13:17:46 +02:00
tasks nixos/zfs: import encrypted datasets by default for zfsUnstable 2017-09-26 09:08:53 +01:00
testing
virtualisation
module-list.nix Merge pull request #28503 from phile314/fusion-inventory 2017-09-25 12:58:44 +00:00
rename.nix