You are not logged in.
Pages: 1
I'm only running this on my home network.
Here's what I did so far:
Cleared /tmp and /scratch/XSI/XSIBackup-DC/tmp
Used fresh folders and my original folder
Tried automatic and manual GUI backups and a combination of both
Tried both 10M and 20M block size
It has passed all the tests using 1.4.3.0!
So either something screwed up originally not clearing /tmp? Or something is happening at that time that is causing it. The only thing I've found is a cPanel host on a different network is backing up at a similar time (you don't get the exact time, but I'm confident there is an overlap). Is there anything that would cause a segmentation fault on a slow speed disk? It's a QNAP NAS, connected by NFS to ESXi.
There's loads of space on the target volume!
Alex
Ok, what I tried is --block-size="10M" but using a fresh folder and run automatically only... and it worked!
So I set up --rotate="2" and a cron that backed up every hour for 3 hours and it backed up and pruned the backup fine.
I'll try 20M again, but this time I'll try doing it in a fresh folder and run automatically only...
Right, I upgraded to version 1.4.3.0 and ran it manually from the GUI just to check and it ran fine. Then last night was the first time it ran automatically and it gave a segmentation fault:
Its running ESXi 7.0 Update 1
xsibackup.log
Performing a hot backup as per the --backup-how argument.
-----------------------------------------------------------------------------------------------------------
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
||| (c)XSIBackup-DC 1.4.3.0: 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 7 Major 0 Minor 1 Patch 0
-----------------------------------------------------------------------------------------------------------
License: 000906EA0000000000000000b47af1386b3c | (c)XSIBackup-DC
-----------------------------------------------------------------------------------------------------------
PID: 1548855, Running job as: root
-----------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-----------------------------------------------------------------------------------------------------------
Block size is 20.00 MB (20971520 bytes)
-----------------------------------------------------------------------------------------------------------
Performing --backup action
-----------------------------------------------------------------------------------------------------------
(c)XSIBackup-DC setting repository at /vmfs/volumes/QNAP_Backup/VMware
-----------------------------------------------------------------------------------------------------------
Item number 1 in this job
-----------------------------------------------------------------------------------------------------------
Virtual Machine Name: DC
-----------------------------------------------------------------------------------------------------------
(c)ESXi 7.0 or higher detected, all snapshots were removed for VM DC(1)
-----------------------------------------------------------------------------------------------------------
Creating snapshot VM : DC (powered on)
-----------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-----------------------------------------------------------------------------------------------------------
Virtual Machine: DC
-----------------------------------------------------------------------------------------------------------
Backup start date: 2021-01-18T02:00:13
-----------------------------------------------------------------------------------------------------------
2021-01-18 02:00:13 | Backing up 25 files, total size is 64.42 GB
-----------------------------------------------------------------------------------------------------------
NUMBER FILE SIZE PROGRESS
-----------------------------------------------------------------------------------------------------------
1/25 vmx-dc-1679671574-1.vswp 86.00 MB | Done 0.00%
-----------------------------------------------------------------------------------------------------------
2/25 vmware-25.log 203.51 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
3/25 vmware.log 231.41 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
4/25 vmware-30.log 244.23 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
5/25 vmware-29.log 149.74 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
6/25 vmware-28.log 212.69 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
7/25 vmware-27.log 285.46 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
8/25 dc.vmsd 486.00 B | Done 0.13%
-----------------------------------------------------------------------------------------------------------
9/25 dc.vmxf 3.61 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
10/25 dc.nvram 328.50 KB | Done 0.13%
-----------------------------------------------------------------------------------------------------------
11/25 dc-flat.vmdk 60.00 GB | Done 0.13%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12/25 dc.vmdk 545.00 B | Done 93.26%
-----------------------------------------------------------------------------------------------------------
13/25 dc.vmx 3.25 KB | Done 93.26%
-----------------------------------------------------------------------------------------------------------
14/25 vmware-26.log 218.45 KB | Done 93.26%
-----------------------------------------------------------------------------------------------------------
15/25 vmx-dc-b95a0828c2a4a7a2dfb1d84155ec7718b0d2846e-1.vswp [open excluded]
-----------------------------------------------------------------------------------------------------------
16/25 dc.vmx.lck [skipped excluded]
-----------------------------------------------------------------------------------------------------------
17/25 dc.vmx~ 3.24 KB | Done 93.26%
-----------------------------------------------------------------------------------------------------------
18/25 dc-39890d22.vswp [open excluded]
-----------------------------------------------------------------------------------------------------------
19/25 dc.vmsd.tmp 45.00 B | Done 93.26%
-----------------------------------------------------------------------------------------------------------
20/25 dc.vmx.tmp 3.24 KB | Done 93.26%
-----------------------------------------------------------------------------------------------------------
21/25 dc-aux.xml 123.00 B | Done 93.26%
-----------------------------------------------------------------------------------------------------------
22/25 dc-Snapshot149.vmsn 351.55 KB | Done 93.26%
-----------------------------------------------------------------------------------------------------------
23/25 dc-000001-sesparse.vmdk [skipped excluded]
-----------------------------------------------------------------------------------------------------------
24/25 dc-000001.vmdk [skipped excluded]
-----------------------------------------------------------------------------------------------------------
25/25 dc-vss_manifests149.zip 314.00 B | Done 93.27%Segmentation fault
error.log was empty.
Backup job was:
/scratch/XSI/XSIBackup-DC/xsibackup \
--backup \
"VMs(DC,XenforoDev,DNS1,WHM,DNS2)" \
"/vmfs/volumes/QNAP_Backup/VMware" \
--backup-how="hot" \
--rotate="28d" \
--mail-to="xxxxx@xxxxxx" \
--use-smtp="001" \
--description="Weekly VMware backup" \
--quiesce \
--block-size="20M" \
>> /scratch/XSI/XSIBackup-DC/var/log/xsibackup.log 2>&1
So I went into the GUI and ran it manually again and it worked fine!?
Alex
you should upgrade to 1.4.3.0 that will fix it, if the problem was due to lack of resources
Thank you. I'll let you know how I get on.
Alex
I am getting a segmentation fault too. I'm running version 1.4.2.7. It was always 2 or 3 weeks since working fine and then segmentation fault.
xsibackup.log using --block-size=1M
-----------------------------------------------------------------------------------------------------------
--rotate option was detected, retrieving backups to prune...
-----------------------------------------------------------------------------------------------------------
ROTATION: set to 28 days
-----------------------------------------------------------------------------------------------------------
No backups to prune per day offset
-----------------------------------------------------------------------------------------------------------
Removed <tmp> dir OK
-----------------------------------------------------------------------------------------------------------
Unlocked backup OK
-----------------------------------------------------------------------------------------------------------
Segmentation fault
Then when I increased the block size to --block-size=20M it worked (from the GUI) and then it failed the first auto backup due to this:
error.log
2021-01-11T02:15:07 | Error code 131 at file signal.c, line 131 | Error description: some error was trapped SIGTERM (11) (11) while executing the job, error: No space left on device
xsibackup.log
Item number 2 in this job
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2021-01-11T02:15:07 | Error code 131 at file signal.c, line 131 | Error description: some error was trapped SIGTERM (11) (11) while executing the job, error: No space left on device
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SIGTERM (11) condition was trapped: check logs for more details
Which is weird because I have loads of spare space! So I tried running it manually again (I didn't touch anything else) using the GUI and it worked fine! The backup job is 5 VMs, 400GB.
Alex
Sorted. I should try reading first!
Hi,
When I try the --install-cron option I don't get the installing cron question, I get:
XSIBackup PID: 90046 vmware.xxxxxx.net
Thu, 25 Oct 2018 20:05:13 +0000 IPv4: 192.168.100.2/255.255.255.0
VMware ESXi 6.5.0 build-9298722 (c) Rsync 3.1.0 as opt. dependency
------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup Id: unknown Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
------------------------------------------------------------------------------------------------------------------------------------------------------------
Alert: crontab is not installed for user root
------------------------------------------------------------------------------------------------------------------------------------------------------------
sh: rsync: unknown operand
Backup user is: root
------------------------------------------------------------------------------------------------------------------------------------------------------------
The --backup-point string is a mandatory value
You have to set the variable --backup-type to some of the values described in the help
E-mail Warnings
------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-from string has not been set
The --smtp-srv string has not been set
The --smtp-port string has not been set
etc.
When I try the old version (10.3.4) it works fine.
Alex
Hi,
Where abouts can I send the file? I only see a text box on your main site.
Alex
UPDATE FROM ADMIN 2018-04-23 09:00:
We sent you an e-mail to your registered e-mail address, but the message bounced with a domain not found error.
Please, write to us through our webform: https://33hops.com/contact-form.html
It does not matter if it does not allow you to upload files, we'll reach you back from a regular e-mail address.
UPDATE FROM ADMIN 2018-04-23 09:46:
There is a small inconsistency in your log, which is: your VM name is WHM (in capital letters), while the directory where the files are stored seems to be lower case /vmfs/volumes/datastore1/whm/whm_0.vmdk. XSIBackup can handle this without issues, as it will look for the name of the disks in the .vmx file, but I would consider checking the VM structure, as it seems to have been renamed manually. That file is the key to know the cause of your issue, so please, send it to us to delve into your issue.
UPDATE FROM ADMIN 2018-04-23 09:57:
We keep on getting this error when writing to you:
'****x@d**f*.net' en 23/04/2018 9:57
Server error: '450 4.1.2 <****x@d**f*.net>: Recipient address rejected: Domain not found'
Please provide an alternative e-mail address (gmail.com, yahoo.com or similar would be the best)
I had an error this morning... it has been working great but at 0500 this morning I got an error in my email saying:
ERROR CLVMKFS1 details: [WHM] error: vmkfstools error details: Failed to clone disk: Not a directory (1310729).
It left a weird file in the /vmfs/volumes/QNAP/VMware (my NAS datastore) folder. Instead of there being a folder called "WHM" (my server name) it left a file "WHM" just 9kb big.
It then went to backup the remaining servers just fine, in folders. I tried running it from the command line and the backup completed fine. Any idea what caused this?
Alex
Here is part of the log:
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:21| [WHM] starting backup...
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:21| XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
2018-04-22T04:00:21| can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:21| Hot backup selected for VM: [WHM], will not be switched off
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:22| [WHM] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:22| Removing snapshots, please wait...
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:00:24| Syncronizing config files
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:01:18| Backing up virtual disks...
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:01:18| scsi0:0.fileName = "whm_0.vmdk"
---------------------------------------------------------------------------------------------------------------------------------
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/datastore1/whm/whm_0.vmdk'...
---------------------------------------------------------------------------------------------------------------------------------
2018-04-22T04:01:18| [WHM] CLVMKFS1 error: Failed to clone disk: Not a directory (1310729).
Pages: 1