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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#51 Re: General matters » What's going on from this message - » 2023-07-03 18:27:31

Your backup command is wrong:

./xsibackup --backup "/vmfs/volumes/datastore1/Windows 10 x64 GoodSync" '/vmfs/volumes/JJ Sisko VMFS/VMs'

We have developed two main lines of ©VMWare ©ESXi backup software in the last 10 years:

- ©XSIBackup-Classic: a solution based in bash scripts which is compatible with ©ESXi 5.1 to 6.7.0. This tool was deprecated years ago and is only offered -as is- for users of older ©ESXi versions.
Man page: [url]https://33hops.com/xsibackup-help-man-page.html[/url]

- ©XSIBackup-DC (local service) & XSIBackup-App appliance: based in C + Assembly. It is a similar concept but it does not share the same commands with ©XSIBackup-Classic. It is compatible with ©ESXi servers from 5.1 to 8.0
Man page: [url]https://33hops.com/xsibackup-dc-full-manual-home.html[/url]

There are big notices starting with an exclamation mark in orange in all posts covering ©XSIBackup-Classic to clearly state it is a deprecated product and that you should use ©XSIBackup-DC.

You seem to be mixxing things and using ©XSIBackup-Classic commands in ©XSIBackup-DC, which will obviously not work.

Try also not to mix double quotes with single quotes in paths and arguments and to avoid spaces in paths, VM names and specially in datastore names. ©XSIBackup-DC fully supports spaces in VMs, datastores and paths, but the chances that you hit some bug grow exponentially as you start to name things in exotic ways.

The correct syntax to backup your VM named [b]Windows 10 x64 GoodSync[/b] would be:

./xsibackup --backup "VMs(Windows 10 x64 GoodSync)" "/vmfs/volumes/JJ Sisko VMFS/VMs"

In any case please [b][url=https://33hops.com/xsibackup-dc-full-manual-home.html]do read the manual[/url][/b] before trying to run any command and notice that using local paths to backup VMs is way slower than using remote paths over IP/SSH.

Using some remote server a.b.c.d to store your backups would be much faster.

./xsibackup --backup "VMs(Windows 10 x64 GoodSync)" root@a.b.c.d:22:/home/backup/repositories/repo01

You need to previously link to that server by RSA key:

./xsibackup --add-key root@a.b.c.d:22

Please, also note that depending on if you need to backup just one standalone server or a number of them, it might be worth for you to use ©XSIBackup-App, which is an appliance that provides a centralized console to manage the backup of multiple servers:

[url]https://sourceforge.net/projects/xsibackup-app/files/[/url]

©XSIBackup-App does share the same set of commands with ©XSIBackup-DC, it just adds a few additional ones to be able to connect and manage the ©ESXi servers you wish to manage and backup.

[url]https://33hops.com/xsibackup-2-what-is-new.html[/url]

You should also read the change logs to find about new features as we launch new versions:

©XSIBackup-DC: [url]https://33hops.com/xsibackup-datacenter-change-log.html[/url]
©XSIBackup-App: [url]https://33hops.com/xsibackup-app-change-log.html[/url]

#52 Re: General matters » removing xsi backup completely » 2023-06-24 11:46:08

A quick search in Google: "Uninstall XSIBackup" returns the info you need as the first match:

[url]https://33hops.com/xsibackup-uninstall-procedure.html[/url]

As a quick excerpt, you need to remove the installation folder, any cron entries at /var/spool/cron/crontabs and any related lines at /etc/rc.local.d/local.sh

That's all

#53 Re: General matters » Replica error via IP » 2023-06-21 18:51:14

(c)XSIBackup is optimized to work on RHEL familiy of Linux: RHEL, CentOS, Rocky Linux, Alma Linux, Fedora, etc...
Debian has some serious drawbacks:

1/ They have deprecated some classic system calls that (c)ESXi does still use:
[url]https://33hops.com/xsibackup-dc-full-manual-home.html#enable-vsyscall[/url]
That was more than one year ago, thay may have disabled some additional ones.

2/ They enable the iNotify service by default which slows down the FS.

Debian is optimized for security, whereas RHEL is optmized for speed. You can use Debian, but you will have to go through enabling vsyscall and disabling unneded services that may interfere with your backups.

Contact support if you are a registered user and can't get it to work.

#54 Re: General matters » Backups fail on esxi 7U3 installed on SD card » 2023-06-04 12:39:59

The license will still be valid with a new hard disk. Contact suppport if you need some help.

#55 Re: General matters » Backups fail on esxi 7U3 installed on SD card » 2023-05-22 09:00:38

Please, post the full job and output when you need some support.

Don't use an SD card to install (c)ESXi. It is discouraged by (c)VMWare:
[url]https://kb.vmware.com/s/article/85685[/url]

You are trying to create a backup repository in [b]/vmfs/volumes[/b], which is a non existent path, therefore the error you are receiving.
Use some subfolder in a datastore, per instance:

/vmfs/volume/backup-ds/repo01

You are not even allowed to create the repo in the root of a datastore which is one level up.

/vmfs/volume/backup-ds/

The path above would also be an illegal target for (c)XSIBackup. Do use some subfolder in a real datastore.

#56 Re: General matters » blocklog data error » 2023-05-03 13:32:38

Download the latest available version and make sure the NFS mount is functional. Take on account that mounting an NFS share over the Internet or a WAN may not be feasible depending on the effective latency.

You can also backup/replicate over IP instead of mounting the remote server.

./xsibackup --add-key root@a.b.c.d:22
./xsibackup --backup "VMs(YOUR-VM)" root@a.b.c.d:22:/home/backup/your-repo

#57 Re: General matters » blocklog data error » 2023-04-25 09:55:18

There is some problem with that NFS4 mount.

In branch 6 there use to exist multiple problems around NFS4, in your case it's probably not well mounted, maybe some permission issue or bad configuration parameter.

In any case we would plainly remove the NFS4 volume and reconnect using NFS3. NFS4 (wich includes multipathing) is great to host VMs, in case you are forced somehow to use NFS, cause VMFS is way, way better for the task. NFS4 is totally useless at the time to use one of this volumes to store backups though.

You can't take advantage of multipathing when transferring huge -flat.vmdk files because one single file will never be split across multiple NICs.

#58 Re: General matters » what ethernet port does xsibackup use for NAS backups » 2023-04-21 20:02:09

(c)XSIBackup is agnostic of the IP routing and any other IP config. It just uses the TCP/IP stack to send the data to the destination IP.
You can find information on how to configure static routes in this VMWare document:
[url]https://kb.vmware.com/s/article/2001426[/url]

Still, the best way to make sure that your data is using he hardware you want is setting a dedicated network for backup. Use a different subnet for your NAS and backup NIC and that way you'll be sure that your data is going through the NIC you want in an easy way.

#59 Re: General matters » blocklog data error » 2023-04-21 19:55:49

Please, provide the FULL backup command and the FULL output. There is vital information in both to help us at the time to offer you some feedback.
If you omit  the job, we don't know what you are trying to accomplish or how.
If you omit the output, we know nothing about your environment: XSIBackup and ESXi versions, local and remote file systems, previous errors, VM names, paths, etc..., etc...

#60 Re: General matters » ror count is: 1 » 2023-03-14 19:12:37

We can't see much in the output that you pasted. Please paste the full output of your job.

#61 Re: General matters » Backup to local NTFS drive » 2023-03-12 18:58:14

Yes, in the event that you want to experiment with not yet tested scenarios and not very recommendable file systems you could run ©XSIBackup-App in ©VMWare Workstation and attach an NTFS disk, but:

Why would you want to do so when the appliance has been designed to run in ©ESXi and to use XFS or ext 3/4 file systems?

#62 Re: General matters » XSIBackup-DC regexp exclude vmdks help » 2023-03-08 13:30:28

OK, great, but, did you finally achieved what you wanted?.
It seems as if you were just being misguided by the fact that all files are listed, then the excluded ones are marked as 'excluded', that's normal behavior.

#63 Re: General matters » XSI Backup 2.0 - restore syntax? » 2023-03-08 09:02:19

You can't restore to a remote server, you can restore from a remote server though.
Still you are missing the username part in your restore job.

Your best approach is to install (c)XSIBackup 1.6.0.7 alone in the server you want to restore to and pull the backup from there.

xsibackup --restore root@a.b.c.d:22:/mnt/warehouse/20230307114112/Linux-test /vmfs/volumes/datastore1/Linux-production

You can also add your restore target server as a backup host and use the local mount point [b]/mnt/XSI/srvs/192.168.0.5/vmfs/volumes/datastore1/Linux-production[/b] to restore directly. Still be warned that depending on your latency to the target server the second approach may be too slow. In this case use the pull approach instead.

#64 Re: General matters » XSIBackup-DC regexp exclude vmdks help » 2023-03-08 08:57:17

As any other software (c)XSIBackup has to make some assumptions. In this case the asumption is that .vmdk disks are stored in folders, generally one, but could be more, and that the rest of files in those folders are other constituent files of the VM, namely: .vmsd, vmxf, snapshots, etc..., which are indeed backed up. Should any other file not referenced by the .vmx file be found there, it will also be backed up by default.

Now the thing is: why are there in these folders other .vmdk files which don't belong to the VM?. Maybe this is the source of the problem. Still you can exclude individual files based on patterns. Send us the contents of your VM folder clearly marking the files that you don't want to backup and we'll create the REGEP for you.

#65 Re: General matters » XSIBackup-DC regexp exclude vmdks help » 2023-03-04 19:55:58

Your REGEXP pattern is being rejected. Why are you using double parentheses?
Check this post: [url=https://www.educative.io/answers/how-to-write-regular-expressions-in-c]How to write regular expressions[/url]

Use something like this:

--exclude="[^/vmfs/volumes/datastorekubedata/kubevols*.]"

#66 Re: General matters » XSIBackup-DC regexp exclude vmdks help » 2023-03-03 09:06:57

What about:

*.datastorekubedata/kubevols*.
*.datastorekubedata/kubestatic*.

Or

^/vmfs/volumes/datastorekubedata/kubevols*.
^/vmfs/volumes/datastorekubedata/kubestatic*.

#67 Re: General matters » Testing a backup jobs / dryrun » 2023-03-03 09:05:23

Split your logic into different jobs to achieve your goal.
Consider scripting some logic to bring the VM out of the cluster while the backup is taking place.
You may also find useful the "l" option in the [url=https://33hops.com/xsibackup-dc-full-manual-home.html#options]--options argument[/url]

#68 Re: General matters » Testing a backup jobs / dryrun » 2023-03-02 21:18:00

There isn't any such option, sorry. Backup some small test VM instead.

#69 Re: General matters » Installation on VMware ESXi 8.0.0 » 2023-02-21 22:07:27

First production ready release will be ready by the end of March 2023

#70 Re: General matters » Installation on VMware ESXi 8.0.0 » 2023-02-19 20:55:08

Check that the (c)ESXi server is visible at /mnt/XSI/srvs, it might have gotten disconnected. And remember that this is a beta by now, do not use in production.

#71 Re: General matters » The license.key file is more than 1 year older than the binary » 2023-02-14 13:45:41

If you renewed then just contact support and ask for the MAC to be freed, so that you can upgrade the software.

#72 Re: General matters » From old free to licensed PRO-issue with GUI TARGET » 2023-02-07 11:32:31

Please [url=https://33hops.com/download-form.html]download 1.6.0.6[/url] which is already available, we have fixed this bug in the latest release.

#73 Re: General matters » Installation on VMware ESXi 8.0.0 » 2023-02-01 12:49:46

We have created an appliance: ©XSIBackup-App that allows to backup any ©ESXi server between 5.1 and 8.0
It allows centralized management of jobs in different ©ESXi servers.

There is a beta version available for download, we have already tested it up to some point with excellent results.

Download from here:
[url]https://33hops.com/xsibackup-2-what-is-new.html[/url]

It lacks a GUI by now, thus you would need to use it from the command line.
Needless to say what we have published by now is a Beta version, use cautiously.

#74 Re: Repositories » Pruning is not possible » 2023-01-25 16:29:43

As a rule of thumb try to always upgrade to the latest version.

Assuming your NAS is some real FS such as XFS or ext4 and that the repo has not grown beyond your hardware limits.

If the segfaults takes some time to be printed out your problem probably has to do with lack of memory. If it's instant then the problem is probably related to some corrupted entry in the repo (the one you are trying to prune), although --prune generally can handle well almost any broken or missing file.

#75 Re: General matters » Installation on VMware ESXi 8.0.0 » 2023-01-25 16:25:00

We are preparing ©XSIBackup 2.0 which will be compatible with ©ESXi 8.0.
A beta version will be available in some days.

Board footer