#1 2017-07-02 10:07:12

bellocarico
Member
Registered: 2017-07-02
Posts: 10

remote rsync not found

It appears like the script assumes the existence of a "datastore1"



[root@BLUE:/vmfs/volumes/53bfff9d-7c46de0d-9c45-00e081d04c38/xsi-dir] cat ./backup.sh
./xsibackup --backup-point="10.10.10.98:22:/vmfs/volumes/3TB/BACKUP/213w" --backup-type="custom" --backup-vms="Centos7" --date-dir=yes --backup-prog=rsync

[root@BLUE:/vmfs/volumes/53bfff9d-7c46de0d-9c45-00e081d04c38/xsi-dir] ./backup.sh

#####################################################################################
#                                                                                   #
#  (c) XSIBACKUP-FREE 9.0.2 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com   #
#                                                                                   #
#####################################################################################

XSIBackup PID: 101145                                        BLUE
Sun, 02 Jul 2017 09:33:02 +0000                       IPv4: 10.10.9.98/255.255.255.0
VMware ESXi 6.5.0 build-5310538                   (c) Rsync 3.1.0 as opt. dependency

-----------------------------------------------------------------------------------------------------------------------------
Service OpenSSH ready at server 10.10.10.98:22
-----------------------------------------------------------------------------------------------------------------------------
Mirroring to server 10.10.10.98 port 22
Checking Rsync exists on the other side...
xsibackup-rsync needs to be copied/updated in the remote server
mkdir: can't create directory '/vmfs/volumes/datastore1/': Operation not permitted
scp: /vmfs/volumes/datastore1/xsi-dir/bin/xsibackup-rsync: No such file or directory
Done!


Can this remote xsibackup-rsync path location be customised?

Thanks

Last edited by bellocarico (2017-07-02 10:44:55)

Offline

#2 2017-07-03 16:49:50

Daniel
Moderator
Registered: 2017-04-22
Posts: 60

Re: remote rsync not found

Yes, just change the xsidefaultpath variable at the begining of the script.

xsidefaultpath="/vmfs/volumes/datastore1/xsi-dir"

Offline

#3 2017-07-03 19:38:33

bellocarico
Member
Registered: 2017-07-02
Posts: 10

Re: remote rsync not found

Thanks that did the trick!

I suppose I will have to modify this again once a new version is released.

Thanks again.

Offline

#4 2017-07-03 20:51:44

Daniel
Moderator
Registered: 2017-04-22
Posts: 60

Re: remote rsync not found

Youn can set it in a source file

Offline

#5 2018-09-13 21:29:59

admin
Administrator
Registered: 2017-04-21
Posts: 1,368

Re: remote rsync not found

xsidefaultpath is now definable in the conf/xsiopts general configuration file or at runtime, by setting the --remote-xsipath argument.

Offline

Board footer