Backing up trac data

In order to back up data from our trac system we used the following commands.

mkdir result_of_hotcopy

trac-admin  /path/to/trac_project  hotcopy  result_of_hotcopy

We then ran a command to dump all of the wiki pages to a directory

mkdir  result_of_wiki_dump

trac-admin  /path/to/trac_project  wiki  dump  result_of_wiki_dump

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s