Files @ fb493f3ed4e3
Branch filter:

Location: kallithea/docs/usage/backup.rst

fb493f3ed4e3 512 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Mads Kiilerich
tests: fix vcs Hg helper functions get_user_name and get_user_email to actually use provided config_file

Running just test_get_user_name and test_get_user_email would fail when run as:
py.test kallithea/tests/vcs/test_repository.py -k test_get_user

The config file was not used at all, and the tests would only pass when
test_get_config_value had been run first and as an unfortunate side-effect had
read the same file.
.. _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.