You are not logged in.
Pages: 1
Ok I have fixed the execute permissions. It ran manually fine, so I'll see how it goes over the next few days on xsibackup-cron.
There is still the other question about the status emails. The subject line is:
subject: ✔ XSIBACKUP no errors detected in backup job | ESXi Backup Report.
The body is:
Done hot backup (id: unknown) using onediff (no compression)
Available room in device /vmfs/volumes/VM_Backups_d-nas02/xsi-backup before backup: 3919 Gb.
Sparse size on disk of the selected virtual machines: 934 Gb.
Needed room in device /vmfs/volumes/VM_Backups_d-nas02/xsi-backup for backup: 934 Gb.
VM Name State Size (Gb) Stop Copy Start Time (min) Speed (mb/s)
p-dns02 ON 16/ 16 NO (hot backup) KO! - 0 341/ 341
Last notice raised for the above VM:
[ ] ERROR DIFQMSH3 details: [p-san-dns02] error: first 500M mistmatch [p-dns02-flat.vmdk]
p-util04 ON 721/ 721 NO (hot backup) KO! - 7 1656/ 1656
Last notice raised for the above VM:
[ ] ERROR DIFQMSH3 details: [p-san-util04] error: first 500M mistmatch [p-util04_3-flat.vmdk]
p-shadowctrl ON 16/ 16 NO (hot backup) KO! - 1 184/ 184
Last notice raised for the above VM:
[ ] ERROR DIFQMSH3 details: [p-san-shadowctrl] error: first 500M mistmatch [p-shadowctrl-flat.vmdk]
prtg01 ON 180/ 180 NO (hot backup) KO! - 3 919/ 919
Last notice raised for the above VM:
[ ] ERROR DIFQMSH3 details: [prtg01] error: first 500M mistmatch [san-prtg01-flat.vmdk]
Available space in device /vmfs/volumes/VM_Backups_d-nas02/xsi-backup after backup: 3919 Gb.
Complete backup elapsed time: 13 min
I just went to look at the file listed in the error message (bin/xsibackup-rsync). I checked it in three different ESXi hosts, and each had a slightly different set of files and permissions, so maybe something is slightly broken there (?).
Server 1:
-rwx------ 1 root root 47064 Oct 24 22:57 dd
-rwx------ 1 root root 59271 Oct 24 22:57 pv
-rwx------ 1 root root 1195825 Oct 24 22:57 xsibackup-rsync
-rwx------ 1 root root 1708430 Oct 24 22:57 xsidiff
Server 2:
-rwx------ 1 root root 47064 Feb 14 17:38 dd
-rwx------ 1 root root 59271 Feb 14 17:38 pv
-rw-r--r-- 1 root root 82 Mar 27 08:15 pv___hash
-rwx------ 1 root root 1195825 Feb 14 17:38 xsibackup-rsync
-rw-r--r-- 1 root root 82 Mar 27 08:15 xsibackup-rsync___hash
Server 3:
-rwx------ 1 root root 59271 Oct 27 22:56 pv
-rw-r--r-- 1 root root 1195825 Aug 30 2017 xsibackup-rsync
-rwx------ 1 root root 1708430 Oct 27 22:56 xsidiff
Server 3 is the one that seems to give me trouble--sometimes. I manually ran it earlier with no problems, but again just now with a failure:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[p-backuppc01] info: transfering snapshot file [p-backuppc01-000001-delta.vmdk]
Transfer errors: ./xsibackup: line 1: /vmfs/volumes/datastore1/xsi-dir/bin/xsibackup-rsync: Permission denied
---------------------------------------------------------------------------------------------------------------
Hello, thanks for looking in to this question.
I am running xsibackup as root.
As for previous errors in the log, this might be more informative:
[p-backuppc01] info: transfering snapshot file [p-backuppc01-000001-delta.vmdk]
2018-03-27T03:01:12| ESC[0;31mTransfer errors: /vmfs/volumes/577c011c-fd1d603b-949e-0024e86bf98c/xsi-dir/xsibackup: line 1: /vmfs/volumes/577c011c-fd1d603b-949e-0024e86bf98c/xsi-dir/bin/xsibackup-rsync: Permission deniedESC[0m
ERROR: cannot locate .ERR file at []
I came here for this question, too. I have the exact same problem. Sometimes everything is ok, then sometimes it's not. The email subject line has "no errors detected" even if the email body lists errors and the KO! message.
2018-03-26T22:24:02| [p--backuppc01] info: comparing first 500M of [p-backuppc01-flat.vmdk]...
2018-03-26T22:24:11| [p--backuppc01] error DIFQMSH3: first 500M mistmatch...
ERROR: cannot locate .ERR file at []
---------------------------------------------------------------------------------------------------------------------------------
2018-03-26T22:24:11| [p-backuppc01] measure DIFRMVMX: took measure deleted remote .vmx file to reinitialize OneDiff
ERROR: cannot locate .ERR file at []
2018-03-26T22:24:23| -e
ERROR: cannot locate .ERR file at []
---------------------------------------------------------------------------------------------------------------------------------
2018-03-26T22:24:23| No errors detected in backup
---------------------------------------------------------------------------------------------------------------------------------
Pages: 1