restore - restore some or all of a backup
restore.pl [-c] [-u] [-p] [-n] [-v] [-r] [-s suite[,suite2...] | -a ] archiveFile
Restore the system configuration. By default this will not be restored.
Restore the user accounts. By default this will not be restored.
Restore saved test suite profiles. By default these *will* be restored when restoring all test suites, and otherwise will not.
Don't actually restore anything - just say what the command would have done.
Only restore the named suites.
Restore all suites in the archive. This option is required if you are also specifying other options and want all test suites restored.
Interactively rename each test suite as it is restored.
The name of the archive from which to restore.
THIS SCRIPT MUST BE RUN FROM YOUR APTEST MANAGER DIRECTORY.
The restore script will reload the data from an "exportAll.pl" archive into your system. With no options specified, the script behaves as if the options '-p' and '-a' were specified. In other words, it will restore user data settings, locally defined test suite profiles, and all test suites.
Other typical uses might be:
Restore all of the test suites in the archive:% perl bin/restore.pl -a mybackup.zip
Restore only the test suite named "some_test_suite":% perl bin/restore.pl -s some_test_suite mybackup.zip
Restore the user database:% perl bin/restore.pl -u mybackup.zip
Note that restore will not overwrite any test suites. If you wish to restore an earlier version of an existing test suite, you MUST first remove the existing test suite.
Copyright © 2000-2013 Applied Testing and Technology, Inc. All rights reserved.