swsadmin migrate Command Options

This command migrates DesignSync modules to Semiconductor Logical Item revisions.

Note: Most commands options can be entered in an abbreviated format. The abbreviated form is mentioned in the description. All commands and options are case-sensitive.

Option Description

--module <ModuleURL>,-m <ModuleURL>

This required option is the URL of the module being migrated in the format:
sync://machineName:port#/Modules/Catagory[...]/ModuleName
or
syncs://machineName:port#/Modules/Catagory[...]/ModuleName

--module can be abbreviated as -m.

--tag <tagName>[,<tagname>,...], -t <tagName>[,<tagname>,...] This option specifies the tags and branches to migrate as Semiconductor logical item revisions. To specify more than one tag or branch name, separate the values with a comma. You can specify branches and tags in any order.

Specify either the -tag or the -tagsfile option.

--tag can be abbreviated as -t.

--tagsfile <Path>, The path to a text file containing the list of tags, one per line. Create the file as a UNIX text file.

Specify either the -tag or the -tagsfile option. Collaborative Spaces Control Center Collaborative Spaces Control Center

The -tagsfile option does not have a shortcut.

Tip: You can use the DesignSync vhistory command to generate a list of branch names and tags. You can then edit the list to choose the tags to migrate.

--url <3DSpace URL> , -u <3DSpace URL> This option contains the 3DSpace URL This must be the same 3DSpace service used by the 3DEXPERIENCE platform hosting the items. You can copy this URL from the Show 3DExperience URLs action in Semiconductor Item Management.

--url can be abbreviated as -u.

--connector <NAME> , -c <NAME>
Migrating the structure and the data
If you are migrating the data as well as the structure of module, the connector specifies the name of a SemiRepo Connector proxy object defined in Semiconductor Item Management.
Migrating the structure only, maintaining the Data in DesignSync
If you are migrating only the structure of the module, but plan to continue to use the data from the DesignSync module, the name of the Connector object used to link the Semiconductor item revisions to the DesignSync module. The connector must be reachable from the3DSpace URL provided by the --url option. For information on defining Connectors, see Installation and Setup | Social and Collaborative | Semiconductor Development | SCM Connectors and Clients | SCM Connectors and Clients | Connector Configuration | Register DesignSync Repositories.

If you do not specify the connector, Semiconductor Item Management searches through the connectors available on the specified 3DSpace server and prompts you to select the correct one. If no appropriate connector is found, the command fails with an appropriate error.

--connector can be abbreviated as -c.

--title <SLIName> The optional name for any newly created Semiconductor item versions. If you do not specify the --title option, Semiconductor Item Management uses the Module name for the Semiconductor item.
Note: Use this option when you have Semiconductor item versions with the same name as the module being migrated.
--repository, -r Specifies that the contents of the DesignSync module is going to be migrated to a SemiconductorRepo.
Note: When use specify --repository option the --connector option must point to a SemiconductorRepo.

--repository can be abbreviated as -r.

--workspace <TEMP DIR>, -w <TEMP DIR> Specifies a temporary storage location for the data being migrated. If the data is not being migrated (--repository is not specified,) this option is silently ignored. If --repository is specified, and the --workspace option is not specified, the default value is $HOME/.dshome/migrate.
--verbose, -v When specified, includes the list of objects operated on in the data migration and the commitID for the objects when they are checked into the SemiconductorRepo.

--verbose can be abbreviated as -v.

--help, -h Displays simplified help focused on the most useful information.--help can be abbreviated as -h.