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.

Overview

restore-data.py finds and unpacks these data resources:

  • Subversion repositories
  • CVS repositories (if any)
  • The data directory ( /var)
  • The SourceForge database

Usage

Run this script as follows:

./restore-data.py --source=<directory name>

where <directory-name> is the directory to which you backed up the data with the backup-data.py script.

Location

/opt/collabnet/teamforge/runtime/scripts/

Options

--source
Directory where the compressed copy of the site's data is available.
--help | -h
Print this usage message and exit.
Tags for this page: installation upgrade backup_restore