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';

________________________________
From: Евгений <nau...@yandex.ru>
Sent: Thursday, March 10, 2022 8:03 AM
To: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Subject: [BackupPC-users] (no subject)

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/api
and then xfer method tar from /home/backuppc/mydir
curl download data, but output file is zero size. this end with error of zero 
data backuped.
with curl -v I can see, that downloading goes without errors and conpletes with 
real size of file.
I have no idea how to find reason to such error. Any help?

I use bpc in docker. version - 4.4.0

also attached xfer log
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to