Last updated on Monday 28th of February 2022 08:52:48 PM

©XSIBackup-Pro Classic 8.0.0, Backup to other OpenSSH + Rsync backend

 Please note that this post is relative to old deprecated software ©XSIBackup-Classic. Some facts herein contained may still be applicable to more recent versions though.

For new instalations please use new ©XSIBackup which is far more advanced than ©XSIBackup-Classic.

Before version 8, you could only backup to another ©ESXi box. This was very convenient, as you could store a copy of your VMs ready to be switched on whenever you may need to. Since version 8.0.0, we have added support to Rsync to virtually any kind of device equipped with: OpenSSH and Rsync. This will allow you to backup to almost any Linux distro, FreeBSD, OSX and even Windows with CygWin.

The way to accomplish this is exactly the same than Rsyncing to another ©ESXi box, just parse the remote system's IP and port plus the remote folder where you want to store your backup to the --backup-point argument: --backup-point=192.168.3.181:22:/backup/vm-backups. ©XSIBackup-Pro Classic will detect the sort of OS and act accordingly, whether using the built in xsibackup-rsync version when working with a remote ©ESXi box or looking for the remotely installed Rsync binary. In case Rsync is not available in the remote box, ©XSIBackup-Pro Classic will prompt you to install it. If you have an OS that is compatible with the xsibackup-rsync binary, like: RHEL/CentOS 6 or Fedora, you can force it's use through the :u (force Update) modifier, by just parsing it after the rsync string in the --backup-prog argument, i.e. --backup-prog=rsync:u

Example1:

This command will auto detect the OS and select to use xsibackup-rsync or the remote Rsync binary accordingly.

# ./xsibackup --backup-prog=rsync --backup-point="192.168.3.181:22:/backups/vm-backups" --backup-type=custom \
--backup-vms="MyVM1,MyVM2" --mail-from=email.sender@yourdomain.com \
--mail-to=email.recipient@anotherdomain.com --smtp-srv=smtp.33hops.com:25 --smtp-port=25 \
--smtp-usr=username --smtp-pwd=password


Example2:

This command will force xsibackup-rsync to be transfered to the remote system and used instead of the eventually remotely available (or not) Rsync. Only tested in CentOS 6.8, try and/or use at your own discretion.

# ./xsibackup --backup-prog=rsync:u --backup-point="192.168.3.181:22:/backups/vm-backups" --backup-type=custom \
--backup-vms="MyVM1,MyVM2" --mail-from=email.sender@yourdomain.com \
--mail-to=email.recipient@anotherdomain.com --smtp-srv=smtp.33hops.com:25 --smtp-port=25 \
--smtp-usr=username --smtp-pwd=password