backupCollection

Available for: Search Engine Server

Task: The command creates a copy of a collection.

Syntax

backupCollection collectionName targetDir

Function parameters

  • collectionName: The name of the collection to copy. For switchable collections this command refers to the offline collection.
  • targetDir: The target directory of the new collection, relative to the collection’s parent directory. Under Windows the backslash must not be used as path separator. Use two backslashes or the normal slash instead.

Return value: none.

Example

SES>backupCollection sportsNews liveSportsNews