##// END OF EJS Templates
pytest: use hmac.new instead of hmac.HMAC...
pytest: use hmac.new instead of hmac.HMAC According to documentation, hmac.new is the way to create a HMAC object ... and the first argument is mandaatory and we don't want to name it. This has no functional change but will address a pytype warning: File "kallithea/model/user.py", line 304, in get_reset_password_token: Invalid keyword arguments (digestmod, key, msg) to function HMAC.__init__ [wrong-keyword-args]

File last commit:

r5433:fbbe80e3 default
r8381:11ab74b7 default
Show More
backup.rst
27 lines | 512 B | text/x-rst | RstLexer

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.