Bash script to get a static offline copy of your Trac installation


This script creates a static copy of your Trac installation. It should help to restore your installation in case of a calamity, such as a server blowing up, so this backup script was created using wget.

Key features:

  • Perform a trac-hotcopy and archive it with tar and a datestamp
  • Crawl the whole Trac project, archive it and save it with a datestamp
  • Save the raw version of the crawl (without an archive) so you can browse your entire Trac site even when it is down just with static HTML files

The script is best executed regularly via crond.

The script is hosted on Github

Bugs/Feature Requests

Existing bugs and feature requests for BackupTracScript are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out BackupTracScript from here using Subversion, or browse the source with Trac.


See installation instructions included within


Author: nextloop
Maintainer: nextloop

Last modified 2 years ago Last modified on May 9, 2022, 5:58:42 AM