You'll need to prepend your command with the following:
$sshPath -q -x -l backuppc $host curl...
or
$sshPath -q -x -l root $host curl...
Click on the hyperlink DumpPreUserCmd for more details and examples, such as:
'$sshPath -q -x -l root $host /usr/bin/dumpMysql';
__
Sorry for missed subject =(Resolved it. Backup after curl - tar archive (not compressed).It somewhat affected tar xfer method. I put curl into script and add pipe to gzip. after that tar method succeded in creating backup with .tar.gz suffix. 10.03.2022, 22:13, "Евгений" :Hello.I'm trying to do ba
Hello.I'm trying to do backup with DumpPreUserCmd.This command is like: curl -s -u login:password -o /home/backuppc/mydir/myfile.zip http://$host/path/to/apiand then xfer method tar from /home/backuppc/mydircurl download data, but output file is zero size. this end with error of zero data backuped.