Files
@ 17556a81ec6f
Branch filter:
Location: kallithea/docs/usage/backup.rst - annotation
17556a81ec6f
497 B
text/prs.fallenstein.rst
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').
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').
af371e206ec5 af371e206ec5 17c9393e9645 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 af371e206ec5 | .. _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
|