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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#301 Re: General matters » has it updated crontab? (solved) » 2021-09-01 12:11:19

Well, that syntax is not under discussion. Maybe you need to know why and which of the "AND" expressions is failing.
[b][url=https://unix.stackexchange.com/questions/24684/confusing-use-of-and-operators]Interesting post on the use of && and ||[/url][/b]

#302 Re: General matters » XSIbackup-DC 1.5.0.14: questions on performance » 2021-08-29 12:04:13

Thank you for your feedback.

As per current design, a local datastore, and that can be some NFS/iSCSI volume, is considered a local FS, with all its consequences, being the most important one that latency in general (disk+network) iwill be considered to be that of some local device.

Depending on your network hardware and your real scenario, that network latency added to I/O operations can sum up and reduce your effective I/O speed as you describe, as the backup behaviour is synchronous for local backups.

This does not affect replicas, as they are performed in a totally different way: replicas write some file's data to the same remote file, there aren't any seek times or file creation times associated to I/O as there's only a block to write to, namely: the VHD file.

The way to improve speed if you need more is to perform the --backup action over IP or to reduce the datastore access latency by using a locally attached device (some local hard disk).

The best target for some over IP backup is a Linux FS. Devices like Synology or QNap are great for novices, or if you need some easy to configure NAS, still, they won't allow you to configure them as a Linux box would do. They are propietary environments and they seem to have the will to become even more propietary in the future.

We offer an easy to deploy virtual appliance that you can use to configure some backup VM over virtual disks:
[url=https://sourceforge.net/projects/xsibackup-nas/files/](c)XSIBackup-NAS[/url]

Or you can use any distro of your choice. CentOS or Debian are the best choices for us.

In regards to adding local storage attached to a local controller: as you probably already know VMFS-6 is not a good FS to store deduplicated backups, primarily because it's slow, it wasn't designed for speed. Thus you need some XFS or ext4 FS to store the backups.

A good way to have a local disk with some XFS or ext4 file system is to create some locally attached RDM disk with [b]vmkfstools[/b]

vmkfstools -z /vmfs/devices/disks/t10.ATA_____ST500DM0000022DD142__________________________________
_W2APL5M4 /vmfs/volumes/datastore1/MY-LINUX-VM/RDM01.vmdk

Add it to the Linux virtual machine.

Then format it as XFS or ext4 from the Linux VM, this will allow you to access some locally attached disk that you can mount as NFS or access via IP from within the local IP space of the (c)ESXi host, with almost no latency and 10GB virtual NICs.

We will write a post on how to prepare such device in some days.

#303 Re: General matters » XSIbackup-DC 1.5.0.14: error code 1223 but backup goes on? » 2021-08-28 16:51:11

Check the Windows task manager log. You might have some DB server that requires quiescing inside that VM.
Yes, snapshots are absolutely crucial to creating a backup, without a snapshot there can't be a backup.

#304 Re: General matters » XSIbackup-DC 1.5.0.14: cannot backup at datastore root » 2021-08-28 16:48:22

In regards to these errors:

2021-08-27T18:53:30 | Error code 1474 at file common.c, line 1474 | Error description: error running command, returned: 127
-------------------------------------------------------------------------------------------------------------
2021-08-27T18:53:30 | Error code 1499 at file common.c, line 1499 | Error description: could not get remote FS available space at /vmfs/volumes/nfsdatastore/Test, details: No such file or directory
-------------------------------------------------------------------------------------------------------------
Available space in backup volume:           -1 (17179.87 PB)

They can happen when backing up to some ESXi builds that come with a somewhat broken OpenSSL implementation. We have removed that dependency in version 1.5.1.0 so that compatibility is extended to almost any build of ESXi and Linux.

Regarding the creation of repositories in the root of a volume: NO, don't do that.
Leaving aside all considerations regarding less experienced users, which count and do count a lot, assuming that you are a really experienced sysadmin: why would you want to do that?, what is the advantage of doing so?:
What if tomorrow you want to create another repository in that volume?
What if you need to add some replicas to the volume?

Through the years we have seen all kind of situations in which people were creating nested repositories, copying replicas inside repository folders etc..., we got to the conclusion that we had some responsability in helping users to maintain some minimum order. Preventing weird things from happening is part of that responsability.

#305 Re: General matters » Speed shown in report email is calculated wrong » 2021-08-27 17:03:40

Well, it's a convention.

When you move a 1 GB file that contains 300MB: Windows, Linux and any other OS or software running on them will inform of the speed relative to the file size. If they only counted the buffer blocks that would contain some non-zero value, the speed would be slower. If they only counted the FS blocks that contained non-zero data the speed would be even slower, still the time taken to achieve the transfer would be the same.

So, if the convention is to calculate figures on the nominal file size, why would we do something different?
If on top of that we would offer a psicological poorer result, wouldn't it be some sort of masochism?

#306 Re: General matters » Renamed VMs » 2021-08-27 09:43:19

Yes, we know that. It's due to the fact that up until some point in the job, the folder name is used versus the VM name at some other points. We will fix this behaviour.

Still, until we do (this does not affect the backups) try to rename things to keep a coherent naming convention: i.e. if your VM is named MY-VM, name the folder where it resides as MY-VM too, as well as the VHD files.

#307 Re: General matters » XSIBackup-DC achievable speed » 2021-08-27 09:33:58

We constantly mention our reference set of hardware in our lab. It's nothing but commodity hardware:

- i3/i5/i7 CPUs, most of them are fairly old > 5 years.
- NAS: Synology and Linux (CentOS & Ubuntu).
- Switches: Microtik
- NICs: Intel, from multiple port server NICs to cheap Intel desktop ones.
- HDs & SSDs: we have tried a wide variety of HDs and SSDs. The ones that we use the most are Seagate from 1 TB to 4TB, we use Ironwolf with a bigger cahe for the Synology and Linux NAS appliances.

With the above mentioned hardware you should expect speeds ranging from 70MB/s when backing up over IP on a Gigabit NIC to over 100MB/s on local disk to disk transfers. Those figures are for non zero data, i.e.: some disk which is 100% full.

We use cheap controllers, you should expect an increase in speed when you use some array controller mounting some cache. In fact enabling cache in this type of controllers is a must.

Now the main thing to take on account is that if you choose just one thing wrongly, you will set a bottleneck and limit the whole set's speed. Per instance, if you use some cheap gigabit switch from one of those brands that we sometimes use for non critical things and work like a charm in those cases, you will get extremely poor results <20MB/s

If you coose some cheap NIC, I won't mention brands, you're done.

The key is the network hardware, you can't save on that. Still, you have really good stuff at bargain prices, we are pointing you to what works for us, still every master has his small book of secrets.

Another very important thing is the use of SSD as cache. (c)ESXi allows to add SSDs as cache for HDs, do it.

We'll dedicate some time to write some posts on how to build the "perfect" NAS device to store backups for under 100.00EUR/USD
It will obviously imply using Linux HDs + SSDs in a cache configuration optimized for writes.

#308 Re: General matters » Speed shown in report email is calculated wrong » 2021-08-27 09:19:51

The speed is calculated on the nominal size of the files, like every other piece of software.

#309 Re: General matters » var/log/backupdb.log format ? » 2021-08-26 18:56:28

This is the info you requested:

[url=https://33hops.com/xsibackup-operations-database-registry.html]Operations database log[/url]

Sorry about the delay.

#310 Re: General matters » Error while creating initial backup on locally mounted NFS storage » 2021-08-26 16:47:21

Your NFS volume seems to have disconnected somehow. You need a stable remote FS to perform backups.
If your datastore is not reliable there's nothing any software can do to help that.
Revise cables, NFS parameters, perform some big file copy and check its integrity...

Also, please, do make sure that you store deduplicated backups to repositories in subfolders, never use the root of any FS or volume as the repository root.

#311 Re: General matters » Disk full notification » 2021-08-26 16:46:11

We will add more useful info in the e-mail report in next releases.

#312 Re: Repositories » Delete unmapped blocks » 2021-08-26 16:44:52

That's not how you make room in a deduplicated repository. You have to use the --prune action:

./xsibackup --prune /vmfs/volumes/backup/some-repository/20210330100333

Now that you deleted the .map files, there is no way to know which blocks are exclusive to your new set. Start a new repo.

#313 Re: General matters » Backups fail with Error code 1223 or 4574 » 2021-08-23 12:28:18

Thank you for your feedback, we are are sure It will be helpful to others.
What you have described is the tipicall issue regarding Windows quiescing.
Most probably some service was hanged and the reboot fixed It.

#314 (c)XSIBackup-Pro & DC bug tracker » CBT feature not working on VMs with distributed disks » 2021-08-20 10:26:20

admin
Replies: 0

VMs that have disks distributed among different datastores or folders can't take advantage of CBT implementation. This has been solved and the fix/improvement will be released in 1.5.1.0

#315 Re: General matters » Backup fails - Error code 3923 can't access device /dev/disks/UUID » 2021-08-18 11:08:00

Thank you for your feedback. You can safely use that version, it contains a tweak in comparison to 1.5.0.13 and will become 1.5.0.14 as we eventually add some additional tweak or fix.

#316 Re: Feature requests & improvements » Add smart info (like XSI Backup Pro) » 2021-08-17 14:16:46

Yes, you are right. We have already scheduled that feature, still it's not that easy as to impede replication depending on the SMART status, as it's for the main part an statistical analisys matter.

We could add some more flags so that the user can decide at which point to start considering a disk as faulty, still we still have a long way to go improving the main features of (c)XSIBackup, namely: produce backups and replicas, do it faster and more reliably, specially in doing it faster.

#317 Re: General matters » Backup fails - Error code 3923 can't access device /dev/disks/UUID » 2021-08-17 11:04:36

Your output is normal.

You are running (c)XSIBackup from a datastore named "ESXi" which is a reserved word to (c)XSIBackup.
Please, install to the recommended location (/scratch/XSI/XSIBackup-DC) and try again, just to clear some variables.

Although that should not cause any problem, there's a possibility that the keyword is causing some conflict in some inner algorithm, we'll dedicate some time to revise disk selection algorithms.

Also, check that we have tested the (c)ESXi version you want to install to before doing it.
[url]https://33hops.com/xsibackup-vmware-esxi-compatibility-list.html[/url]

UPDATE:

The above are just general considerations and a move to narrow the problem down.
Please, provide the output of the commands:

vim-cmd vmsvc/getallvms
vmware -v

So that we can try to reproduce your issue as closely as possible. The purpose of [b]vim-cmd vmsvc/getallvms[/b] is to retrieve the DS name your VM is sitting at.
If you don't want to publish your real output here, please mask it down and send the real one to our support department.
If it is due to some bug we will release a quick fix

Please download latest version and let us know if that fixed your issue.

#318 Re: General matters » Backups fail with Error code 1223 or 4574 » 2021-08-17 08:51:44

We will do so.

You have a missing "\" in the line before the last in your job.
We'll check the error count issue, it most probably has to do with the count base.

#319 Re: General matters » Backup fails - Error code 3923 can't access device /dev/disks/UUID » 2021-08-17 08:48:02

Please provide the output of this two commands:

ls -la /vmfs/volumes/
esxcli storage vmfs extent list

#320 Re: General matters » Backups fail with Error code 1223 or 4574 » 2021-08-16 18:35:37

The heading of our answer was a generic notice on Classic versions. Still, the same applies to DC. (c)XSIBackup does not produce the snapshot on its own, it is indeed the snapshot subsystem of (c)ESXi that does.

This is a common question regarding quiescing DB systems. We have prepared a specific post on that matter with links to resources. You do need to configure your Windows guests to allow quiescing the DB server.

[url=https://33hops.com/troubleshooting-windows-snapshots-in-esxi.html]Quiescing Windows OSs[/url]

As stated, quiescing a database server is not something you can achieve by just appending --quiesce to the job, it requires that the guest is previously prepared to be able to complete the quiescing flawlesly.

Each version of SQL Server may differ in the way quiescing is achieved, although it will generally imply installing and configuring general VSS services and other especific to SQL Server VSS.

#321 Re: General matters » Backups fail with Error code 1223 or 4574 » 2021-08-16 14:30:01

The error has little to do with (c)XSIBackup. It requested (c)ESXi to snapshot the guests OSs and they replied with an error.

Quiescing an OS that is running a DB server, especially if it is MS SQL server on Windows is not a trivial task. You need to properly configure all required services in the GUEST OS to be able to achieve that goal.

Make sure that you have (c)VMWare Tools installed, then inspect the Windows Event Viewer in search of the exact error that was raised by Windows when (c)ESXi requested the snapshot to be taken. It is most probably related to some auxiliary service not being active or installed.

You can start here for an aoverview of the subject: [url=https://33hops.com/troubleshooting-windows-snapshots-in-esxi.html]Quiescing Windows OSs[/url]

#322 Re: General matters » Could not find any backup below: Check that there is some .vmx file... » 2021-08-13 09:37:30

We cannot support manufacturer versions. DELL's is among the best that we have known of so far, still, they contain arbitrary changes with respect to the official VMWare build, thus, they cannot be considered to be the same build.

Some others that we have had the chance to use were an absolute catastrophe by modifying or even disabling some key features.

You can compare on your own by running the same set of commands in an official VMWare build. We will always make sure that all features work in these official builds.

This builds are said to be an optimization, there isn't any better optimization than being in the official VMWare compatibility list though, the thing is that they are just a commercial twist aimed at giving an advantage to the same manufacturer's solutions versus more general ones, that includes paid support.

#323 Re: General matters » Backup problems, SSH not connecting after power outage - Solved » 2021-08-12 09:29:57

Thank you for sharing. (c)VMWare has recently made the SSH protocol not persistent across reboots starting in latest versions of the (c)ESXi 6.7 branch. We have published a post on how to keep SSH open after a reboot: [url=https://33hops.com/how-to-keep-your-vmware-esxi-ssh-service-up.html]Keeping the SSH protocol open in an (c)ESXi host[/url]

As far as we are concerned the keys in the [b]authorized_keys[/b] file are still persistent, so you should not need to relink the two hosts.

Although keeping the SSH port open to the outside workd can represent a security breach, this is 99% inverse proportional to the complexity of your password and 1% proportional to the possibility that a new critical bug in the OpenSSH stack if found. Of course it's disgusting to see hundreds of login attempts in your logs, thus keeping a good perimetral security is still fundamental.

Ironically the latest critical issues on (c)ESXi have come from the management agents and not the SSH protocol. Last critical issue on the SSH service happened years ago. The SSH protocol seems to be quite reliable in terms of security, take on account that it is the most widespread used server management protocol that exists, thus any issue is rapidly addressed, still we'll keep our fingers crossed.

#324 Re: General matters » Could not find any backup below: Check that there is some .vmx file... » 2021-08-12 09:23:11

We'll keep an eye on it. Still, we have sucessfully restored from your same Ubuntu version to your very same (c)ESXi build. We wonder where the issue could be, it looks like something trivial though.

Are you sure you are pressing the <Select> button once you are in the VM dir?. You can press <Select> even one level above, and the GUI will look for the .vmx file recursively. In case more than one .vmx file (VM) is present, a list will be shown for you to select from it.

#325 Re: General matters » Replica XSIBackup-DC versions » 2021-08-12 09:19:02

Thanks to you for using our software. Regards.

Board footer