diff options
| author | Rodney Lorrimar <dev@rodney.id.au> | 2017-09-23 15:58:07 +0100 |
|---|---|---|
| committer | Robin Gloster <mail@glob.in> | 2017-09-27 18:44:49 +0200 |
| commit | 56eba66f77bb1d4711e824158e3b9a8d55a929f1 (patch) | |
| tree | dab3d2a609304bfa93422bf493c41ae48a0997e3 /pkgs/development/python-modules/httpserver | |
| parent | 75ba415fbcfe48fdf5fb88f2aa461ce83921303f (diff) | |
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
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
