©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 General matters » xsibackup and plink.exe » 2018-01-19 14:31:35

nikesg
Replies: 6

Hi,
I'm trying to send commands to start backup from windows mashine to ESXi using tool plink.exe.
On ESXi I create shell script file with these parameters:

cd /vmfs/volumes/datastore1/xsibackup/
./xsibackup \
--backup-point=/vmfs/volumes/NFS/backups/esxopsmo01_vm \
--backup-how=hot \
--backup-type=custom \
--backup-vms=Windows Server 2012 R2!Windows Server 2012 R2_1.vmdk \
--mail-from=****** \
--mail-to=***** \
--smtp-srv=**** \
--smtp-port=25 \
--smtp-usr=***** \
--smtp-pwd=**** \
--test-mode=true

When I execute the script localy on ESXi everyting works fine, but when I try to execute script from plink.exe nothing is happening.
This is my plink execution command:

plink.exe -ssh root@ip_of_esxi -pw root_passwors -v -batch (/vmfs/volumes/datastore1/xsibackup/commands.sh)

Any other commands work fine, except xsibackup.
My ESXi is free 6.5.

Please help!

Board footer