The swapspacecontents command

The swapspacecontents command 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-ConsumerSpace” “Tenant-STC- ConsumerSpace”