Repotools command that permanently deletes project resources
including their history and revisions.
Purpose
While it is possible to delete a resource
in the Jazz Foundation Server storage service, deletion results in
the archiving of the resource. When a resource is archived, all revisions
of that resource continue to be accessible as part of history of the
URL of that resource. The
deleteProjectAreaResources command
enables the permanent deletion of all resources and their history,
including revisions for a project area. Permanently deleting archived
resources can gain database space and improve performance.
Remember: The command requires that the server be shutdown beforehand.
The command will not automatically trigger a
-reindex. Performing a reindex is recommended
if the force parameter is specified.
| Attribute |
Description |
Required |
Default |
| contextURL |
URL of the project area. |
Yes |
|
| force |
If the force parameter is specified with value "true", then
all resources associated to the project area, including resources
that have not been archived, will be permanently deleted. |
No |
false |
| teamserver.properties |
Path to the teamserver.properties file. |
Yes |
conf/jazz/teamserver.properties |
| noPrompt |
When the noPrompt parameter is used, the command will not
prompt the administrative user to confirm the delete. |
No |
|
Example
repotools -deleteProjectAreaResources contextURL={URL of the project area} force=false teamserver.properties=conf/jazz/teamserver.properties