1 <article xmlns='http://docbook.org/ns/docbook'>
2 <title>koha-run-backups</title>
4 <productname>Koha</productname> is the first free software library automation package.
6 <orgname>The Koha Community</orgname>
7 <uri>http://koha-community.org/</uri>
11 <refentry xml:id="koha-run-backups">
14 <refentrytitle>koha-run-backups</refentrytitle>
15 <manvolnum>8</manvolnum>
19 <refname>koha-run-backups</refname>
20 <refpurpose>Performs backups of the koha installations on the system, except an instance called 'demo'.</refpurpose>
21 <refclass>UNIX/Linux</refclass>
26 <command>koha-run-backups</command>
27 <arg><option>--output</option> /some/path</arg>
28 <arg><option>--days</option> 2</arg>
32 <refsect1><title>Options</title>
36 <term><option>--output</option></term>
38 <para>The directory that the resulting files will be placed into (default: /var/spool/koha).</para>
43 <term><option>--days</option></term>
45 <para>The number of days to keep backups around for (default: 2).</para>
52 <refsect1><title>Description</title>
53 <para><command>koha-run-backups</command> allows automation of backing up the koha data and configuration to the filesystem. It will keep the past so many backups, discarding older ones. This script uses <command>koha-dump</command> to do the actual backup.</para>
54 <para>If there is an instance called 'demo', it will be skipped by this script.</para>
55 <para>Note: backups produced using this tool can be restored using <command>koha-restore</command>.</para>
58 <refsect1><title>See also</title>
60 <simplelist type="inline">
61 <member><command>koha-dump(8)</command></member>
62 <member><command>koha-restore(8)</command></member>