...
...
Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
cleanup-projects usage
Code Block |
---|
datastage cleanup-projects Usage: cleanup-projects [options] Options: * -domain Services Tier (required) * -password Password (required) * -pattern Search pattern for existing projects, sorted in natural order (required) -retain Number of projects matching the search pattern to be retained, counting backwards from the end (optional) Default: 0 * -server Engine Tier (required) * -username User Name (required) eg: $> command-shell.sh datastage cleanup-projects -domain test2-svcs.datamigrators.io:59445 -username isadmin -password isadminpwd -server test2-engn.datamigrators.io -pattern Test[0-9] -retain 1 Listing projects: - ANALYZERPROJECT - DataClick - dfd_test - dstage1 - Test1 - matches pattern - Test2 - matches pattern - Test4 - matches pattern - SWPensionStrategy - wwi_prod Cleaning up old projects, retaining 1 most recent projects * Delete 'test2-engn.datamigrators.io/Test4' - SKIPPED Deleting project: SNTest2 * Delete 'test2-engn.datamigrators.io/Test2' - COMPLETED Deleting project: SNTest1 * Delete 'test2-engn.datamigrators.io/Test1' - COMPLETED |
...