You are not logged in.
Pages: 1
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
Yes, just change the [b]xsidefaultpath[/b] variable at the begining of the script.
xsidefaultpath="/vmfs/volumes/datastore1/xsi-dir"
Thanks that did the trick!
I suppose I will have to modify this again once a new version is released.
Thanks again.
Offline
Youn can set it in a source file
[b]xsidefaultpath[/b] is now definable in the conf/[b]xsiopts[/b] general configuration file or at runtime, by setting the [b][https://33hops.com/xsibackup-help-man-page.html#remotexsipath]--remote-xsipath[/url][/b] argument.
Offline
Pages: 1