summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorRodney Lorrimar <dev@rodney.id.au>2017-09-25 08:20:47 +0100
committerRobin Gloster <mail@glob.in>2017-09-27 18:44:49 +0200
commit34eefdfb9df7205bf6f4c33bc26ef90064b1eee5 (patch)
tree17bbe96bd54bd953e480d0572f58df97c5f35358 /nixos/doc/manual
parent56eba66f77bb1d4711e824158e3b9a8d55a929f1 (diff)
downloadnixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar.gz
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar.bz2
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar.lz
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar.xz
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.tar.zst
nixlib-34eefdfb9df7205bf6f4c33bc26ef90064b1eee5.zip
nixos/release-notes: MySQL backup service breaking changes
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/release-notes/rl-1709.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1709.xml b/nixos/doc/manual/release-notes/rl-1709.xml
index d5ab6ab0c247..c1ad853d544d 100644
--- a/nixos/doc/manual/release-notes/rl-1709.xml
+++ b/nixos/doc/manual/release-notes/rl-1709.xml
@@ -289,6 +289,46 @@ FLUSH PRIVILEGES;
       in them being reloaded.
     </para>
   </listitem>
+
+  <listitem>
+    <para>
+      <literal>services.mysqlBackup</literal> now works by default
+      without any user setup, including for users other than
+      <literal>mysql</literal>.
+    </para>
+
+    <para>
+      By default, the <literal>mysql</literal> user is no longer the
+      user which performs the backup. Instead a system account
+      <literal>mysqlbackup</literal> is used.
+    </para>
+
+    <para>
+      The <literal>mysqlBackup</literal> service is also now using
+      systemd timers instead of <literal>cron</literal>.
+    </para>
+
+    <para>
+      Therefore, the <literal>services.mysqlBackup.period</literal>
+      option no longer exists, and has been replaced with
+      <literal>services.mysqlBackup.calendar</literal>, which is in
+      the format of <link
+      xlink:href="https://www.freedesktop.org/software/systemd/man/systemd.time.html#Calendar%20Events">systemd.time(7)</link>.
+    </para>
+
+    <para>
+      If you expect to be sent an e-mail when the backup fails,
+      consider using a script which monitors the systemd journal for
+      errors. Regretfully, at present there is no built-in
+      functionality for this.
+    </para>
+
+    <para>
+      You can check that backups still work by running
+      <command>systemctl start mysql-backup</command> then
+      <command>systemctl status mysql-backup</command>.
+    </para>
+  </listitem>
 </itemizedlist>
 
 <para>Other notable improvements:</para>