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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#26 Re: General matters » Missing cron file & will a move to xsibackup-pro require a new install » 2017-07-13 10:33:55

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]

#27 Re: General matters » Hot backup: Is consolidate on destination posisble? » 2017-07-09 10:45:20

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.

#28 Re: General matters » Cron Problem Restart » 2017-07-07 09:49:09

I'm not quite getting you, but in short, yes: the crontab is added to the ESXi init script.

#29 Re: General matters » Borg Backup » 2017-06-28 14:57:01

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.

#30 Re: General matters » Borg Backup » 2017-06-28 14:46:26

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

#31 Re: General matters » Cron Problem Restart » 2017-06-28 14:34:10

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]

#32 Re: General matters » Borg Backup » 2017-06-28 11:56:58

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.

#33 Re: General matters » XSINAS - LessFS not seeing additional space » 2017-06-28 11:51:33

### 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.

#34 Re: General matters » Feature Request: Send email to a different address on failure » 2017-06-28 11:43:38

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.

#35 Re: © XSITools » DRS Cluster Compatibility » 2017-06-28 11:40:44

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

#36 Re: General matters » XSIBackup VM exclusions from --backup-type=running or all » 2017-06-28 11:24:16

We will be adding regular expressions some way in the near future, but not to the free version

#37 Re: General matters » Dont run from crond job » 2017-06-23 14:31:39

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.

#38 Re: General matters » XSINAS - LessFS not seeing additional space » 2017-06-23 09:43:59

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).

#39 Re: Rsync » [Filer_SRV08] error: --server: Command not found. » 2017-06-21 11:54:55

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.

#40 Re: General matters » Download not working. Expired key » 2017-06-21 10:18:42

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.

#41 Re: General matters » Yet another email problem » 2017-06-21 10:15:44

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 Bye

Port 25 is generally reserved for inter-SMTP communication, maybe that's your problem. Try using 587 instead or use a different server.

#42 Re: Rsync » [Filer_SRV08] error: --server: Command not found. » 2017-06-19 16:09:09

[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/esxi

This 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]

#43 Re: General matters » Wildcard for "all VMs except..."? » 2017-06-19 14:22:05

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]

#44 Re: General matters » --backup-room[=NNNGb] manual error (?) » 2017-06-17 09:37:44

You must parse just a number, we already corrected the manual. Thank you for the feedback.

#45 Rsync » kex protocol error: type 7 seq » 2017-04-22 17:31:21

roberto
Replies: 2

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?

Board footer