Files @ 17556a81ec6f
Branch filter:

Location: kallithea/docs/usage/backup.rst

17556a81ec6f 497 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Stefan Engel
Make detecting bare Git repositories more robust

Git remote repositories may end on '.git', e.g. myrepo.git. Just checking
for a repository path to end on '.git' causes 'Repository not found' errors
in such a case. To distinguish between bare and normal Git repositories,
check if there is a '/.git' part at the end of the repository path
(i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
.. _backup:

====================
Backing up RhodeCode
====================


Settings
--------

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

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

Whoosh index is located in **/data/index** directory where you installed
RhodeCode ie. the same place where the ini file is located


Database
--------

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

Database backup will contain all gathered statistics