HomeMogDBMogDB StackUqbar
v3.0

Documentation:v3.0

Supported Versions:

Other Versions:

pscp

Basic Function

This tool is used to transfer files between database nodes.

Syntax

python3 pscp [OPTIONS]

Parameter Description

  • -help

    Displays help information.

  • -H HOSTNAME

    Specifies the host list.

  • -h HOSTFILE

    Specifies the full path of the file to be written into the host list.

  • -t TIMEOUT

    Specifies the connection timeout interval, in seconds. The default value is 300s.

  • -p PARALLEL

    Specifies the maximum number of concurrent tasks. The default value is 256.

  • -o OUTDIR

    Specifies the full file path of the execution result.

  • -e ERRDIR

    Specifies the full path of the error information output file.

  • -r

    Recursively copies a directory.

  • -v

    Enables the diagnosis message function.

  • -s

    Displays the execution result.

  • -x EXTRA

    Specifies the extra command line parameters.

  • -i

    Displays the output and errors of all nodes.

  • -O OPT

    Specifies the added SCP parameters in offline mode.

Copyright © 2011-2024 www.enmotech.com All rights reserved.