The bootstrap-data.sh script prepares application and database
data for new installations. Preparing application and database data is referred to as
"bootstrapping" the data.
Overview
Important: This script is only for new installations. If you run it on a
site that already has data, all data will be wiped.
This script resides in the
/opt/collabnet/teamforge/installer/ directory and calls the
wrapper-bootstrap-data.py script when run. The
[log_file_directory]/runtime/bootstrap.log
file is created when this script is run. All success and error messages from this
script are written to this log
file.
Usage
Run this script as
follows:
- /opt/collabnet/teamforge/installer/bootstrap-data.sh
Example
The following command forces a bootstrap of the data, showing all actions on the
screen:
- /opt/collabnet/teamforge/installer/bootstrap-data.sh
Options
The following options are available for the bootstrap-data.sh
script:
- -d | --directory
- Specify installation directory. This argument is required.
- -h | --help
- Provides a list of all available options for this script.
- -n | --non-interactive
- Runs the script in a non-interactive mode. The script will fail with an
error message when used with this option if an existing
[DATA_DIR] is located. You can use the -F option to
force bootstrapping on sites that have an existing
[DATA_DIR].
- -F | --force
- This option is only valid when the -n option is used. This option forces the
bootstrapping of data when a [DATA_DIR] exists.
- -V | --verbose
- Writes all script actions to the screen. Without this option the script runs
silently and logs messages to the
[log_file_directory]/runtime/bootstrap.log file.
- -q | --quiet
- Do not show script output.
- -f | --site-options=[filename]
- Points to the site-options.conf configuration file for
the site. This argument is optional.
Cluster location
This script runs on the application
server.