How do I backup my TRAC installments?

We make use of different TRAC circumstances as our ticket system for several tasks and also require to have them relocated off website numerous times a day for disaster recovery.

What is the most effective means to make this take place? Exists something comparable to svnsync for subversion?

2019-05-18 20:39:41
Source Share
Answers: 3

If you are making use of sqlite as backend (default setup), you can simply hotcopy the documents. The filesize (at the very least for us) is so tiny, that we never ever had troubles with its uniformity.

2019-05-21 03:16:59

You could intend to have a look at TracBackup:

Since Trac makes use of a data source backend, some added treatment is called for to securely create a backup of a task setting. The good news is, trac - admin has a command to make back-ups less complicated: hotcopy.

Keep in mind: Trac makes use of the hotcopy language to match that of Subversion, to make it less complicated to bear in mind when taking care of both Trac and also Subversion web servers.

2019-05-21 03:12:26

To totally recoup trac setting you require adhering to points:

  • backup DB ;
  • backup arrangement documents ;
  • backup wiki documents (html and also add-ons) ;
  • backup password documents if you are making use of htpasswd auth ;
  • optional plugins (despite the fact that this are readily available for download, I would certainly backup them for quicker recuperation) ;

In instance of the typical arrangement (with SQLite as BD backend), this suggests that all you need to backup are the materials of the trac install dir.

Additionally it would certainly serve to create checklist of all Python plans you require to install with easy_install.

2019-05-21 02:59:17