System administrators can use these utilities to control the behavior of the
application.
TeamForge script
Use the teamforge script to deploy and undeploy services, start and stop services, verify the status of services, verify the application environment, bootstrap or migrate data and do much more.
add_eventq_to_projects.py
Run the add_eventq_to_projects.py script to add EventQ to existing projects.
backup-data.py
The backup-data.py script makes a compressed copy of the site's data. The script deletes any backup existing in the destination directory. By default, the TeamForge and the reporting database are backed up to the destination directory. If reporting is disabled, only the TeamForge database is backed up.
backup-rb-data.py
The backup-rb-data.py script is used to back up the Review Board application data.
db.py
The db.py script can be used to dump and restore a PostgreSQL database.
domain_change_db.py
The domain_change_db.py script handles all the steps required to change the domain name in the site database. It does not change anything in the file system.
etl-client.py
The etl-client.py script allows you to access the Extract, Transform and Load (ETL) scheduler and check the status of the jobs configured. The script also supports triggering jobs manually.
fix_data_permission.sh
The fix_data_permission.sh script is used to fix the TeamForge filesystem permissions when you backup and restore the TeamForge data in a new box during TeamForge upgrade.
install.sh
The install.sh script handles all operations related to installing and removing the application.
pbl.py
The pbl.py utility enables you to upload files to the Project Build Library and perform various operations on them.
password_util.sh
The password_util.sh script is used to get the encrypted or decrypted password value for the user scmviewer.
post-install.py
Run the post-install.py script to perform TeamForge post installation/upgrade actions. For example, run this script for setting up CLI reports, integrating Gerrit SCM with TeamForge, integrating SVN and CVS, and so on. This script is intelligent enough to identify the list of post installation actions required based on the TeamForge applications that are configured and running locally.
psql-wrapper
The psql-wrapper script is used to connect to the TeamForge application.
psql-reporting-wrapper
The psql-reporting-wrapper script is used to connect to the datamart.
restore-data.py
The restore-data.py script restores the compressed data from the named source directory and deletes any existing data. By default, the TeamForge and the reporting database are backed up to the destination directory. If reporting is disabled, only the TeamForge database is backed up.
restore-rb-data.py
The restore-rb-data.py script is used to restore the Review Board application data from the backup directory.
SearchReindex.py
The SearchReindex.py script allows you to reindex the entire TeamForge data.
set_auth_key.py
The set_auth_key.py script sets the authorized key to the scmviewer user profile.
sync-orchestrate.py
Run the sync-orchestrate.py script to synchronize a TeamForge project with Orchestrate by triggering the world-state message for the given project.