We use separate TRAC instances as our ticket system for many projects and need to have them moved off site several times a day for disaster recovery.
What is the best way to make this happen? Is there something similar to svnsync for subversion?
We use separate TRAC instances as our ticket system for many projects and need to have them moved off site several times a day for disaster recovery.
What is the best way to make this happen? Is there something similar to svnsync for subversion?
To fully recover trac environment you need following things:
In case of the standard setup (with SQLite as BD backend), this means that all you have to backup are the contents of the trac install dir.
Also it would be useful to create list of all Python packages you need to install with
easy_install
.I've used a script to safely backup both SVN + the full Trac instance into a .tar.gz file. From there, it can be backed up as usual with the other files..
You might want to take a look at TracBackup:
If you are using sqlite as backend (default setting), you could just hotcopy the file. The filesize (at least for us) is so small, that we never had problems with its consistency.