Repository tools command to move scm content between the database and an external content repository

Use the moveContent command to move scm content between the database and a configured external content repository.

Purpose

The moveContent command moves scm content between the database and a configured external content repository.

By default the command starts a move job on the server and echoes progress to the terminal until the move is complete. If the user breaks the command while the move is in progress, progress display stops but the move continues to run on the server. The user can issue a subsequent moveContent command with resumeProgress to re-attach to the running move job and continue displaying progress.

The user can cancel a move job by executing the move content command with the cancel argument. The command signals the server to cancel the current move job and reports progress to the console until the job is canceled. Canceling a move does not undo content moves that are already performed.

Parameters

Attribute Description
source= value Optional. Can be one of the following values:
  ALL: Moves content from all content stores, both internal (Jazz™ Team Server database) and external, regardless of location.
  ANY_EXTERNAL: Moves content from all external content stores regardless of location. Content stored in the Jazz Team Server database is not moved.
  CONFIGURED: Convenience source that maps to the server's currently configured content store. Will resolve to one of URI or DATABASE.
  DATABASE: Moves content from the internal team server database only. Does not consider externally stored content.
  UUID for an item state: Moves the content for the single item state from it's current location to the destination.
  UUID for an item id: Moves the content for all existing states of the given item from their current location to the destination.
  Uri to an external content store: Moves content from the specified external store only.
destination= value Optional. Can be one of the following values:
  CONFIGURED: (Default) Convenience destination that maps to the server's currently configured content store. Resolves to one of URI or DATABASE.
  DATABASE: Moves content into the internal team server database.
  URI to the currently configured external content repository: Moves content into the currently configured external content repository.
minSize= size The minimum file size, in bytes, of content that is moved. Required if the source is DATABASE or ALL (or CONFIGURED when content is configured to be stored in the database).
maxSize= size The maximum file size, in bytes, of content that is moved. Optional.
noProgress Do not show move progress. Optional.
resumeProgress Causes the client to connect to the currently running move job on the server and display its progress until the job is completed or canceled. By default, resumeProgress attaches to the last job started by the client. Optional.
cancel Cancels the move job on the server. By default, the cancel operation cancels the last job started by the client. Optional.
job= job-id Used with the resumeProgress or cancel parameters. Specifies a specific job id for the command instead of using the last job started by the client. Optional.
checkOnly Display statistics about the content that would be moved by the command without actually moving the content. Optional.
noPrompt Suppress warnings that would require additional user input. If a warning occurs when noPrompt is specified, no content will be moved. Optional.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki