The swapspacecontents command

The command swapspacecontents swaps the data and catalog of two different spaces while keeping users and implementation-specific elements such as report schedules unchanged. It is the same as the Admin - Manage Spaces - Modify Properties - Swap Content with Another Space option.

swapspacecontents does not swap:
  • User and groups
  • Group permissions and memberships
  • Data processing schedules
  • Report schedules
  • SSO settings

Command: swapspacecontents [space1name] [space2name]

For example, swapspacecontents “Tenant_TST-ConsumerSpace” “Tenant_TST-STC- ConsumerSpace”