You are not logged in.
Well, this is clearly the error causing your behaviour:
Error backing the ESXi host config to /vmfs/volumes/XXX/ESXi/VM_BackupAnd that explains why the individual VM backups are O.K.
Run this commands manually to determine why it's returning an error:
vim-cmd hostsvc/firmware/backup_config
find /scratch/downloads -type f -name "*.tgz" -exec ls -1rt "{}" + | head -n1Check the full log to dive into the issue. Look for any line containing the word error
cat xsibackup-cron.log | grep -i errorUse tail, per instance, to get errors from the last N (200 in the example) lines
tail -n200 xsibackup-cron.log | grep -i errorThank you Benjamin.
One of the main concerns when using XSIBackup under vCenter is making sure vCenter does not move your VMs around if you are using vMotion.
You can prevent that by setting some rules in your vCenter or by using XSIBackup-Pro helper argument [b][https://33hops.com/xsibackup-help-man-page.html#disablevmotion]/xsibackup-help-man-page.html#disablevmotion[/url][/b]
Yes, you're right we'll take it as a feature request, it'a very easy to implement.
Use [b]ssh -v[/b] and observe what is in the end being parsed and executed in the remote host, you might need escaping some characters.
That is not XSIBackup problem, it points to the port where you tell it to point. You must enable an outbound firewall rule in your ESXi host for port 2222 to be able to communicate with some outer machine in this port number.
We could open it automatically from within XSIBackup, but as this things related to security are a bit picky at the time to create consensus among users, you better open it manually by now.
But the output you posted does indeed execute [b]xsibackup[/b]. The license agreement and the output below is xsibackup output. You are probably just using a wrong path. If you execute this
./xsibackup --backup-point=/vmfs/volumes/datastore1 --backup-type=custom --backup-vms="SBS_2011" --mail-from=xsibackup@XXXXX --mail-to=alerts@XXXXX --smtp-srv=192.168.XX.21 --smtp-port=25 --smtp-usr=User@XXXXXX --smtp-pwd=xxxx --testmode=trueFrom inside the [b]/vmfs/volumes/datastore1/xsi-dir[/b] directory xsibackup will execute.
Yes, we know that. We'll change the way it works to make it faster. In the meanwhile use the online Man Page which contains all arguments and parameter information.
[url=https://33hops.com/xsibackup-help-man-page.html]https://33hops.com/xsibackup-help-man-page.html[/url]
XSIBackup, as everything, evolves over time. Older versions assumed that any "over IP" backup should be handled by Rsync, as there wasn't any other --backup-prog capable of doing so. In newer versions there's more than one program that can handle IP backups and thusly, you are now required to especify the backup program. There can be some instructions refering to older versions in the man page, we'll check the texts.
Compression:
--backup-prog:rsync => No compression
--backup-prog:rsync[b]:z[/b] => Compression enabled
Older versions didn't have the option to compress Rsync data.
[b]--test-mode=true[/b] just allows you to test e-mail sumission, it doesn't really check anything else.
I don't see where the
-sh: /vmfs/volumes/datastore1/xsi-dir: Permission deniederror is in the output you posted.
There's nothing such as a FS in the de-duplicated NAS appliance. If you are interested in how things work, you can start here
[url=https://33hops.com/lightweight-deduplication-appliance.html]https://33hops.com/lightweight-deduplication-appliance.html[/url]
Yes, there could be that much space saving, but that depends on the type of OSs you are backing up, how much they repeat, the number of VMs per backup, the number of backups, etc... Your FS could be not working well too, so make your tests.
As any other de-duplicated inline file system LessFS stores data chunks in one place (lessfs-data) and hash tables in other, you can't mix them or you'll mess things up.
If the previous backup takes too long to complete, XSIBackup will not execute to avoid parallel processes clogging your system.
Instead you should use the [b]--on-success[/b] and [b]--on-error[/b] event handlers, or program the following backup later on to make sure the previous has ended.
Take on account that XSIBackup, as stated in the man and feature page, does not have a true Borg client and sends [b]all data[/b] to the Borg server. Thus, depending on the data you pretend to backup and your available network bandwidth, Borg might not be your best choice among available XSIBackup backup programs.
Your version is not compatible with XSIBackup, just ESXi 5.1 and above.
No XSIBackup does not require to be installed in the default recommended installation path: /vmfs/volumes/datastore1/xsi-dir, but if you install to other path, you are implicitly recognizing you know the path is persistent and you will need to take care to apply appropiate permissions and take any other needed action.
We'll be glad to help, but please, help us to help you and post all the relevant information:
- XSIBackup edition and version.
- ESXi version and build number (vmware -v)
- Backup job argument list.
- XSIBackup output or xsibackup-cron.log file
UPDATE:
Just as a remainder, XSIBackup is compatible with ESXi 5.1 and above.
[url=https://sourceforge.net/p/xsibackup/discussion/general/thread/1d29b644/]https://sourceforge.net/p/xsibackup/discussion/general/thread/1d29b644/[/url]
Snapshotting problems are relatively frequent, in fact they are the most frequent source of errors in ESXi.
As you had an MBR boot record before, XSIBackup would automatically avoid quiescing, so you probably had that problem with the VSS service sitting there until you switched to GPT and it had the chance to become known.
Quiescing does work with GPT, it's not a general error, but something having to do with that VM's configuration.
A quick search returns:
[url=https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018194]https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018194[/url]
It's not the exact same error code (#8449), but it offers some hints
There aren't any agents installed by XSIBackup, so check for space usage and verify the VSS service and any dependant auxiliary service is installed, running and healthy.
UPDATE:
A more precise search returned this.
[url=https://communities.vmware.com/thread/401786]https://communities.vmware.com/thread/401786[/url]
This will probably solve your problem.
It shouldn't take more than a couple of minutes.
Try to kill everything related to XSIBackup and run the backup again
kill -9 $( ps -c | grep xsi | awk '{print $1}' )MANUAL INSTALLATION PROCEDURE ESXi Hypervisor 5.1/5.5/6.0/6.5
- Extract to the desired path (default recommended: /vmfs/volumes/datastore1/xsi-dir).
ATTENTION: copy all files and folders inside the XSIBACKUP-PRO package to the install dir, they are all part of the program
- If you have a previous installation (Free or Pro), remove all files but the RSA Key pair (xsibackup_id_rsa & xsibackup_id_rsa.pub) and the xsibackup-cron file (in case you want to keep your scheduled jobs), then unzip the contents of this file there. If you keep all paths the same you don't need to reinstall cron.
- If this is your first installation, choose a persistent path to install XSIBACKUP-PRO. If you are not 100% sure that the path you want to install is persistent, use the recommended installation path: /vmfs/volumes/datastore1/xsi-dir
- Assign execute permissions to the xsibackup file and the bin directory.
youresxi# cd /vmfs/volumes/datastore1/xsi-dir
youresxi# chmod -R 0700 xsibackup EULA bin conf
- Read the ManPage at [url=https://33hops.com/xsibackup-help-man-page.html](c)XSIBackup Classic Man Page[/url]
[b][https://33hops.com/xsibackup-pro-vmware-esxi-backup.html]Download latest version 10.0.1[/url][/b], you don't need to overwrite all files, just [b]src/onediff[/b]. It includes a way to decide whether or not to unregister the [b]_XSIBAK[/b] VM via the [b][https://33hops.com/xsibackup-help-man-page.html#options]--options=unreg-xsibak[/url][/b]. Default option is to not unregister from v. 10.0.1. The duplicate MAC alarm is very anoying, but you can disable it very easily:
1 - Log in to vCenter Server using the vSphere Client, go to the Hosts and Clusters view and click the vCenter Server instance.
Select the Management tab > Alarm Definitions.
2 - Search for VM MAC in search window.
3 - Edit the VM MAC Conflict alarm.
4 - Deselect Enable this alarm.
5 - Click Finish.
This will only affect application level duplicate MAC alarms, not at the OS level. This alarm should probably have never been activated by default from part of VMWare.
Yes, you can do that. You can register a OneDiff backup in the same server. The only condition is that the datastore where you mirror the VM must be different than the datastore where the VM to backup is.
You can then make a OneDiff backup of the mirrored VM, no problem.
I will try to explain myself better from a different perspective.
The article you read poses a very interesting combination of [b][https://33hops.com/xsibackup-pro-onediff.html]OneDiff[/url][/b] and [b][https://33hops.com/xsitools-vmfs-deduplication.html]XSITools[/url][/b], which is only possible if you use two different servers.
1 - You make a OneDiff backup over IP to a secondary server. Provided that you already made the first initial full backup, the OneDiff cycle will take just the time to copy the diff data and send the e-mail. This will generate a light load on the server being backed up, namely, your production server.
2 - Once the OneDiff backup job has finished, you have a mirrror copy of your original VM in a second server with an [b]_XSIBAK[/b] extension. Here you run the XSITools backup, which makes the archive of the data into a deduplicated repository. As the backup is being made from the mirror copy, your production server will not be affected by the XSITools backup, which will make a full copy of the server.
This is the post you mentioned in your original question: "my goal is to succesfully setup something like this"
The thing is that you cannot fully achieve what is explained in the post, cause you say you only have one server available. Thus, you can make a full backup and afterwards an XSITools backup, but it will only be similar to what is explained, and your unique server will notice the load while the backups are in progress.
The backup jobs you posted are basically O.K.
[b]NOTE:[/b]
You don't need to parse all e-mail options all the time
--mail-from=my@email.me --mail-to=my@email.me --smtp-srv=mysmtp --smtp-port=25 --smtp-usr=user --smtp-pwd=passwordYou can use the SMTP Server panel at [b]conf/smtpsrvs[/b] and shorten your syntax dramatically to something like
--use-smtp=1 --mail-to=my@email.meYes, of course, it's quite simple. You just need to set up a backup job that makes a full backup and then chain it to a second job that does an XSITools archival.
Take on account in any case, that the posed example does the [b][https://33hops.com/xsibackup-pro-onediff.html]OneDiff[/url][/b] backup over IP to a second server really fast, by performing a differential copy, afterwords the second job uses the disk throughput, CPU and RAM of the second server by copying the just mirrored VM, and thus it doesn't affect performance on the original server.
You can do everything in the same server, but you will be copying data while the guests are active. You will still be able to use your servers while being backed up, but depending on the controller you have, its configuration, the number of users connected and the speed of the disks you are using, you might notice a decrease in speed, whereas if you mirror to a second server first and then perform an XSITools backup on the mirror, the original server won't notice the load.
Hello Luca, this question is a bit unprecise, but I'll try to offer you an answer.
[b][https://33hops.com/xsidiff-vmware-esxi-file-replication.html]XSIDiff[/url][/b] being unlicensed won't be a problem if you copy [b]-flat.vmdk[/b] disks below or equal to 10 gb.
Yes, if you buy [b][https://33hops.com/xsibackup-pro-vmware-esxi-backup.html]XSIBACKUP-PRO[/url][/b] you can use it in up to 20 different hosts via the [b][https://33hops.com/xsibackup-help-man-page.html#manhost]--host[/url][/b] argument, we are currently issuing as many XSIDiff licenses as you need to operate on 20 hosts from one master server.
We have included a new argument in XSIBACKUP-PRO 10: [b]--disable-vmotion[/b] that will disable the vmotion bind and re-enable it when the backup has completed. This will prevent the VMs at the host from being moved around while the backup is in progress.
You do need to enable [b]Less Secure Apps[/b]: [url]https://support.google.com/accounts/answer/6010255?hl=en[/url] for your gmail.com account.
You can find all the details here [url]https://33hops.com/xsibackup-smtp-client.html#gmail[/url]