Database encryption: hcirootcopy

hcirootcopy [-f] [-n] [-v] [-N] [-s sitelist] [-l listfile] 
[-p path] [-e encoding] [-u username] [-w password] 
[-E SMATDBFlag,InternalDBFlag,ErrDBFlag] [-D type] [-r] [-c] sourceRoot 
  • -f specifies no query.
  • -n specifies test query.
  • -v specifies verbose mode.
  • -N specifies to not copy the database.
  • -s sitelist copies a single site or colon-separated list of sites. For example, site1 or site1:site2:site3
  • -l listfile copies the sites that are listed in listfile.
    listfile should be newline formatted. For example:
    site1
    site2
    site3
  • -p path is the actual path where sitelist is to be saved.

    A $HCIROOT/site symbolic link under the current root is created as a blank placeholder file to the actual path of site path/site after site creation.

    This option is supported only on UNIX.

  • -e encoding is the encoding of the source files. If this option is omitted, then the default value is utf-8.
  • -u username is your organization's end-user username.
  • -w password is your organization's end-user password.
  • -E SMATDBFlag,InternalDBFlag,ErrDBFlag

    These specify whether the SMAT, internal, or error database is encrypted.

    SMATDBFlag is used for the SMAT database.

    InternalDBFlag is used for the Raima database.

    ErrDBFlag is for error database:

    • 1 indicates encrypted.
    • 0 indicates unencrypted.
    • -1 indicates no change. This is the default. If no flag is specified, then it keeps the same configuration as the previous site.

      For eample, -E -1,1,1 indicates that SMAT encryption has no change after migration, and the internal/error databases are enrypted after migration.

  • -D type is the driver type that is used to read/write SMAT. Acceptable values arefile or sqlite.

    If -D type is sqlite, then the sqlite database retains the same behavior as the internal and error databases.

  • -r copies the server/server.ini file.
    Note: This option ignores the security server-related keys.
  • -c updates the encryption method.
  • sourceRoot specifies the source root directory.