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.

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.