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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#951 Re: General matters » Checking that cron backup has completed? » 2020-01-16 10:46:05

You posted to the wrong section (XSIBackup-DC), this is an XSIBackup-Pro or Free question.
There isn't any xsibackup-cron file any more, it was deprecated long ago.
[url=https://33hops.com/xsibackup-free-11-things-that-have-changed.html]Things that did change in (c)XSIBackup Classic 11[/url]

#952 Re: General matters » FIPS mode initialized » 2020-01-16 10:42:21

Great!, we'll evaluate the possibility to add that quiet flag to the inner subprocess so that you don't have to worry about that.
Let's hope that developers at OpenSSH take it easy from now on, they have run a kind of crazy in regards to some type of messages.

#953 Re: Repositories » Interrupted network copies » 2020-01-15 19:10:42

If you are backing up ([b]--backup[/b] action) across an unstable IP link you don't have to worry about the connection dropping. The [b]--backup[/b] action has been designed to be resilient under the most terrible circumstances. You won't be able to rely on the broken backup attempt (you should clean that folder from the remote repository), but next successful attempt will be O.K.

If you are using the [b]--replica[/b] action on a 200GB disk and your connection drops at 70% you should use Rsync instead or just use the [b]--backup[/b] action and then rebuild the VM on the target system, Rsync as well as [b]--backup[/b] action are more oriented towards reliability in unstable scenarios than [b](c)XSIBackup-DC[/b]'s [b]--replica[/b] method is.

We will improve [b](c)XSIBackup-DC[/b] as time passes and we will most probably add a retake broken transfer option from the previous block, but by now you need a reliable TCP link to transfer big files.

#954 Re: General matters » Trial testing error » 2020-01-15 18:56:38

The error says

Trial version allows backups and replicas during 6 h. after each reboot

"After each reboot" is not the same as "after installation". Reboot your ESXi host to try the software.

[b](c)XSIBackup-DC[/b] is indeed much faster than [b](c)XSIBackup-Free[/b] or [b](c)XSIBackup-Pro[/b] and it also uses smaller block sizes. Given th fact that VMFS has a limit of around 130.000 inodes, it's not very recommendable to use VMFS as the target of deduplicated repositories, which is where [b]--backup[/b] action will copy the data, so you should use some ext4 or XFS file system mounted over NFS to host deduplicated repositories. If you host them in VMFS you will most probably reach the inode limit and block your FS as soon as you perform some VM backups. It is nonetheless perfectly valid and recommendable to use the [b]--replica[/b] action to some ESXi VMFS datastore.

#955 Re: General matters » FIPS mode initialized » 2020-01-15 18:36:19

We just re-tested current trial version with no issue

|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Datacenter 1.1.0.3: 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
-----------------------------------------------------------------------------------------------------------
License: unlicensed trial version
-----------------------------------------------------------------------------------------------------------
SSH: Wed Jan 15 19:51:14 UTC 2020
-----------------------------------------------------------------------------------------------------------
Remote system: vmkernel
-----------------------------------------------------------------------------------------------------------
PID: 2099656, Running job as: root
-----------------------------------------------------------------------------------------------------------
(c)XSIBackup-Datacenter replicating data to /vmfs/volumes/backup4/DATACENTER-BACKUP-1M
-----------------------------------------------------------------------------------------------------------
New backup/replica: Ubuntu02 | folder
-----------------------------------------------------------------------------------------------------------
Backup start date: 2020-01-15 18:33:33
-----------------------------------------------------------------------------------------------------------
2020-01-15 18:33:33 | Backing up 7 files, total size is 35433495354
-----------------------------------------------------------------------------------------------------------
    NUMBER                                                         FILE            SIZE       PROGRESS
-----------------------------------------------------------------------------------------------------------
     1/7                                                  Ubuntu02.vmx         2.89 KB | Done   0.00%
-----------------------------------------------------------------------------------------------------------
     2/7                                            Ubuntu02-flat.vmdk        33.00 GB | Done   0.00%
-----------------------------------------------------------------------------------------------------------
     3/7                                                Ubuntu02.nvram         8.48 KB | Done 100.00%%
-----------------------------------------------------------------------------------------------------------
     4/7                                                 Ubuntu02.vmsd        45.00 B  | Done 100.00%
-----------------------------------------------------------------------------------------------------------
     5/7                                                 Ubuntu02.vmdk       496.00 B  | Done 100.00%
-----------------------------------------------------------------------------------------------------------
     6/7                                              Ubuntu02-aux.xml        13.00 B  | Done 100.00%
-----------------------------------------------------------------------------------------------------------
     7/7                                              Ubuntu02.vmx.tmp         2.89 KB | Done 100.00%
-----------------------------------------------------------------------------------------------------------
Total size:             33792 MB                                                        | Done 100.00%
-----------------------------------------------------------------------------------------------------------
Backup end date: 2020-01-15 18:34:09
-----------------------------------------------------------------------------------------------------------
Time taken:       36 sec.
-----------------------------------------------------------------------------------------------------------
Total time:       36 sec.
-----------------------------------------------------------------------------------------------------------
Full file speed:                                                                           938.67 mb/s
-----------------------------------------------------------------------------------------------------------
Real data speed:                                                                             1.01 mb/s
-----------------------------------------------------------------------------------------------------------
Item backup completed
-----------------------------------------------------------------------------------------------------------
Data processing completed successfully
-----------------------------------------------------------------------------------------------------------
Removed /tmp/xsi dir     OK
-----------------------------------------------------------------------------------------------------------
Unlocked backup          OK
-----------------------------------------------------------------------------------------------------------
SSH session was closed   OK
-----------------------------------------------------------------------------------------------------------
Removed PID              OK
-----------------------------------------------------------------------------------------------------------

Depending on the Linux distro you are using as a target, and most important: the OpenSSH version it incorporates, you may need to tweak some things. If you want to keep things easy, just use an ESXi host as a target and mount some Linux via NFS.

The abobe test was made to another ESXi server, we'll try to reproduce your error and reach you back.

UPDATE:

Well, your problem is simple, yet you will need to find out a way to silent your excesively verbose Linux system and we'll need to find a solution to pave your way as much as we can.

The thing is that [b](c)XSIBackup-DC[/b] probes your remote system to know what kind of system it's talking to. As your remote Linux OpenSSH server just can't keep its mouth shut even in the most intimate moments, it just spits the extremely annoying "FIPS mode initialized" message in a quite autistic manner, thus breaking the expected answer and making [b](c)XSIBackup-DC[/b] return an error.

We'll try to prevent this by keeping the SSH tunnel quiet in the probe and eventually release the fix as 1.1.0.4

Thank you for using [b](c)XSIBackup[/b]

#957 Re: © XSITools » XSIBackup with pruning sends warning » 2020-01-13 18:20:34

Pruning a deduplicated repo is something not trivial, so we turned the message into a warning.

#958 Re: General matters » Missing vdmk file .. cant start VM » 2020-01-13 18:17:33

That is weird, [b](c)XSIBackup-Pro[/b] is indeed compatible with spaces in VM names since a long time ago. On top of that any failure to transfer those files should get reflected in the log.

We'll perform extensive tests in ESXi 6.7.0 with spaces in names and try to find out what might be the cause.

Thank you for your feedback.

#959 Re: General matters » Problem performing a remote backup using xsitools » 2020-01-13 18:08:52

You have 20 key slots with your Pro license. Get the request.key file in your secondary hosts and upload them to get your license.key files for your secondary hosts. You may need to copy the file ./conf/err-imsgs manually. We'll fix that in next release so that it is automatically copied by the --host argument.

Contact support to request a quick fix if you are in a hurry, the fix is already available. Nevertheless copying the file manually will do it as well.

#960 Re: General matters » xsibackup removing snapshots? » 2020-01-13 17:54:45

The output you are posting contains some data mismatch which has in turn caused a (c)Onediff image to be reset. A hash mismatch is usually an advanced warning on silent data corruption, maybe some warn out disk.

[url=https://33hops.com/xsibackup-disk-checksum-verification-silent-corruption.html]Checksum verification and silent data corruption[/url]

The code

2019-11-20T08:34:20|  [VM1] info: deleting snapshot at [VM1_XSIBAK] Id 21...
2019-11-20T08:34:21|  [VM1] info: all snapshots removed

Is obviously referring to [b][VM1_XSIBAK] Id 21[/b] which is the mirror VM in the target system and has nothing to do with the snapshots on your primary data. That code indicates that the remote snapshot was deleted and the differential data has been integrated into the remote base disks.

In any case (c)Onediff prepares the VM to maintain a differential snapshot that holds the data in between backup cycles, so yes, you could have deleted some previous snapshots (that is coalesced the snapshot data into the base disks) in the original VM in preparation for the differential snapshot in case you would not know how (c)Onediff operates and you would have used it in a VM containing some previously stacked snapshots.

[url=https://33hops.com/xsibackup-pro-onediff.html]Onediff feture explained[/url]

#961 Re: General matters » Missing vdmk file .. cant start VM » 2020-01-11 12:27:34

Just as long as your [b]-flat.vmdk[/b] files are present you are safe.

Programs outputs can show any kind of error, segfault conditions, etc..., nonetheless what we have not found so far is some log trying to cheat you (just kidding). What we mean by that is that if you are shown this:

--------------------------------------------------------------------------------------------------------------------------------
Rsync file transfer (1st)
--------------------------------------------------------------------------------------------------------------------------------
From: /vmfs/volumes/datastore2/vps3024/ubuntu16 image.vmdk
To: /vmfs/volumes/datastore2/11000/20200110151948/vps3024tempdevserver/ubuntu16 image.vmdk
--------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
ubuntu16 image.vmdk
            558 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 655 bytes  received 35 bytes  1,380.00 bytes/sec
total size is 558  speedup is 0.81
--------------------------------------------------------------------------------------------------------------------------------

There are many more chances that you are wrong somehow than the log is lying.
Have you tried looking for that [b]ubuntu16 image.vmdk[/b] file in your remote disk?

find / -name "ubuntu16 image.vmdk"

Have you monitored the backup in real time to see if the file is actually being copied and some other process is deleting it afterwards?, that'd be our next step to solve the mistery.

You can't totally discard a broken disk either, but you would receive low level errors. Run a SMART test on the remote disk anyway, just to be sure.

#962 Re: General matters » --install-cron does not create the expected files, or any » 2020-01-09 17:02:25

The [b]xsibackup-cron[/b] file was deprecated in v. 11.0.0
The man page and our previous answer clearly state that [b]--update-cron[/b] creates the file [b]conf/root-crontab[/b]
Add regular cron schedules there and then run [b]--update-cron[/b] again so that those schedules are copied to the ESXi crontab.

i.e.:

Add this to the [b]/scratch/XSI/XSIBackup-Pro/conf/root-crontab[/b] file

0 2 * * * "/scratch/XSI/XSIBackup-Pro/jobs/001" > /dev/null 2>&1

#Run job 001 everyday at 02:00

Then run [b]--update-cron[/b] to copy that schedule to the ESXi crontab

# /scratch/XSI/XSIBackup-Pro/xsibackup --update-cron

(*) Get Pro and do it in the GUI. This redundant crontab is required due to ESXi's non persistent OS partition, the GUI abstracts you from having to deal with that.

#963 Re: General matters » 11.2.16 shows error but VMs appear OK » 2020-01-09 15:53:05

Edit the file [b]src/functions[/b] with vi and replace line 11

echo "$O"

by

echo -n "$O"

That should not affect error collection, but given the fact that different ESXi versions incorporate a wide variety of busybox components with a wide range of bahaviours, that "-n" will not hurt.

Given the fact that the "details" variable is not printed nor added to the ERR file unless it contains some value, it looks like something is not working as expected in your host. Reboot when you have the chance and retry. We will ad some additional code to double check that the variable printed in "details" is not empty.

#964 Re: General matters » --install-cron does not create the expected files, or any » 2020-01-08 17:57:52

The argument you are looking for is [b]--update-cron[/b]

From the Manpage at: [url]https://33hops.com/xsibackup-help-man-page.html#updatecron[/url]

[quote]
--update-cron (v. 11.0.1 and above)
Copies the active contents of the <user name>-crontab file to the corresponding ESXi crontab file at /var/spool/cron/crontabs/<user name>.

In almost every case we will be talking about the conf/root-crontab file copied to /var/spool/cron/crontabs/root. This command is also automatically executed when the host is rebooted.
[/quote]

Just use

./xsibackup --update-cron

The above command will create the [b]conf/root-crontab[/b], then just add your schedules there and run --update-cron again to have them copied to the ESXi crontab. You can also add your schedules to the ESXi crontab directly, but that will be lost upon a reboot. If you want your schedules to be persistent acros reboots use the [b]conf/root-crontab[/b]

#965 Re: General matters » xsibackup removing snapshots? » 2020-01-08 17:44:08

(c)XSIBackup just creates a snapshot on top of any previously existing one and then deletes that very same snapshot, it doesn't take any action in regards to any previously existing one.

Remove [b]--snapshot=includememory[/b], this just adds the memory state of the backup snapshot which is useless 99,99% of the times.

#966 Re: General matters » --install-cron does not create the expected files, or any » 2020-01-08 10:49:51

You most probably have a misconception on what the --install-cron argument does. What it does is to add a line to [b]/etc/rc.local.d/local.sh[/b] so that each time the ESXi host is rebooted the cron schedules are re-added to the ESXi crontab. This is necessary as the ESXi OS volume is not persistent, any changes added will be lost on every reboot. So, why do you expect this argument to create any file?

[url=https://33hops.com/xsibackup-cron-troubleshooting.html](c)XSIBackup Classic: troubleshooting the (c)ESXi cron[/url]

#967 Re: General matters » xsibackup removing snapshots? » 2020-01-08 10:40:37

Vmkfstools always consolidates snapshots into a unified base disk. If you want to preserve snapshots use some other backup program. This is plainly how Vmkfstools work, it creates a base disk from all the snapshots below the one you point Vmkfstools at. It's clearly stated in: [url]https://33hops.com/xsibackup-using-backup-programs.html[/url]

To preserve snapshots you may use [b]Onediff[/b] (this will create a replica, not a backup though), [b]XSIDiff[/b] or [b]Rsync[/b] (only over IP).

#968 Re: © XSITools » ERROR CLRSYNC1, XSIDiff 2.0.0.0 not licensed since update 11.2.15 » 2020-01-07 09:30:53

You will need to renew your keys to use 11.2.15 and above. Just contact support to allow your keys to be regenerated.

#969 Re: General matters » Can't run XSIBackup 11.2.14 or 11.2.15 on ESXi 5.1 » 2020-01-06 10:43:35

We have confirmed that some busybox components in ESXi 5.1 are not compatible with some newer releases. OpenSSL per instance outputs data in a different format. We'll try to work this around to offer a widely compatible version as 11.2.16, contact support if you need some help in the meanwhile.

UPDATE:

Seems there will be no problem to fix backward compatibility to ESXi 5.1, the fix will be available soon, as said, should you need some support in the meanwhile, contact us.

UPDATE:

The fix has already been published as 11.2.16

#970 Re: Feature requests & improvements » replica over IP? » 2020-01-06 09:39:44

Latest release is compatible with spaces in any place of the paths, just download and overwrite the xsibackup main binary.
We'll check that in the manual, it's probably some outdated information from some old release.

#971 Re: General matters » Can't run XSIBackup 11.2.14 or 11.2.15 on ESXi 5.1 » 2020-01-06 09:36:45

We will revise functionality in ESXi 5.1, nonetheless, as said, you may need to use some older release. The error you are getting is very gross, the main module is not able to find the [b]writeout[/b] function residing in the functions file, which is used all over xsibackup main module and the rest too.

The functions file is an include in the xsibackup main module, thus the only possibility that you get that error is that [b]src/functions[/b] is not found, way too weird unless we have hit some incompatibility with that ESXi build.

The easiest thing you can do is to use some older XSIBackup release which is known to work well on ESXi 5.1, like 11.1.10. We will try to keep backward compatibilty as much as possible, but 5.5 is the oldest ESXi release we are active and extensively testing new (c)XSIBackup-Pro releases.

Contact support to ask for an old release in case you don't have it.

#972 Re: Repositories » Prune do not work » 2020-01-05 12:20:57

Just keep different repositories.

#973 Re: Feature requests & improvements » replica over IP? » 2020-01-05 12:18:47

You are mising the remote user: user@IP:port:/path, it's all explained in the manual.

#974 Re: General matters » Initial Download Key Failure » 2020-01-05 12:16:36

Yes, that multiple IP issue may cause trouble with our sysems and also with CDNs. Sticky HTTP session behaviour is required when using mutiple gateways.

In any case the workaround is quite simple, download from a single IP gateway and install manually.

#975 Re: General matters » Can't run XSIBackup 11.2.14 or 11.2.15 on ESXi 5.1 » 2020-01-05 12:00:09

You are somehow missing the [b]src/functions[/b] file. Please, make sure that you have that file there. Make the whole src folder executable in case you don't get it to work.

Apart from that ESXi 5.1 will soon require to use some older (c)XSIBackup version and also OpenSSH and OpenSSL versions present in 5.1 are incompatible with newer releases.

Board footer