ApTest Manager documentation: CLI: export

export

NAME

export - make a portable package of some your ATM data

SYNOPSIS

export.pl [-n] [-v] archiveName [suite1, suite2, ...]

OPTIONS AND ARGUMENTS

-n
Don't actually export anything - just say what the command would have done.
-v
Be verbose.
archiveName
The name of the archive to create. Creates a file archiveName.zip in the current directory.
suiteN
Suites to export. If no suites are specified, all suites are exported.

DESCRIPTION

The export script packages up test suites and data files from an ATM instance in an archive that is portable and can be dropped into another instance of ATM, even on a machine with a different processor architecture.

RESTORING EXPORTED DATA

This script is intended for use in conjunction with ApTest Support should they request a snapshot of an ApTest Manager data tree for use in evaluating a support issue.

However, it can also be used to backup a copy of your ApTest Manager user and test suite data to help migrate from one copy of ApTest Manager to another (e.g., when moving to a new server).

In order to restore the exported data, follow this procedure:

Note that this will overwrite your user data file and all your configuration settings. Please ensure you have a complete backup of your system before performing these steps.

  1. Copy archive.zip to the top of a new ATM tree.
  2. Change to that directory.
  3. Delete data/userData.dbm (database file for users) if it is present.
  4. Unzip archive.zip
  5. Run the installer with the -u flag to ensure that everything is set up.
  6. perl INSTALL.pl -u

Copyright © 2000-2006 Applied Testing and Technology, Inc. All rights reserved.