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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 General matters » Check integrity of backup » 2023-11-30 06:17:15

indieair
Replies: 1

Hi,

Is there any way we could check the integrity of the backup?

#2 Re: General matters » Segmentation fault when restoring over IP » 2023-10-18 05:32:14

Hi,

Thanks for the information.

We have found out that when we use the --rotate option in our backup, the blocks will be missing after the first rotation

Our command we used is

/scratch/XSI/XSIBackup-DC/xsibackup --backup "VMs(ALL)" user@remoteserver:22:/nas/xsibackup/all --rotate=4

After the 5th run which will perform a rotation by removing the oldest backup, the blocks will be missing.


Is there anyway we can rotate the backups safely?

#3 Re: General matters » Segmentation fault when restoring over IP » 2023-08-14 03:27:29

I tried to restore locally but also encountered can't find blocks in .map file.

Is there anyway to recover the data file? It is happening to all the current backups too

-------------------------------------------------------------------------------------------------------------
::: detail :::   0.75% done | block     612 out of   81920                                   | Done   0.75%
-------------------------------------------------------------------------------------------------------------
|   2023-08-14T11:23:20 | Error code 786 at file restore.c, line 786 | Error description:                   |
|   can't find block d4c8763c5674fcc53c3e75e23d86ac300842befe at pos 612 in .map file /nas/xsibackup/   |
|   /weekly/20230813150012/VM1/VM1.vmdk.map                                      |
-------------------------------------------------------------------------------------------------------------
::: detail :::   0.75% done | block     613 out of   81920                                   | Done   0.75%
-------------------------------------------------------------------------------------------------------------
|   2023-08-14T11:23:20 | Error code 786 at file restore.c, line 786 | Error description:                   |
|   can't find block db8758149ed7596e747da384e2b785a64105378f at pos 613 in .map file /nas/xsibackup/    |
|   /weekly/20230813150012/VM1/VM1.vmdk.map                                      |
-------------------------------------------------------------------------------------------------------------
::: detail :::   0.75% done | block     614 out of   81920                                   | Done   0.75%
-------------------------------------------------------------------------------------------------------------

#4 Re: General matters » Segmentation fault when restoring over IP » 2023-08-03 10:34:20

Thanks for the response.

I tried to check and realise there are many missing blocks. Does it means that the backup was corrupted to begin with?

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 1.7.0.5: 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
-------------------------------------------------------------------------------------------------------------
PID: 709, Running job as: root
-------------------------------------------------------------------------------------------------------------
Repository Check: 16 files
-------------------------------------------------------------------------------------------------------------
Check type is file (only block existence is checked)
-------------------------------------------------------------------------------------------------------------
    NUMBER                                                 FILE        SIZE     PROGRESS   GENERAL   MISSED
-------------------------------------------------------------------------------------------------------------
     1/16	                                 k8-022.vmx.map     3.09 KB   |  100.00%     0.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:49 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     2/16	                           k8-022-flat.vmdk.map    30.00 GB   |  100.00%    99.99%    23562   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     3/16	                                k8-022.vmdk.map   526.00 B    |  100.00%    99.99%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     4/16	                                k8-022.vmsd.map    44.00 B    |  100.00%    99.99%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     5/16	                               vmware-2.log.map   247.06 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     6/16	                               k8-022.nvram.map     8.48 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     7/16	                       k8-022-f30c9564.hlog.map    53.00 B    |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     8/16	                               vmware-1.log.map   263.34 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
     9/16	                                k8-022.vmxf.map    47.00 B    |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    10/16	                               vmware-4.log.map   235.80 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    11/16	                               vmware-3.log.map   303.02 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    12/16	                                k8-022.vmx~.map     3.09 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    13/16	                                 vmware.log.map   718.80 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    14/16	                            k8-022.vmsd.tmp.map    44.00 B    |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    15/16	                             k8-022.vmx.tmp.map     3.09 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
    16/16	                     k8-022-Snapshot27.vmsn.map    27.80 KB   |  100.00%   100.00%        1   KO
-------------------------------------------------------------------------------------------------------------
|   2023-08-03T18:32:50 | Error code 3619 at file xsibackup.c, line 3619 | Error description:               |
|   there are missing blocks                                                                                |
-------------------------------------------------------------------------------------------------------------
Removed PID                   OK
-------------------------------------------------------------------------------------------------------------

#5 General matters » Segmentation fault when restoring over IP » 2023-08-02 16:08:50

indieair
Replies: 7

Hi,

We are trying to restore a backup over IP. However, we encountered Segmentation fault without any other error logs.

./xsibackup --restore root@backupserver:22:/nas/xsibackup/weekly/20230723150052/VM1/ /vmfs/volumes/datastore1/RESTORE

Tested with the latest binary

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 1.7.0.5: 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
-------------------------------------------------------------------------------------------------------------
Shell binary pool memory size: 2048 MB
-------------------------------------------------------------------------------------------------------------
Shell memory pool size was set to 2048 MB by default
-------------------------------------------------------------------------------------------------------------
Total available memory: 123856 MB (~1GB is always kept as a security margin)
-------------------------------------------------------------------------------------------------------------
Remote system: Linux
-------------------------------------------------------------------------------------------------------------
PID: 4846478, Running job as: root
-------------------------------------------------------------------------------------------------------------
File <xsib64> was updated at root@128.1.255.254:22:/home/root/.xsi/bin
-------------------------------------------------------------------------------------------------------------
File <xsibackup> was updated at root@128.1.255.254:22:/home/root/.xsi/bin
-------------------------------------------------------------------------------------------------------------
File <xsilib> was updated at root@128.1.255.254:22:/home/root/.xsi/bin
-------------------------------------------------------------------------------------------------------------
Restoring VM1 from 128.1.255.254
-------------------------------------------------------------------------------------------------------------
Found remote .xsitools file at: /nas/xsibackup/weekly/.xsitools
-------------------------------------------------------------------------------------------------------------
NUMBER	                                                                FILE            SIZE       PROGRESS
-------------------------------------------------------------------------------------------------------------
Segmentation fault

Tested with our licensed version

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-DC 1.5.2.1: 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
-------------------------------------------------------------------------------------------------------------
Shell binary pool memory size: 2048 MB
-------------------------------------------------------------------------------------------------------------
Total available memory: 123863 MB (~1GB is always kept as a security margin)
-------------------------------------------------------------------------------------------------------------
Remote system: Linux
-------------------------------------------------------------------------------------------------------------
PID: 4946927, Running job as: root
-------------------------------------------------------------------------------------------------------------
Restoring VM1 from 128.1.255.254
-------------------------------------------------------------------------------------------------------------
Found remote .xsitools file at: /nas/xsibackup/weekly/.xsitools
-------------------------------------------------------------------------------------------------------------
NUMBER	                                                                FILE            SIZE       PROGRESS
-------------------------------------------------------------------------------------------------------------
Segmentation fault

Please advise

Thanks

#6 Re: General matters » Backup hangs » 2022-07-25 01:51:57

The output is as follows,

-------------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-------------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-------------------------------------------------------------------------------------------------------------
Performing --backup action
-------------------------------------------------------------------------------------------------------------
Backup folder '/path/to/backup/20220722171324'
-------------------------------------------------------------------------------------------------------------
Item number 1 in this job
-------------------------------------------------------------------------------------------------------------
Available space in backup volume: 3043382603776 (2.83 TB)
-------------------------------------------------------------------------------------------------------------
vm-1 Hardware Version is: 14
-------------------------------------------------------------------------------------------------------------
Virtual Machine Name: vm-1
-------------------------------------------------------------------------------------------------------------
Creating snapshot VM : vm-1 (powered on)
-------------------------------------------------------------------------------------------------------------
*** Snapshot was successfully created ***
-------------------------------------------------------------------------------------------------------------
Virtual Machine: vm-1
-------------------------------------------------------------------------------------------------------------
Backup start date: 2022-07-22T17:13:35
-------------------------------------------------------------------------------------------------------------
2022-07-22 17:13:35 | Backing up 26 files, total size is 64.31 GB
-------------------------------------------------------------------------------------------------------------
    NUMBER	                                                   FILE             SIZE          PROGRESS
-------------------------------------------------------------------------------------------------------------
    1/26                                            vm-1.vmx          3.21 KB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
    2/26                                      vm-1-flat.vmdk         60.00 GB    | Done   0.00%
-------------------------------------------------------------------------------------------------------------
::: detail ::: 100.00% done | block 61440 out of 61440                                      | Done  93.30%
-------------------------------------------------------------------------------------------------------------
    3/26                                           vm-1.vmdk        510.00 B     | Done  93.30%
-------------------------------------------------------------------------------------------------------------
    4/26                                           vm-1.vmsd          1.60 KB    | Done  93.30%
-------------------------------------------------------------------------------------------------------------
    5/26	                  vmx-vm-1-2577965230-1.vswp                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
    6/26	                                vm-1.vmx.lck                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
    7/26	                  vmx-vm-1-2577965230-2.vswp                 [skipped excluded]
-------------------------------------------------------------------------------------------------------------
    8/26                                                   vmware-1.log        279.85 KB    | Done  93.30%
-------------------------------------------------------------------------------------------------------------

The progress gets stuck at 93.30%

and recently, the backup just stops at the initialising

-------------------------------------------------------------------------------------------------------------
LZJB compression has been enabled
-------------------------------------------------------------------------------------------------------------
Block size is 1.00 MB (1048576 bytes)
-------------------------------------------------------------------------------------------------------------

#7 General matters » Backup hangs » 2022-07-22 16:25:38

indieair
Replies: 4

We are performing backup over IP and when we use the "VMs(ALL)" parameters, it backs up successfully.

However, when we change the param to selected few VMs, the backup hangs at the first VM at around 85%.

The command we are using is

/scratch/XSI/XSIBackup-DC/xsibackup --backup "VMs(vm-1, vm-2, vm-3, vm-4, vm-5)" user@remote-server:22:/path/to/backup/vm/ --rotate=5

#9 Re: General matters » Segmentation fault with restoring VM over IP » 2022-03-30 12:02:54

My apologies, missed out on your question.

We are using CentOS 7 in the remote system

#10 Re: General matters » Segmentation fault with restoring VM over IP » 2022-03-29 04:45:50

I'm using version 1.5.1.11.

I've tried with root user and got this error when restoring. There were no issues with the backup

NUMBER	                                                                FILE            SIZE       PROGRESS
-------------------------------------------------------------------------------------------------------------
2022-03-29T04:41:26 | Error code 226 at file restore.c, line 226 | Error description: can't read file name from SSH tunnel

#11 General matters » Segmentation fault with restoring VM over IP » 2022-03-28 17:30:08

indieair
Replies: 7

Backup over IP does not have any issue. However, when I tried to do a restoration with the backup folder, it return Segmentation fault in the console.

/scratch/XSI/XSIBackup-DC/xsibackup --restore xsibackup@host:22:/xsibackup/host/20220328165750/VM1 /vmfs/volumes/datastore1/restore
NUMBER	                                                                FILE            SIZE       PROGRESS
-------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------
SIGTERM (11) condition was trapped: check logs for more details
-------------------------------------------------------------------------------------------------------------
Cleaning up...
-------------------------------------------------------------------------------------------------------------
Segmentation fault

There is no other errors in the logs too.

Thanks

#12 Re: General matters » --rotate with backup over IP » 2022-03-11 10:45:09

Let's say we went with the --backup over IP option. Does --rotate parameter works with backup over IP?

#13 Re: General matters » --rotate with backup over IP » 2022-03-10 01:57:22

The backup on the remote server would be NAS storage and the VM would not be switched on unless restored to the source server.

Is replica still applicable in this case?

#14 General matters » --rotate with backup over IP » 2022-03-09 09:36:58

indieair
Replies: 5

Does --rotate parameters work with backup over IP?

From what I understand, when backup is done over IP, it will create a folder with a timestamp and backup into the folder.
However, I've tested --rotate=1 or --rotate=1D but the old backups does not get removed.

Our aim is to backup over IP and to remove the old backup folder everytime a new backup is being executed.

Please advise if this is possible

Thank you

Board footer