You are not logged in.
Hi,
My xsibackup configuration with option --replica=cbt works well over several weeks, no errors.
Last night, I found the following two errors in the backup.log. When consulting the error.log, I did not receive any additional information, please see below:
2022-03-30T00:05:57 | Error code 1537 at file common.c, line 1537 | Error description: error running command run_backup_cmd(), returned: 1
<list of VMs backed up>), error count is: 2
2022-03-30T00:24:12 | Error code 216 at file signal.c, line 216 | Error description: raised SIGTERM (11) (2) in job, total errors: 11, check error.log
These messages above are a copy of the messages already reported via backup.log. It appears that the second error message is a result of having the first error message, as it was stated below the last VM to be backed up where no issues occurred.
However, I wonder what the first error message means. In fact, it concerns a VM that had been replicated without issues the nights before. The only difference was that there was a manually created snapshot. Does this cause a conflict with the CTK-enabled replication (--replica=cbt)?
Best regards,
Peter
Offline
All snapshots are removed when you engage a VM in a CBT job. Please, post the job if you want a more thorough analysis.
As general advice: increase verbosity and/or prepend [b]strace[/b] to your command to have detailed system call level information on what's going on.
Offline
Hi,
attached below please find the job:
xsibackup \
--replica=cbt \
"VMs(vm)" \
"/backup" \
--options=R \
--quiesce \
--config-backup \
--backup-how=hot
And here is the result:
Performing a hot backup as per the --backup-how argument.
-------------------------------------------------------------------------------------------------------------
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
||| (c)XSIBackup-DC 1.5.1.9: Backup & Replication Software |||
||| (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
(c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: ESXi, Kernel 6 Major 7 Minor 0 Patch 0
-------------------------------------------------------------------------------------------------------------
License: 000306E40000000000000000d89d67195a68 | (c)XSIBackup-DC
-------------------------------------------------------------------------------------------------------------
PID: 3890004, Running job as: root
-------------------------------------------------------------------------------------------------------------
(c)XSIBackup-DC replicating data to /vmfs/volumes/nas-holzkirchen-backup/hpdl380p/replica-hot
-------------------------------------------------------------------------------------------------------------
Performing --replica action
-------------------------------------------------------------------------------------------------------------
Backup folder '/vmfs/volumes/nas-holzkirchen-backup/hpdl380p/replica-hot'
-------------------------------------------------------------------------------------------------------------
Item number 1 in this job
-------------------------------------------------------------------------------------------------------------
Available space in backup volume: 12656858333184 (11.79 TB)
-------------------------------------------------------------------------------------------------------------
vm Hardware Version is: 14
-------------------------------------------------------------------------------------------------------------
All snapshots were removed, as vm is engaged in a CBT job
-------------------------------------------------------------------------------------------------------------
Virtual Machine Name: vm
-------------------------------------------------------------------------------------------------------------
Creating snapshot VM : vm (powered on)
-------------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-------------------------------------------------------------------------------------------------------------
Virtual Machine: vm
-------------------------------------------------------------------------------------------------------------
Backup start date: 2022-03-30T00:04:12
-------------------------------------------------------------------------------------------------------------
2022-03-30 00:04:12 | Backing up 28 files, total size is 66.33 GB
-------------------------------------------------------------------------------------------------------------
NUMBER FILE SIZE PROGRESS
-------------------------------------------------------------------------------------------------------------
1/28 vm.vmx 3.12 KB | Done 0.00%
-------------------------------------------------------------------------------------------------------------
2/28 vmx-vm-3606140007-1.vswp [skipped excluded]
-------------------------------------------------------------------------------------------------------------
3/28 vm.vmx.lck [skipped excluded]
-------------------------------------------------------------------------------------------------------------
4/28 vm.vmsd 536.00 B | Done 0.00%
-------------------------------------------------------------------------------------------------------------
5/28 vm_1-flat.vmdk (CBT 111) 64.00 GB | Done 0.00%
-------------------------------------------------------------------------------------------------------------
6/28 vm_1.vmdk 583.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
7/28 vm-aux.xml 140.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
8/28 vmware-722.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
9/28 vmware.log 1.13 MB | Done 96.49%
-------------------------------------------------------------------------------------------------------------
10/28 vm.nvram 8.48 KB | Done 96.49%
-------------------------------------------------------------------------------------------------------------
11/28 vm.vmsd.tmp 430.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
12/28 vm.vmx~ 3.12 KB | Done 96.49%
-------------------------------------------------------------------------------------------------------------
13/28 vmware-717.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
14/28 vmware-720.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
15/28 vm.vmxf 150.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
16/28 vm-d6f15467.hlog 53.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
17/28 vmware-718.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
18/28 vmware-719.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
19/28 vm_1-flat.vmdk___hash 82.00 B | Done 96.49%
-------------------------------------------------------------------------------------------------------------
20/28 vmware-721.log [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
21/28 vm-d6f15467.vswp [skipped excluded]
-------------------------------------------------------------------------------------------------------------
22/28 vm_1-ctk.vmdk [skipped excluded]
-------------------------------------------------------------------------------------------------------------
23/28 vm.vmx.tmp 3.12 KB | Done 96.49%
-------------------------------------------------------------------------------------------------------------
24/28 vm-Snapshot785.vmsn [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
25/28 vm_1-000001-sesparse.vmdk [skipped excluded]
-------------------------------------------------------------------------------------------------------------
26/28 vm_1-000001.vmdk [skipped excluded]
-------------------------------------------------------------------------------------------------------------
27/28 vm_1-000001-ctk.vmdk [skipped excluded]
-------------------------------------------------------------------------------------------------------------
28/28 vm-quiesce_manifest785.xml [REGEXP exclusion]
-------------------------------------------------------------------------------------------------------------
Total size: 64.00 GB | Done 100.00%
-------------------------------------------------------------------------------------------------------------
*** Snapshot was removed ***
-------------------------------------------------------------------------------------------------------------
SHA-1 hashes updated for .vmdk descriptor files
-------------------------------------------------------------------------------------------------------------
Replica registered for VM vm as vm_XSIREP with Id 589
-------------------------------------------------------------------------------------------------------------
2022-03-30T00:05:57 | Error code 1537 at file common.c, line 1537 | Error description: error running command run_backup_cmd(), returned: 1
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
Backup end date: 2022-03-30T00:05:54
-------------------------------------------------------------------------------------------------------------
Time taken: 00:01:42 (102 sec.)
-------------------------------------------------------------------------------------------------------------
Total time: 00:03:23 (203 sec.)
-------------------------------------------------------------------------------------------------------------
Full file speed: 642.52 mb/s
-------------------------------------------------------------------------------------------------------------
Real data speed: 15.33 mb/s
-------------------------------------------------------------------------------------------------------------
Item backup completed with errors
-------------------------------------------------------------------------------------------------------------
Offline
The job is running OK, it's the final part where the VM is registered where you are having some issue.
Maybe some duplicate name in the registry?
You don't need [b]--backup-how=hot[/b], it's the default behavior.
We need some more verbosity, run the job in the command line to debug it and add [b]--debug-print[/b] at the end to have the details on the command that fails.
./xsibackup --replica=cbt "VMs(vm)" "/backup" --options=R --quiesce --config-backup --debug-print
Update:
Looks like the problem is related to creating the remote replica snapshot. This is required to be able to switch the remote VM on without affecting the remote clone consistency and should never be deleted. It is in fact called "xsirep_donotdelete".
Your simplest workaround consists in unregistering the _XSIREP VM and deleting the clone folder from disk, this will recreate the remote cloned VM from scratch copying all data again.
Offline