Back up CollabNet TeamForge data

Use the backup-data.py utility to compress a copy of your site data to a location where you can quickly retrieve it.

This backup method requires shutting down your site briefly. If you cannot tolerate a shutdown, you might consider another backup/restore method, such as the NetApp Snapshot utility.
  1. Stop TeamForge.
    Note: If TeamForge is running on multiple machines, stop all the machines.
    • /etc/init.d/collabnet stop
  2. Run the backup script.
    • cd /opt/collabnet/teamforge/runtime/scripts
    • ./backup-data.py --destination=<directory name>
    CollabNet TeamForge creates the directory and stores the following data in it, in compressed format:
    • Subversion repositories
    • CVS repositories
    • The data directory ( /var)
    • The CollabNet TeamForge database.
  3. Start TeamForge.
    • /etc/init.d/collabnet start