Files @ a6dfd14d4b20
Branch filter:

Location: kallithea/docs/usage/backup.rst

a6dfd14d4b20 498 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Daniel Anderson
Escape shell command parts for Git backend

Python 2.x uses pipes.quote and Python 3.3+ uses shlex.quote in
GitRepository._run_git_command()
.. _backup:

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


Settings
--------

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

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

Whoosh index is located in **/data/index** directory where you installed
Kallithea ie. 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.

Database backup will contain all gathered statistics