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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2023-07-03 05:51:11

comansa
Member
Registered: 2021-03-15
Posts: 1

What's going on from this message -

¡Hi!
I'm trying to evaluate xsibackup as a tool for use at our company, trying to backup two virtual machines and one stopped, i get some error messages.

These are the virtual machines as reported by esxi-cli 6.0:

[root@comansa-esxi50:/vmfs/volumes/649016b3-f84bd0ca-4b3a-0c4de9b80892/XSI/XSIBackup-DC] vim-cmd vmsvc/getallvms
Vmid               Name                                                               File                                                                                   Guest OS                 Version   Annotation
1      Windows 7 x64 v3                   [datastore1] Windows 7 x64 v3/Windows 7 x64 v3.vmx                                  windows7_64Guest   vmx-11             
2      Windows 10 x64 GoodSync   [datastore1] Windows 10 x64 GoodSync/Windows 10 x64 GoodSync.vmx    windows9_64Guest   vmx-10             
5      Odoo v8 desarrollo                 [datastore1] Odoo v8 desarrollo/Odoo v8 desarrollo.vmx                                   ubuntu64Guest      vmx-11     

This is the command i issue to perform the backup of the powered on virtual machine named "Windows 10 x64 GoodSync" '/vmfs/volumes/JJ Sisko VMFS/VMs" I would like to understand what is wrong and how to overcome it.
Thanks in advance.


[root@comansa-esxi50:/vmfs/volumes/649016b3-f84bd0ca-4b3a-0c4de9b80892/XSI/XSIBackup-DC]  ./xsibackup --backup "/vmfs/volumes/datastore1/Windows 10 x64 GoodSync" '/vmfs/volumes/JJ Sisko VMFS/VMs'

And this is the answer of xsibackup
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 1.7.0.2: 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 0 Minor 0 Patch 0
-------------------------------------------------------------------------------------------------------------
Shell binary pool memory size: 2048 MB
-------------------------------------------------------------------------------------------------------------
Shell memory pool size was set to 2048 MB by default
-------------------------------------------------------------------------------------------------------------
Total available memory: 11 MB (~1GB is always kept as a security margin)
-------------------------------------------------------------------------------------------------------------
License: unlicensed trial version, remaining trial time: 26:20:15 | (c)XSIBackup-Free
-------------------------------------------------------------------------------------------------------------
PID: 743015, Running job as: root
-------------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-------------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-------------------------------------------------------------------------------------------------------------
Raw dir: /vmfs/volumes/649016af-c57182e2-0906-0c4de9b80892/Windows 10 x64 GoodSync
-------------------------------------------------------------------------------------------------------------
Performing --backup action
-------------------------------------------------------------------------------------------------------------
Backup folder '/vmfs/volumes/JJ Sisko VMFS/VMs/20230630093945'
-------------------------------------------------------------------------------------------------------------
Obtaining .blocklog data from backup repo...
-------------------------------------------------------------------------------------------------------------
|   2023-06-30T09:39:47 | Error code 4532 at file common.c, line 4532 | Error description:                  |
|   no .blocklog file at '/vmfs/volumes/JJ Sisko VMFS/VMs/data/.blocklog'
run ./xsibackup --repair '/vm     |
|   fs/volumes/JJ Sisko VMFS/VMs'                                                                           |
-------------------------------------------------------------------------------------------------------------
|   2023-06-30T09:39:50 | Error code 4588 at file common.c, line 4588 | Error description:                  |
|   no local '/vmfs/volumes/649016b3-f84bd0ca-4b3a-0c4de9b80892/XSI/XSIBackup-DC/tmp/xsi-root/743015/.bl    |
|   ocklog' file after 30s timeout 

When trying with the powered off virtual machine named "Windows 7 x64 v3"
[root@comansa-esxi50:/vmfs/volumes/649016b3-f84bd0ca-4b3a-0c4de9b80892/XSI/XSIBackup-DC]  ./xsibackup --backup "/vmfs/volumes/datastore1/Windows 7 x64 v3" '/vmfs/volumes/JJ Sisko VMFS/VMs'

I get these answer from XsiBackup
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 1.7.0.2: 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 0 Minor 0 Patch 0
-------------------------------------------------------------------------------------------------------------
Shell binary pool memory size: 2048 MB
-------------------------------------------------------------------------------------------------------------
Shell memory pool size was set to 2048 MB by default
-------------------------------------------------------------------------------------------------------------
Total available memory: 11 MB (~1GB is always kept as a security margin)
-------------------------------------------------------------------------------------------------------------
License: unlicensed trial version, remaining trial time: 26:19:32 | (c)XSIBackup-Free
-------------------------------------------------------------------------------------------------------------
PID: 743150, Running job as: root
-------------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-------------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-------------------------------------------------------------------------------------------------------------
Raw dir: /vmfs/volumes/649016af-c57182e2-0906-0c4de9b80892/Windows 7 x64 v3
-------------------------------------------------------------------------------------------------------------
Performing --backup action
-------------------------------------------------------------------------------------------------------------
Backup folder '/vmfs/volumes/JJ Sisko VMFS/VMs/20230630094028'
-------------------------------------------------------------------------------------------------------------
Obtaining .blocklog data from backup repo...
-------------------------------------------------------------------------------------------------------------
|   2023-06-30T09:40:29 | Error code 4532 at file common.c, line 4532 | Error description:                  |
|   no .blocklog file at '/vmfs/volumes/JJ Sisko VMFS/VMs/data/.blocklog'
run ./xsibackup --repair '/vm     |
|   fs/volumes/JJ Sisko VMFS/VMs'                                                                           |
-------------------------------------------------------------------------------------------------------------
|   2023-06-30T09:40:33 | Error code 4588 at file common.c, line 4588 | Error description:                  |
|   no local '/vmfs/volumes/649016b3-f84bd0ca-4b3a-0c4de9b80892/XSI/XSIBackup-DC/tmp/xsi-root/743150/.bl    |
|   ocklog' file after 30s timeout                                                                          |
-------------------------------------------------------------------------------------------------------------

Offline

#2 2023-07-03 18:27:31

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

Re: What's going on from this message -

Your backup command is wrong:

./xsibackup --backup "/vmfs/volumes/datastore1/Windows 10 x64 GoodSync" '/vmfs/volumes/JJ Sisko VMFS/VMs'

We have developed two main lines of ©VMWare ©ESXi backup software in the last 10 years:

- ©XSIBackup-Classic: a solution based in bash scripts which is compatible with ©ESXi 5.1 to 6.7.0. This tool was deprecated years ago and is only offered -as is- for users of older ©ESXi versions.
Man page: https://33hops.com/xsibackup-help-man-page.html

- ©XSIBackup-DC (local service) & XSIBackup-App appliance: based in C + Assembly. It is a similar concept but it does not share the same commands with ©XSIBackup-Classic. It is compatible with ©ESXi servers from 5.1 to 8.0
Man page: https://33hops.com/xsibackup-dc-full-manual-home.html

There are big notices starting with an exclamation mark in orange in all posts covering ©XSIBackup-Classic to clearly state it is a deprecated product and that you should use ©XSIBackup-DC.

You seem to be mixxing things and using ©XSIBackup-Classic commands in ©XSIBackup-DC, which will obviously not work.

Try also not to mix double quotes with single quotes in paths and arguments and to avoid spaces in paths, VM names and specially in datastore names. ©XSIBackup-DC fully supports spaces in VMs, datastores and paths, but the chances that you hit some bug grow exponentially as you start to name things in exotic ways.

The correct syntax to backup your VM named Windows 10 x64 GoodSync would be:

./xsibackup --backup "VMs(Windows 10 x64 GoodSync)" "/vmfs/volumes/JJ Sisko VMFS/VMs"

In any case please do read the manual before trying to run any command and notice that using local paths to backup VMs is way slower than using remote paths over IP/SSH.

Using some remote server a.b.c.d to store your backups would be much faster.

./xsibackup --backup "VMs(Windows 10 x64 GoodSync)" root@a.b.c.d:22:/home/backup/repositories/repo01

You need to previously link to that server by RSA key:

./xsibackup --add-key root@a.b.c.d:22

Please, also note that depending on if you need to backup just one standalone server or a number of them, it might be worth for you to use ©XSIBackup-App, which is an appliance that provides a centralized console to manage the backup of multiple servers:

https://sourceforge.net/projects/xsibackup-app/files/

©XSIBackup-App does share the same set of commands with ©XSIBackup-DC, it just adds a few additional ones to be able to connect and manage the ©ESXi servers you wish to manage and backup.

https://33hops.com/xsibackup-2-what-is-new.html

You should also read the change logs to find about new features as we launch new versions:

©XSIBackup-DC: https://33hops.com/xsibackup-datacenter-change-log.html
©XSIBackup-App: https://33hops.com/xsibackup-app-change-log.html

Offline

Board footer