You are not logged in.
We aren't really getting the details of what your issue is. Please contact support (see the e-mail in your welcome e-mail, we don't publish e-mail addresses here) to receive personalized support on your issue. Some remote SSH access could be required.
You see that message when some remote replica performed via --backup-prog=Onediff is switched on. When you do so, you modify the seed that the Onediff differential algorithm created on the previous run and a new full replica must be completed to ensure that both ends are identical.
To avoid that from happening and allow Onediff to just add the instant differential data, just don't switch on the remote end replica in between Onediff cycles.
We believe you own a Pro license. Then why don't you generate your license.key and install it to the root of your installation dir?.
Login to your user area and upload your request.key file (from the same installation root dir), then download the license.key once it is generated and follow the instructions in the key manager zone.
If you are trying to expose that that message should not be thrown because the VM is 8 GB then you are not using Pro but Free edition.
Apart from that, using Onediff to backup an 8GB VM is counter productive, as it will probably take less to perform a full backup by using vmkfstools or XSITools than to risk exchanging a differential snapshot, especially since you don't even seem to be hosting the VM on a VFMS volume
Your log does not seem to be raising any errors apart from that CPERROR2. You may use ondediff:f to force using Rsync instead of XSIDiff.
The fastest way is OneDiff, as it performs an instant differential backup. Due to its nature (not all data is copied everytime), it depends on the ESXi snapshot subsystem to ensure the backend data is consistent. You can verify that by adding [b]--certify-backup[/b] to the backup job, so that the whole disks are checksumed and compared.
Now the additional challenge is that you are hosting a database server on the Windows server. You don't say much about your set up and complex scenarios can't be backed by simple laconic answers. We will asume that it is some version of [b]MS SQL Server[/b].
The next question to pose yourself is: "is the database server iddle during the backup windows?". If so, your problems is greatly simplified as you just have to stop the database service during the backup window and turn it back on again once the backup is complete, which is a really short time if you use [b]Onediff[/b].
If your DB server is busy during the backup windows and you have to keep it in production, then your problem complicates exponentially. Not only because you have to make sure you quiesce the DB server properly but because quiescing [b]MS SQL Server[/b] can become quite complicated when compared to other database servers.
Before even attempting to backup your server, you should make sure you can take quiesced snapshots manually while the DB server is under heavy load. You can set up some script to create a table and add a few registers per second while you perform the quiescing tests.
While your DB server is under write load, take a quiesced snapshot from the ESXi snapshot manager and see if everything goes well and no errors are returned.
Depending on the [b]MS SQL Server[/b] version that you are using you may need to install additional services for the Windows guest to be able to properly quiesce the database server. The basic picture is the following:
ESXi requests the guest OS to be quiesced.
If you have VMWare Tools installed (essential), the snapshot request will propagate to the guest OS and the database server will be asked to perform a controlled stop. In the end quiescing is similar to a service restart, in fact you will experience a short service cut while the DB is quiesced.
When you perform a service stop or restart on any database service, the process that controlls the service shutdown has to make sure that any pending I/O operations are performed consistently before actually bringing the service down. From the database perspective this means that any pending atomic operation or transaction is completed and only after this pending operations are performed and ensured to have been written consistently, the service can be shut down.
When you quiesce the database server the first part of the operation is the same, the only difference, which makes things more complicated is that traffic keeps on coming in, and so, quiescing consists not only in finishing pending I/O operations, but keeping new ones in a buffer, so that they are commited once the ESXi snapshot has been created and is ready to receive data.
At the end of the process, any ongoing [b][url=https://en.wikipedia.org/wiki/ACID]ACID[/url][/b] operations at the time the snapshot request comes in are flushed to the base disk, be it a [b]-flat.vmdk[/b] file or a previous snapshot. and the subsequent ones are written to the newly created snapshot. The difference is that quiescing takes care to split things right, so that the database files are always consistent.
Per instance, suppose that you have some huge insert of some blob data going on when you request the guest to quiesce. VMWare Tools and the rest of implied services: Virtual Disk, VSS Services, VSS Services especific to SQL Server, etc... will take care to wait for the blob insert to finish and to hold the subsequent requests until the snapshot is up and ready to receive data.
Now the thing is: which services do you need to have installed and ready for this DB quiescing to work flawlessly?. As said, that will depend on the MS SQL Server version and how it's set up. You will find specific documentation in the database server manual.
[b]Workarounds[/b].
There are ways to just use general procedures to make sure your DB is consistent, below just a few:
- Perform a warm backup: this will stop the guest, take a snapshot from a shut down state and restart the VM. This ensures consistency at the price of just a few seconds of stop.
- Perform a DB backup before the VM backup and don't quiesce: this will ensure you have a consistent backup that you will have to restore after the VM has been restored.
- Use custom scripts to stop the database service just before the snapshot is taken and start it back again when the snapshot is ready:
[url=https://kb.vmware.com/s/article/1006671]Running custom quiescing scripts inside VM[/url]
It could be a metadata issue. Clone the disk with vmkfstools and replace the old disk by the clone.
It could also be a hardware issue, a worn out disk.
XSIDiff is a straight copy utility, thus it's faster than Rsync. The latter performs more thorough tests on every syncronization. If Rsync returns no error, then you may have hit some hardware issue.
Yes, you can run a [b]--check[/b] argument against a full repo or any of its subfolders, be it a full timestamped backup containing VMs or a single VM
Checks will be much faster with SSDs, as seek times are many orders of magnitude faster in SSDs than in HDs
Also: please note that although XSIBackup will not keep you from performing a [b]--check[/b] action from the ESXi host (in case of NFS datastores), you'd be adding the network latency to each block check, which can become some significant time when checking millions of blocks, specially if your network equipment is not fast. Thus, checks should be performed on the backup server file system on NVME disks for best performance.
Let us pose some real life example:
In our lab, we have an old Synology box with regular Seagate HDs over gigabit LAN. One of the disks is mounted as an NFS3 volume. As you may imagine, the Synology CPU is quite outdated and extremely slow as per today's standards.
We have a Microtik switch in between the ESXi host and the old Synology box and the ESXi host is equipped with cheap Intel NICs
We check some 50 GB Windows 7 VM there from the Synology DSM command line and from the ESXi command line:
From ESXi:
-----------------------------------------------------------------------------------------------------------
7/13 W702-flat.vmdk.map 53.00 GB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
8/13 W702.vmx.tmp.map 3.30 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
9/13 W702.vmsd.map 45.00 B | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
10/13 W702.vmx.map 3.30 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
11/13 W702.vmdk.map 601.00 B | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
12/13 vmware.log.map 256.09 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
13/13 W702.vmdk.extents.map 5.54 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
Removed host <tmp> dir OK
-----------------------------------------------------------------------------------------------------------
Removed prog <tmp> dir OK
-----------------------------------------------------------------------------------------------------------
real 3m 42.44s
user 0m 4.61s
sys 0m 0.00sNow from the Synology command line:
-----------------------------------------------------------------------------------------------------------
7/13 W702-flat.vmdk.map 53.00 GB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
8/13 W702.vmx.tmp.map 3.30 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
9/13 W702.vmsd.map 45.00 B | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
10/13 W702.vmx.map 3.30 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
11/13 W702.vmdk.map 601.00 B | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
12/13 vmware.log.map 256.09 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
13/13 W702.vmdk.extents.map 5.54 KB | 100.00% 100.00% 0 OK
-----------------------------------------------------------------------------------------------------------
real 0m51.451s
user 0m2.310s
sys 0m4.707sThe CPU capacity is not that important here when compared to the network latency added to the job. Even a crappy twelve year old CPU outperforms a fairly modern i5.
Well, it's an almost complete description, you have omitted the most critical information though: CPU & RAM on each of the servers.
[b]Update: more than enough as per the information your just posted.[/b]
We presume the [b]HPe ML350 Gen 10[/b] will have a fairly powerful CPU plus a decent amount of RAM, as even in its minimum configuration it exceeds what XSIBackup might need to do its work at maximum speed.
It's not that clear in case of the latter (HPE Microserver Gen10), it could mount a toy CPU, still as per today's standards that could very well be enough to handle the server part. You should not rely on too cheap CPUs though, specially since a [b][url=https://www.cpubenchmark.net/cpu.php?cpu=Intel+Pentium+Gold+G5420+%40+3.80GHz&id=3471]double core pentium[/url][/b] is about the same price and will handle receiving the data just fine. It's not that clear that in the event the Microserver had to handle the work load of the primary server it could do that well.
What hardware is the remote Linux box?. We recommend that you use CentOS, we have tested it thoroughly throughout years. Debian will work as well, you may have to handle some configuration issues on your part, while in the case of using a CentOS 7 distro, you will just nail it.
Yes, as of today Pro is just the same as DC but with just one license.key instead of two.
We always like to point the fact that using some last version of anything is like being the Caesar's food tester or the first to cross a frozen river. ESXi 7.0 is stable enough by now. The only drawback is that in this version VMWare is trying to make ESXi even more propietary and has read blocked all files in a VM, even in the case of running on top of snapshots. Our software will still work, you wont be able to backup VMs containing snapshots though, which can be a good way to increase backup density and restore points at no extra cost.
[url=https://33hops.com/use-snapshots-to-increase-your-backup-density.html]Use snapshots to increase restore point density[/url]
We would use ESXi 6.7 unless you do need ESXi 7.0 for some reason.
XSIBackup just doesn't care what type of OS it is backing up, just as long as the OS can be snapshotted. Windows OSs are pickier to quiesce in case you have some active DB server at the time to take the snapshot. They also tend to get fragmented from the VMFS perspective much more than Linux and are in general harder to virtualize in any virtualization system, at the same time that less efficient in terms of I/O
As per your recent post, everything is OK in terms of hardware. Just take one thing into account. Deduplication will offer you 98% compression ration as soon as you accumulate some 20-30 restore points, thus, you don't need so much extra space. On the other hand, SSDs, in special M.2 disks will boost you replica and backup speed in a local LAN context. Thus, it's worth putting the economic effort in installing faster disks than in making sure you have a lot of empty space that you may never use. You can alays add a bigger disk later on in case you need it.
That i5 should do just fine for the offsite backup server.
Each DC license comes with two keys, Pro just one. In case you need three licenses, you just have to buy one DC license plus one Pro license. Both editions are exactly the same software, DC comes with a discount though.
Are you maybe referring to the old Free version that we now call (c)XSIBackup Free Classic?
[url=https://33hops.com/xsibackup-download-old-software-versions.html]Legacy software download[/url]
Please explain yourself in more detail.
Please download latest version (we just released 1.4.3.3 today) and try again.
In case you still experience some issue, let us know what the issue is, provide as much details as possible, we can't guess it.
We have switched all versions: Free, Pro and DC to latest technology based in a C monolithic binary service (except for the sendmail script and some other auxiliary functions), which is indeed compatible with ESXi 7.0.0.
You still have access to the previous Free version, which works in ESXi versions up to 6.7.0
New Free version will work without any limitation for some days. We will launch new versions with new expiry dates regularly. Once the trial period ends, you will still be able to backup VMs up to 60 GB to local datastores.
Some features may be pending to be added, some others may not fully work in Free version. Use some e-mail redirection instead.
Well, the program prints a list of all the VMs previous to performing a backup and [b]p1-Printserver[/b] does not show up in your output, only [b]vCLS[/b] does.
Run
vim-cmd vmsvc/getallvmsto check that fact out.
You have mispelled the argument, it's [b]--backup-vms[/b] and not --backup-wms
Correct job:
./xsibackup --backup-type=custom --backup-vms="backup01" --backup-point=/vmfs/volumes/USB-Storage/CopiaSeguridadWe have detected that when performing some backup over IP to a Linux guest (CentOS 7 in our case) that is residing in the same host, a final checksum mismatch is raised on the first round.
We will first try to determine if this is really an issue on the copied data or is just an error on the checksum comparison. The second scenario is the most probable, as no errors are raised during the backup operation.
Thank you very much for your feedback.
We will revise v. 1.4.3.1 and reach you back ASAP.
Update 2021-01-20 17:46 UTC:
There isn't anything drastically new from 1.4.3.0 to 1.4.3.1, but some little amendments and the automatic update of the server side binary in over IP operations.
Overlapping jobs could only trigger an error in the event that a block was being accessed at the same time, which is highly unlikely to happen. This is in turn prevented by a file lock mechanism.
Server side block processing is performed by spare subprocesses. We have tested this to some extent with no issue.
Slow disks would not cause any issue, just as long as they are O.K.
Do pay attention to the possibility that the NFS mount is not well mounted. Your last error does really look like if you were writing to the mount folder and not to the mounted volume, we see this very often.
We have to add some logic to check for real available space in the target folder. It seems too obvious to miss, but the above commented situation is extremely frequent.
Also, if your link or disk is not very reliable, do use Sync NFS instead of Async NFS.
We are sorry, we aren't getting what you mean.
Please read the provided URLs
It's much simpler than the load of questions you are posing yourself. The backup job is a file you save to the jobs folder, then you invoke it from the cron, that's it.
Everything is self contained in the job, you don't need to worry about any argument/ option but in the backup job file itself.
The VM name is the asigned VM Name as stated in the .vmx file displayName field, nothing else.
Yes, all backups are hot by default if the VM is on.
[url=https://33hops.com/xsibackup-cron-troubleshooting.html](c)XSIBackup Cron Troubleshooting[/url]
This isn't really an (c)XSIBackup bug, but some bug in (c)ESXi. We have been able to detect it in (c)ESXi 6.7.0. It may be present in other editions/ builds as well though.
The issue is triggered by (c)ESXi returning an error like the following:
IO error: [Errno -2] Name or service not knownWhen simply invoking [b]esxcli[/b].
It seems clear that due to this bug systems without a proper DNS server configurations fail even at tasks which have nothing to do with DNS, but that for some reason try to perform a resolve operation prior to executing [b]esxcli[/b], and not only that but fail with an unrecoverable error.
[b]Workaround[/b]
The problem is easily solved by adding some DNS server.
Many sysadmins like not to configure DNS for their ESXi hosts. Still, at least for the request.key and subsequent license.key generation, you will need to enable it. We are sorry about this inconvenience, it's not our fault in this case though.
You aren't even posting the job that produced it.
Follow the Ockham's razor principle in this case too. If the output is telling you there isn't any VM to backup, then, the most likely cause is exactly that.
You might be making some wrong asumption, there may be something mispelled or your job might not be well built, but as you didn't publish it in the post, we can't offer you an answer.
We haven't yet fully tested ESXi 7.0.0 U1 nor have we announced compatibility with it.
We hope that you are just using it for testing, as using any latest version of anything in production is equivalent, as we never lose the chance to say, to being the first to cross on thin ice. If you like risky sports, it's O.K., if on the contrary you want your job to be easier and sleep well at night, we would recommend that you use well tested software in production.
That said, and pending some more thorough tests on ESXi 7.0.0 U1, there isn't any fundamental reason why you shouldn't be able to run your backups.
Are you sure you haven't run our of space on the target volume? (c)XSIBackup-DC does not raise segfaults capriciously, it if did, then there must be some fundamental reason going on.
New DC Free version works for some days, then it defaults to Free features: manual backup of VMs up to 60GB to local datastores.
Next version will also fully work for some days (10 days since the day of launch) until the trial period expires.
Your issue has very little to do with (c)XSIBackup. Tweak your permissions until you can do what you want. What about gratting all permissions to the users you want.
Remember that in Windows you have NTFS permissions, but you also have a different set of permissions for the share itself.
Well, it doesn't necessarily mean that you run out of space in the target volume, there are other volumes implied, like temp file systems or log space.
In any case if your repo grew over 1.5 TB you should upgrade to 1.4.3.0 that will fix it, if the problem was due to lack of resources.
You took too long to download the above.
You can now download the same product in its product page:
[url=https://33hops.com/xsibackup-vmware-esxi-backup.html#prodchart](c)XSIBackup Product Chart[/url]