[Koha-bugs] [Bug 31099] [DOCS] Export data tool - setup so database and configuration data can be downloaded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 5 02:31:14 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31099

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=31098,
                   |                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=14564

--- Comment #1 from David Nind <david at davidnind.com> ---
This is set up by:

1. Enabling the export of the database and configuration in the Koha instance
koha-conf.xml file:
   . backup directory: <backupdir>/var/spool/koha/kohadev</backupdir>
   . enable database and configuration dumps (change 0 to 1):
     <!-- Enable the two following to allow superlibrarians to download
          database and configuration dumps (respectively) from the Export
          tool -->
     <backup_db_via_tools>1</backup_db_via_tools>
     <backup_conf_via_tools>1</backup_conf_via_tools>

2. Running koha-run-backups so that the downloadable backups are created and
available. Example: koha-run-backups --days 2 --output /var/spool/koha

3. This can be done either as a one-off, or as a setup as a cronjob so that it
runs regularly.

Areas in the manual to update or cross-reference:
- tools.rst:
https://koha-community.org/manual/22.05/en/html/tools.html#export-data
- cron_jobs.rst:
https://koha-community.org/manual/22.05/en/html/cron_jobs.html#backup - this
covers a different option that is a separate script to run a database backup
and set it up as a cron job, once the relative merits of the different
approaches are worked out add across-reference to how to do backups with
koha-run-backups 

Ideas for improvement:
- Look at adding something/section/guide about system administration activities
and tasks (as opposed to these are the cron jobs available, and the Koha
package commands).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list