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.
-
Stop TeamForge.
If you are upgrading from TeamForge 16.7 or earlier releases:
- /etc/init.d/collabnet stop all
If you are upgrading from TeamForge 16.10 or later releases:
- /opt/collabnet/teamforge/bin/teamforge
stop
-
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
TeamForge database.
-
Start TeamForge.