Files @ fbb992c719aa
Branch filter:

Location: kallithea/docs/usage/backup.rst - annotation

fbb992c719aa 498 B text/prs.fallenstein.rst Show Source Show as Raw Download as Raw
Mads Kiilerich
diff: don't split lines on bare CR as python splitlines do

The line count from the @@ lines and the actual count would get out of sync and
an incomplete diff would be shown.

This is slower than native splitlines ... but that is what it takes to handle
it correctly. (Except that we perhaps could use .split('\n') and patch the
result ...)
.. _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