-clone

Use this command to create a clone of a repository.

Purpose

The clone command duplicates a repository database via a TAR file. Do not use the clone command to copy data from one repository database to another; use the copy command for those use cases.
Remember: This command requires that the server is shut down beforehand.

Parameters

Attribute Description Required Default
toFile Path to the TAR file. Yes N/A
target.teamserver.properties Path to the target teamserver.properties file. Yes N/A
source.teamserver.properties Path to the source teamserver.properties file. No conf/<application>/teamserver.properties
logFile Path to the log file. No repotools-<application>_clone.log
overwrite Whether to allow the file specified by the toFile option to be overwritten. Legal values: yes, no, true and false. No No
noPrompt Do not prompt before creating the tables prior to importing. No N/A
noVerify Do not perform imported data verification. No N/A

Example

repotools-<application> -clone toFile=export.tar target.teamserver.properties=db.properties

Feedback