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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2023-12-13 09:49:58

Ste6202
Member
Registered: 2023-05-20
Posts: 9

--check clarifications

HI

Since yesterday I have been doing some tests with the "check" command on a small VM of those in production
The purpose is to check removable disks after copying backups from NAS

The backup I'm testing on was generated via "replication" and ran tonight

What happens is that:

1) there is a fix to the .vmdk file (around 30% of the check)
2) all 3 options ( file, fast and full ) perform the reconstruction of the file

I mounted the backup copy of the VM and it boots fine

I do the check from the Linux NAS server using commands (fast, file, full)

/home/root/.xsi/bin/xsibackup --check=fast /Backup/backup_esxi_no_rdx/1/esxi20/W10-VM_05/
/home/root/.xsi/bin/xsibackup --check=file /Backup/backup_esxi_no_rdx/1/esxi20/W10-VM_05/
/home/root/.xsi/bin/xsibackup --check=full /Backup/backup_esxi_no_rdx/1/esxi20/W10-VM_05/

The version is

/home/root/.xsi/bin/xsibackup --version
1.7.1.2

To be sure of point 2, I saved and restored the blocklog file that is regenerated and restored it before rerunning the "check"

cp W10-VM_05-flat.vmdk.blocklog.orig W10-VM_05-flat.vmdk.blocklog

The report is as follows
13/30 W10-VM_05-flat.vmdk 100.00 GB | 100.00% 100.00% 20 RE

The questions are:

1) why is there a correction to the blocklog file on backups? Could it depend on the different version?
2) Shouldn't the 3 options of the check command work differently? That is, only FULL should regenerate the blocklog if I understand correctly

I found no examples for the "check" command. Did I do something wrong?

NOTE 1: I made a diff between the files and the only differences are on the 20 lines as per the report.
        So I think it doesn't depend on the version otherwise I would have found practically all the checksum lines different
NOTE 2: Checking yesterday's copy of the same backup gave +2000 corrections

I'm trying to check all the other backups.....


Thank you
Stefano


------------------------------------------------

xsibackup \
--replica \
"VMs(W10-VM_05)" \
"root@192.168.0.217:22:/Backup/backup_esxi_no_rdx/$(( $(( $(date +%s)/86400 )) % 2 ))/esxi20" \
--compression="no" \
--use-smtp="2" \
--mail-to="xxxxxxxx@lostudiocommerciale.it" \
--description="W10-WM_05" \
>> /scratch/XSI/XSIBackup-DC/var/log/xsibackup.log 2>&1

Offline

#2 2023-12-20 19:49:29

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

Re: --check clarifications

FULL will uncompress the block and check the hash of the contents against the block name, which should match. It's obviously much slower.

Offline

#3 2023-12-22 07:51:02

Ste6202
Member
Registered: 2023-05-20
Posts: 9

Re: --check clarifications

HI

Thanks for the reply

What happens to me is that the 2 options (file and fast) do the same thing as the FULL option
They also fix several checksums....

Thank you
HI
Stefano

A courtesy: could you correct the login on the forum? My real email is too long (xxxxxxxxx@xxxxxxxxxxxxxxxxxxx.xx) and I need to use a different account

Offline

Board footer