3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc/manual 17.09 release notes: fix typo 2017-09-26 22:40:02 +02:00
lib Deduplicate some filterSource invocations 2017-08-29 20:27:04 -04:00
maintainers gnome3: only maintain single GNOME 3 package set (#29397) 2017-09-24 12:15:50 +01:00
modules mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00
tests mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00
COPYING
default.nix Remove nixFallback 2017-03-06 15:54:50 +01:00
README
release-combined.nix nixos/release-combined: remove basic kernel tests 2017-09-16 12:45:30 +02:00
release-small.nix nixos/release-small.nix: cleanup to use default versions 2017-01-27 15:33:54 +01:00
release.nix mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.