##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2777:f1cc2e3d default
Show More
rhodecode-backup.rst
25 lines | 497 B | text/x-rst | RstLexer
/ docs / admin / rhodecode-backup.rst

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