You are not logged in.
Scenario:
launch a backup from host A to host B saving VM on server C using onediff
the log file reports no more than following lines (the last one was added by me to debug paths) and I have to kill processes on <hostB>, no processes active on <hostC>
[104m############################################################################### [0m [104m [0m
[104m# [0m[104m [0m [104m [0m
[104m# [1m(c) XSIBACKUP-PRO 10.1.3[0m[104m | Backup for (c) VMWARE ESXi Hypervisor by [1m33hops.com [0m [104m [0m [104m [0m
[104m# [0m [104m [0m [104m [0m [104m [0m
[104m###################################################################################[0m[104m [0m [104m [0m [104m [0m [104m [0m [104m [0m [104m [0m
2017-12-04T13:43:01| NOTICE: (c) XSIBackup will kill any previous processes, make sure you don't overlap backup jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID: 8150735 xxxxxxxxxx
Mon, 04 Dec 2017 13:43:01 +0000 IPv4: <hostB>/255.255.255.0
VMware ESXi 5.5.0 build-1331820 (c) Rsync 3.1.0 as opt. dependency
2017-12-04T13:43:02| Backup Id: ar1zf
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03| [0;36mADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03| Backup program is: [1monediff[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:03| Service OpenSSH ready at server <hostC>:22
2017-12-04T13:43:05| Found more than one remote (c) XSIBackup installation dir at [<hostC>]
2017-12-04T13:43:05| Using hardcoded var at conf/[1mxsiopts[0m [xsidefaultpath] as remote path.
2017-12-04T13:43:05| [1mRemote xsi path set to: /vmfs/volumes/datastore1/xsi-dir[0m
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:05| [0;36mCompression option is deprecated since XSIBackup 10.0.4, SSH 2.0 is forced since this version and it handles compression dynamically[0m
2017-12-04T13:43:07| Remote ESXi version is 6.0.0
---------------------------------------------------------------------------------------------------------------------------------
2017-12-04T13:43:07| Mirroring to server <hostC> port 22
2017-12-04T13:43:07| Checking Rsync exists on the other side...
2017-12-04T13:43:07| ***DEBUG /vmfs/volumes/524d1b54-ddf4d08c-5600-90b11c388503/xsi-dir - <hostC>:22:/vmfs/volumes/datastore1/xsi-dir/bin/xsibackup-rsync
Offline
It seems related to compHash function, but I have no time to investigate now...
Offline
We'll fix this in next minor release.
By now you can just locate function [b]create_errfile[/b], around line 125, and move the following line
uniqidst="$( echo "$(date)" | openssl sha1 2>/dev/null | awk -F '=' '{print $2}' | sed -e 's/^ *//g' -e 's/ *$//g' )"
to line 16, right below
keyvalstr="$@"
Offline
Thanks for the quick reply, I moved the line and tried to launch the job (normally executed via cron) using --run-backup command but it give a ssh syntax error that I can't find in the source, here the partial output:
./xsibackup --run-backup=AR1ZF
###############################################################################
#
# (c) XSIBACKUP-PRO 10.1.3 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################
ssh: illegal option --
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
Found (c) XSIBackup installation. Remote path is set dynamically
Remote xsi path set to:
.
----------------------------------------------------------------------------------------------------------------------------------
Preparing to execute backup in remote server: <hostB>
----------------------------------------------------------------------------------------------------------------------------------
Offline
Test it in the command line, you don't want to add more layers of code to test on top of your issue. We'll check that [b]--run-backup[/b] argument, but perform a normal test.
Offline
I confirm that moving the line solves the issue, waiting feedback for the --run-backup issue
Offline
[b]--run-backup[/b] is a helper, XSIBackup doesn't need it to operate. The issue affects it in some cirmcumstances, like when using a [b]--host[/b] argument. We'll fix the issue ASAP, but we don't consider it to be critical.
Offline