Files @ 96b43734025f
Branch filter:

Location: kallithea/docs/usage/backup.rst

96b43734025f 512 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Mads Kiilerich
scripts: use plain import of contributor_data

Relative import failed with:

Traceback (most recent call last):
File "scripts/update-copyrights.py", line 45, in <module>
from . import contributor_data
ImportError: attempted relative import with no known parent package

Fixed by backing out changeset 2786730e56e0. The pytype problem can be solved
differently.
.. _backup:

====================
Backing up Kallithea
====================


Settings
--------

Just copy your .ini file, it contains all Kallithea settings.


Whoosh index
------------

The Whoosh index is located in the ``data/index`` directory where you installed
Kallithea, i.e., the same place where the ini file is located


Database
--------

When using sqlite just copy kallithea.db.
Any other database engine requires a manual backup operation.

A database backup will contain all gathered statistics.