# koha-run-backups

koha-run-backups

8

koha-run-backups

Performs backups of the koha installations on the system, except an instance called 'demo'.

UNIX/Linux

          koha-run-backups
          --output /some/path
          --days 2

### Options

`--output`

- The directory that the resulting files will be placed into (default: /var/spool/koha).

`--days`

- The number of days to keep backups around for (default: 2).

`--exclude-indexes`

- Exclude Zebra indexes from the backups (default: false).

### Description

`koha-run-backups` 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 `koha-dump` to do the actual backup.

If there is an instance called 'demo', it will be skipped by this script.

Note: backups produced using this tool can be restored using `koha-restore`.

### See also

- `koha-dump(8)`
- `koha-restore(8)`