©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2024-02-14 22:35:07

smccloud
Member
Registered: 2017-06-28
Posts: 11

XSIBackup-App Issue

Hello,

I am evaluating XSIBackup-App because of an issue we had with VeeamZip in our environment.  I deployed the appliance and deployed XSIBackup on the first host I'm trying to backup, then I created a job to backup one VM, but it is not working.  I get the following error when I try to run the job.

2024-02-14T23:23:17 | Error code 5272 at file xsibackup.c, line 5272 | Error description: can't access device /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623
2024-02-14T23:23:17 | Error code 294 at file dedup-in.c, line 294 | Error description: can't open input file: /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623
2024-02-14T23:24:27 | Error code 5272 at file xsibackup.c, line 5272 | Error description: can't access device /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623
2024-02-14T23:24:27 | Error code 294 at file dedup-in.c, line 294 | Error description: can't open input file: /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623

Offline

#2 2024-02-15 06:59:22

admin
Administrator
Registered: 2017-04-21
Posts: 2,067

Re: XSIBackup-App Issue

You don't need to deploy anything on the hosts, just add them via the --add-host argument or use the GUI.
When you need support, please paste the full output (obfuscating your sensible data) so that we can have the details on your issue.
Starting to use XSIBackup-App

Are you using ESXI software RAID or any other user than root to connect to the hosts by any chance?

Offline

#3 2024-02-15 13:58:32

smccloud
Member
Registered: 2017-06-28
Posts: 11

Re: XSIBackup-App Issue

Not using ESXi software RAID.  The VMs are currently stored on an iSCSI LUN (will be moving to an NFS export in the future) and ESXi is either installed on a hardware RAID or a single disk.  Backups are going to a Synology NAS NFS export for testing, but once fully rolled out they will go to a combination of the Synology NAS used in testing and also some TrueNAS Core NFS exports.  I have been using the GUI for testing because it is easier for me to learn, but here is the full obfuscated command line run from one VM.

xsibackup --backup "VMs (speedtest)" /mnt/XSI/nfs/ESXCORPC/ --backup-host=192.168.250.3:22 --mail-to=smccloud@donotemail.com
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 2.1.0.7: 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: Linux, Kernel 3 Major 10 Minor 0 Patch 1160
-------------------------------------------------------------------------------------------------------------
License: unlicensed trial version, remaining trial time: 537:05:26 | (c)XSIBackup-Free
-------------------------------------------------------------------------------------------------------------
SSL Key path: /home/root/.xsi/xsibackup_id_rsa
-------------------------------------------------------------------------------------------------------------
PID: 2269, Running job as: root
-------------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-------------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-------------------------------------------------------------------------------------------------------------
Performing --backup action
-------------------------------------------------------------------------------------------------------------
Backup folder '/mnt/XSI/nfs/ESXCORPC/20240215145434'
-------------------------------------------------------------------------------------------------------------
Obtaining .blocklog data from backup repo...
-------------------------------------------------------------------------------------------------------------
Available space in backup volume: 13391403024384 (12.47 TB)
-------------------------------------------------------------------------------------------------------------
Item number 1 of 1 in this job
-------------------------------------------------------------------------------------------------------------
Removing all snapshots, please wait...
-------------------------------------------------------------------------------------------------------------
All snapshots removed for speedtest as per the --remove-all-snapshots argument
-------------------------------------------------------------------------------------------------------------
speedtest Hardware Version is: 19
-------------------------------------------------------------------------------------------------------------
Virtual Machine Name: speedtest
-------------------------------------------------------------------------------------------------------------
Creating snapshot VM: speedtest (Powered on)...
-------------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-------------------------------------------------------------------------------------------------------------
Backup folder: /mnt/XSI/nfs/ESXCORPC
-------------------------------------------------------------------------------------------------------------
Backup start date: 2024-02-15T14:54:41
-------------------------------------------------------------------------------------------------------------
Primary temp folder set to: /scratch/XSI/XSIBackup-DC/tmp/xsi-root/2269
-------------------------------------------------------------------------------------------------------------
2024-02-15 14:54:41 | Backing up 17 files, total size is 104.56 GB
-------------------------------------------------------------------------------------------------------------
    NUMBER                                                        FILE             SIZE          PROGRESS
-------------------------------------------------------------------------------------------------------------
    1/17                                        speedtest-5527155e.hlog        236.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
    2/17                                                  speedtest.vmx          3.24 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
|   2024-02-15T14:54:50 | Error code 5272 at file xsibackup.c, line 5272 | Error description:               |
|   can't access device /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e    |
|   843b66132386236323237396630623naa.6e843b66132386236323237396630623                                      |
-------------------------------------------------------------------------------------------------------------
    3/17                                            speedtest-flat.vmdk        100.00 GB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
|   2024-02-15T14:54:50 | Error code 294 at file dedup-in.c, line 294 | Error description:                  |
|   can't open input file: /mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa    |
|   .6e843b66132386236323237396630623naa.6e843b66132386236323237396630623                                   |
-------------------------------------------------------------------------------------------------------------
    4/17                                                 speedtest.vmdk        531.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
    5/17                                                 speedtest.vmsd        434.00 B     | Done   0.00%
-------------------------------------------------------------------------------------------------------------
    6/17          vmx-speedtest-c03d9a66d42b6ff2a36882600b...02c-1.vswp                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
    7/17                                              speedtest.vmx.lck                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
    8/17                                                 speedtest.vmx~          3.23 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
    9/17                                                     vmware.log         80.89 MB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
   10/17                                        speedtest-8cb46ea0.vswp                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   11/17                                                speedtest.nvram          8.48 KB    | Done   0.08%
-------------------------------------------------------------------------------------------------------------
   12/17                                             speedtest.vmsd.tmp         43.00 B     | Done   0.08%
-------------------------------------------------------------------------------------------------------------
   13/17                                              speedtest.vmx.tmp          3.23 KB    | Done   0.08%
-------------------------------------------------------------------------------------------------------------
   14/17                                                 speedtest.info        105.00 B     | Done   0.08%
-------------------------------------------------------------------------------------------------------------
   15/17                                       speedtest-Snapshot8.vmsn                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   16/17                                 speedtest-000001-sesparse.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
   17/17                                          speedtest-000001.vmdk                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
Total size:                                                                    100.08 GB    | Done 100.00%
-------------------------------------------------------------------------------------------------------------
Removing snapshot, please wait...
-------------------------------------------------------------------------------------------------------------
*** Snapshot was removed ***
-------------------------------------------------------------------------------------------------------------
Backup end date: 2024-02-15T14:55:04
-------------------------------------------------------------------------------------------------------------
Time taken: 00:00:23 (23 sec.)
-------------------------------------------------------------------------------------------------------------
Total time: 00:00:23 (23 sec.)
-------------------------------------------------------------------------------------------------------------
Full file speed:                                                                          4455.69 mb/s
-------------------------------------------------------------------------------------------------------------
Real data speed:                                                                             0.89 mb/s
-------------------------------------------------------------------------------------------------------------
Item backup completed with errors
-------------------------------------------------------------------------------------------------------------
Differential blocks were added to the .blocklog database
-------------------------------------------------------------------------------------------------------------
Some error/s were raised while backing up: VMs (speedtest), error count is: 2
-------------------------------------------------------------------------------------------------------------
Log file unmapped             OK
-------------------------------------------------------------------------------------------------------------
Sending e-mail to smccloud@donotemail.com through SMTP#1...
-------------------------------------------------------------------------------------------------------------
E-mail was sent               OK
-------------------------------------------------------------------------------------------------------------

Although I may have made a mistake with the path to write the backup when running on the ESXi host because it doesn't have that path.  But that shouldn't cause the error I'm seeing.

Last edited by smccloud (2024-02-15 14:06:09)

Offline

#4 2024-02-15 22:13:44

smccloud
Member
Registered: 2017-06-28
Posts: 11

Re: XSIBackup-App Issue

I have also noticed, that every time I see the error message, it skips the VMDK file.  Instead of looking in /mnt/XSI/srvs/192.168.250.3/dev/disks for the VMDK shouldn't it look in /mnt/XSI/srvs/192.168.250.3/vmfs/volumes/<datastore>/<VMName> ?

Offline

#5 2024-02-16 16:29:32

admin
Administrator
Registered: 2017-04-21
Posts: 2,067

Re: XSIBackup-App Issue

You have some errors in your job:

xsibackup --backup "VMs (speedtest)" /mnt/XSI/nfs/ESXCORPC/ --backup-host=192.168.250.3:22 --mail-to=smccloud@donotemail.com

1/ An spurious space between the VMs keyword and the parenthesis
2/ You are missing the username in the --backup-host argument.

Your job should read:

xsibackup --backup "VMs(speedtest)" /mnt/XSI/nfs/ESXCORPC/ --backup-host=root@192.168.250.3:22 --mail-to=smccloud@donotemail.com

©XSIBackup reads data directly from the SCSI disks thus the path is correct, it must read:

/mnt/XSI/srvs/192.168.250.3/dev/disks

Your problem is that somehow your LUN is returning the disk three times and ©XSIBackup is concatenating it producing an inexistent file.

/mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623

We can consider this to be a bug and we will be fixing it this weekend.

Offline

#6 2024-02-16 16:35:20

smccloud
Member
Registered: 2017-06-28
Posts: 11

Re: XSIBackup-App Issue

admin wrote:

You have some errors in your job:

xsibackup --backup "VMs (speedtest)" /mnt/XSI/nfs/ESXCORPC/ --backup-host=192.168.250.3:22 --mail-to=smccloud@donotemail.com

1/ An spurious space between the VMs keyword and the parenthesis
2/ You are missing the username in the --backup-host argument.

Your job should read:

xsibackup --backup "VMs(speedtest)" /mnt/XSI/nfs/ESXCORPC/ --backup-host=root@192.168.250.3:22 --mail-to=smccloud@donotemail.com

©XSIBackup reads data directly from the SCSI disks thus the path is correct, it must read:

/mnt/XSI/srvs/192.168.250.3/dev/disks

Your problem is that somehow your LUN is returning the disk three times and ©XSIBackup is concatenating it producing an inexistent file.

/mnt/XSI/srvs/192.168.250.3/dev/disks/naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623naa.6e843b66132386236323237396630623

We can consider this to be a bug and we will be fixing it this weekend.

Gotta love typos on my part.  As for the bug fix, how do I pull the update for the appliance when I'm using the trial?  Do I need to redownload the appliance?

Offline

#7 2024-02-16 18:09:07

admin
Administrator
Registered: 2017-04-21
Posts: 2,067

Re: XSIBackup-App Issue

Yes, if you are a user of the trial you need to redownload. You may extract the xsibackup binary from the new version and overwrite yours at: /home/root/.xsi/xsibackup and also at /home/root/.xsi/bin/xsibackup

Offline

#8 2024-02-16 18:12:44

admin
Administrator
Registered: 2017-04-21
Posts: 2,067

Re: XSIBackup-App Issue

We sent you a new binary by e-mail ;-)
Please try it out and let us know whether this fixed your issue.

Offline

#9 2024-02-16 19:08:44

smccloud
Member
Registered: 2017-06-28
Posts: 11

Re: XSIBackup-App Issue

admin wrote:

We sent you a new binary by e-mail ;-)
Please try it out and let us know whether this fixed your issue.

It is working.  Thank you.

Offline

Board footer