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.
Note: If TeamForge is running on multiple
servers, stop all the servers.
- /etc/init.d/collabnet 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 CollabNet
TeamForge database.
-
Start TeamForge.
-
/etc/init.d/httpd start
-
/etc/init.d/postgresql-9.2 start
-
/etc/init.d/collabnet start