You are not logged in.
Everything is much more simple than that.
- Esxi is not Linux, so forget about any preconceived idea, like [b]crontab -e[/b]
- XSIBackup install does not generate the cronfile, you have to create it manually by just executing this: [b]./xsibackup --install-cron[/b]
- You are answering yourself, there's a detailed Youtube tutorial that explains how to install the crontab step by step.
[url=https://www.youtube.com/watch?v=hv2JPdVjglA]Youtube video[/url]
- Apart from that, everything that you need to know is in the man page:
[url=https://33hops.com/xsibackup-help-man-page.html](c)XSIBackup Classic man page[/url]
XSIBackup makes use of the snapshot options available in the ESXi system, it does not decide anything in regards to how big the snapshots will be, with the exception of the [b]includememory[/b] option: [url=https://33hops.com/xsibackup-help-man-page.html#snapshot](c)XSIBackup snapshots[/url]. Thus, the size of the snapshot will depend on your VM config and how you use your data.
The way snapshots are managed by [b]XSIBackup[/b] depends on the type of backup you are performing, please, provide some minimum information to get a concrete response. If you are performing an Rsync backup, XSIBackup will preserve the snapshots on the remote end. Some people might find it extremely useful to keep the snapshots on the backed up VM, you can consolidate them by deleting the snapshots.
I'm not quite getting you, but in short, yes: the crontab is added to the ESXi init script.
We have updated the information here:
[url=https://33hops.com/xsibackup-pro-borgbackup-support.html]Deprecated (c)XSIBackup Borg support[/url]
Regarding Borg backups, depending on the Linux/ Unix distro you use, you may need to exchange keys manually to enable passwordless communication, although with CentOS, RHEL, Fedora and FreeBSD you can use the [b]--link-srv[/b] command to achieve this goal.
It might work with other OSs too, if they pledge to [b]init.d[/b] or [b]systemd[/b] standards. Key exchange will work with almost any OS that has OpenSSH installed, the weakest point is service restart, but you can fix that with a full reboot.
This command is wrong:
# ./xsibackup --backup-prog=borg --backup-point=/backups/my-borg-repo --backup-type=custom \
--backup-vms="MyVM1,MyVM2!MyVM2_3.vmdk;MyVM2_4.vmdk"it should be:
# ./xsibackup --backup-prog=borg --backup-point=10.0.0.1:22:/backups/my-borg-repo --backup-type=custom \
--backup-vms="MyVM1,MyVM2!MyVM2_3.vmdk;MyVM2_4.vmdk"Borg backups work only over IP (our fault, there's wrong information, we'll correct it now), you must parse the URL of a working and accesible Borg server like 10.0.0.1:22:/path/to/borg/repo
You don't have to, have you run the command ./xsibackup [b]--install-cron[/b]?
Please, read the docs, it's all there:
[url=https://33hops.com/xsibackup-cron-how-to.html]XSIBackup Cron How to[/url]
You even have an explanatory video, step by step in Youtube:
[url=https://www.youtube.com/watch?v=hv2JPdVjglA&t=53s]Youtube video[/url]
Please, read this post thoroughly, it offers all the details:
[url=https://33hops.com/xsibackup-pro-borgbackup-support.html]Deprecated (c)XSIBackup Classic Borg Backup support[/url]
If you find something that is obscure, could be explained better or you just don't understand, please let us know and will improve the text.
### Forum admin 2017-08-02 ###
1 - XSITools is a dedupication tool, you can't use it to backup to an inline already deduplicated FS like LessFS. Well, you can do whatever you want, but it's useless, you want get any benefit and it will soon clogg your hardware.
2 - XSITools stores chunks of data in repositories, you can't turn on a VM backed up in an XSITools repository, you must first restore it to a regular datastore.
### Support ###
You will get better results if you use XSITools on a NAS device with a regular FS like EXT4, EXT3 or XFS, as their limits are far beyond VMFSs, in any case VMFS should offer you margin enough to accumulate some Tb of data.
Have you used the restore command to restore the VM from the XSITools repository?, or you are trying to switch it on directly from the repo?.
For this type of personalized support requests, please contact Support if you are a Pro user, we'll be glad to help you. The forum should be used for more general topics.
You can achieve that by running a script triggered by the --on-error argument which would in turn send an e-mail. Contact support if you need more help.
You have different approaches to solve this situation:
- [url=https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-0591F865-91B5-4311-ABA6-84FBA5AAFB59.html]Create Affinity Rules[/url] to prevent VMs from migrating while being backed up
- Disable the vMotion VMkernel interface
This URL covers the topic in detail:
[url=https://www.yellow-bricks.com/2017/01/17/disable-drs-single-host-cluster/]Disable DRS[/url]
Disabling the vMotion interface before the backup job and enabling it again once it finishes is probably something to take on account.
[b]The nitty gritty details:[/b]
To disable DRS for Virtual Machine Kernel port:
- List IPv4/6 ports: esxcli network ip interface ipv4/6 get
Once we have the port names, we can enable/disable them as needed.
vim-cmd hostsvc/vmotion/vnic_set [vnic]
vim-cmd hostsvc/vmotion/vnic_set vmk0
Disabling vMotion Port:
vim-cmd hostsvc/vmotion/vnic_unset [vnic]
vim-cmd hostsvc/vmotion/vnic_unset vmk0
We will be adding regular expressions some way in the near future, but not to the free version
I really don't know what was happening to you, but it has to be some sort of missunderstanding, or something you asume works in a different way. There are thousands of XSIBackup users, we launch cron jobs every day, and although some people have had trouble with hanged crond services, nobody ever reported this issue.
Please, follow every step in the acompanying guide and make sure you are not skipping anything. The procedure has been revised a number of times.
Does the OS see the disk in full size?
Have you reinitialized the LessFS repository?
Maybe you are assuming you can add up space and keep your data.
Also take the following into account:
XSINAS is probably the lightest deduplication appliance, in any case, as any other inline deduplicated FS is very hungry in resources and those resources needs will grow up exponentially. XSIBACKUP-PRO offers XSITools which is a much more convenient way to deduplicate your VM's data once you cross a certain limit in size. Using XSINAS as a realtime FS is not recommended and you do it at your own risk.
Still XSINAS can be a very helpful tool in some circumstances, just as long as you never forget what it is, how it works and what are its limits (just like a knife).
Remove the [b]root@[/b] and try again. If you get the error, that means that the receiving party does not allow implicit authentication. If that's the case, editing the OpenSSH config file might do it.
In any case you're the only user with this problem, so whatever the problem is has to be related to the config on your destination server. Please provide all the details to ask for further help. We still don't know what your backup server is at 192.168.0.115: ESXi?
Paste your full log so that we have all the relevant information.
We didn't receive any from from your part.
You will receive the software now manually.
Please make sure that any e-mail address from 33hops.com is allowed to deliver to your inbox or provide an alternative e-mail address.
I don't see any line in the SMTP conversation confirming delivery, like:
235 2.7.0 Authentication successful
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
250 2.0.0 Ok: queued as 81409211B7
221 2.0.0 ByePort 25 is generally reserved for inter-SMTP communication, maybe that's your problem. Try using 587 instead or use a different server.
[b][url=https://linux.die.net/man/1/rsync]--server[/url][/b] is an internal Rsync option.
[b]/mnt/Storage/esxi[/b] does not seem to be an ESXi mount point.
[b]rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0][/b] seems to indicate the sending part was not able to understand the protocol version the receiving side was using.
In short, [b]XSIBACKUP-FREE 9.0.2[/b] is only able to Rsync files between two ESXi boxes. Maybe you tried to Rsync to other OS?
When you run XSIBackup manually the log is printed on-screen, if you use the crontab it will be written to [b]xsi-dir/xsibackup-cron.log[/b]
Facts point in the direction that this behaviour might have to do with the fact that XSIBackup omits the user before the server address (the [b]root@[/b] part). By doing this SSH asumes the user is the currently logged in as in the ESXi system.
Try to run this manually and see if you get the same error
./xsibackup-rsync -av -e 'ssh -i ../xsibackup_id_rsa' /vmfs/volumes/VMI/Filer_SRV08/Filer_SRV08_0-flat.vmdk 192.168.0.115:/mnt/Storage/esxiThis post can also shed some light on the matter:
[url=https://askubuntu.com/questions/539719/rsync-error-while-transfering-data-from-one-server-to-another]Ask Ubunto Rsync error[/url]
We had already taken this feature request into account for future releases, but it will be added to the Pro version only. It will most probably come out this summer with [b]XSIBACKUP-PRO 10[/b]
You must parse just a number, we already corrected the manual. Thank you for the feedback.
Hello.
I was using xsibackup v4.7.2 for backuping VMs between two ESXi 6.0u1 hosts - worked great. Recently I updated to ESXi 6.0u2 (build 4192238). Because DSA auth is no longer supported I updated xsibackup to newest version - v9.0.1.
I got a lot of problems - locking vm files, xsi was looking for "datastore1" even when I am using "datastore" name etc. - same thing with "xsi-dir". But the biggest is problem with rsync, which is giving me errors:
[ Mon Mar 6 20:00:05 UTC 2017 ] ERROR CLRSYNC6, details: [SRVTERM] error: rsync error, details: kex protocol error: type 7 seq 781868 kex protocol error: type 7 seq 1461639
I tried to change xsi version to another one I found - v6.0.10. Same thing. Backuping gets a long time but at the end console shows errors, same on e-mail:
• kex protocol error: type 7 seq 1428487
• kex protocol error: type 7 seq 676679
• kex protocol error: type 7 seq 749200
(three errors copying one vm)
Where can I get older version like v5.1.6 of xsibackup?