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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 General matters » Installation problem / no key in script / where can i find it? » 2019-07-11 16:49:06

dsteuer
Replies: 1

Hi,

I am having trouble installing XSIBackup Pro.
The installer build a script without a download key.

I dont know if this is on purpose.
If so please tell me: Where can I find the download key?

Here is a snip out of the script.
I suppose after '?key=' should be the key. Instead there is this:

...
echo "Downloading software" ; \
echo "---------------------------------------------------------------------" ; \
wget /?key=Write at least 2 characters in the Name field<br /><br /><button id="btncancel">Close</button> -O xsibackup.zip ; echo "Reloading firewall" ; \
echo "---------------------------------------------------------------------" ; \
...

Thanks for any help!
Greetings
Daniel

#2 General matters » Backup finishes always "No Errors detected" - even if backup fails » 2018-03-26 09:57:16

dsteuer
Replies: 7

Hi,
i get always a success Mail.
But here (log) I should have gotten an error message, dont I?
Well, despite this log/case I get success Mails even if copy=KO! Is this normal?
And i dont know if the "ERROR: cannot locate .ERR file at []" errors are OK.

The Backup is OK most of the time.
But i have to check every email because of the allwys success thing.

Please tell me what i am doing wrong?

Greetings
Daniel


2018-03-24T08:18:24|  [Zarafa] info: file [Zarafa-flat.vmdk]...
2018-03-24T08:18:25|  [Zarafa] info: file size check | OK [ 171798691840B | 171798691840B ]
-----------------------------------------------------------------------------------------------------------------------------
2018-03-24T08:18:25|  [Zarafa] info: comparing first 500M of [Zarafa-flat.vmdk]...
-----------------------------------------------------------------------------------------------------------------------------
2018-03-24T08:18:34|  [Zarafa] info: (source) first 500M hash is: 0f1e0ac7ff7c38cb1a59ec6fdb543bcce0d33df2
2018-03-24T08:18:34|  [Zarafa] info: (target) first 500M hash is: 85587e5900d2dc11a730d0f712a0180832b38014
-----------------------------------------------------------------------------------------------------------------------------
2018-03-24T08:18:34|  [Zarafa] error DIFQMSH4: first 500M mistmatch...
-----------------------------------------------------------------------------------------------------------------------------
ERROR: cannot locate .ERR file at []
2018-03-24T08:18:35|  [Zarafa] measure DIFRMVMX: took measure, renamed remote .vmx file to reinitialize OneDiff
ERROR: cannot locate .ERR file at []
2018-03-24T08:18:46|
ERROR: cannot locate .ERR file at []
-----------------------------------------------------------------------------------------------------------------------------
2018-03-24T08:18:46|  No errors detected in backup
----------------------------------------------------------------------------

#3 Re: General matters » Problem restoring VM from one ESXi to another (*solved*) » 2018-03-01 11:47:18

Hi again,
it seems I can answer my onw question:

1. Double check you have the licence info rigth.
I would suggest you do this to make sure everything is in place:

run "esxcfg-nics -l" to see the mac address of your 1st network card.
Transfer the licence file with said mac address to your server and into the xsi-dir
copy the file to license.key
Now you have the file twice but you can check easily if the right file was copied.
If in doubt you can also "md5sum" both files - and if the hash is equal you are set.
Maybe you have to reboot the ESXi but i am not sure of that.

2. dont use rsync as backup method, use --backup-prog=OneDiff
This mirrors my VM to another ESXi - exactly what i wanted.

Maybe it helps someone smile

#4 General matters » Problem restoring VM from one ESXi to another (*solved*) » 2018-03-01 10:41:01

dsteuer
Replies: 8

Hi @all.

Maybe im doing something wrong.
I tried as in the manpage described - but i done goofed.
So im happy for any help.

Also: Is this backup/restore technique recommended or would i be better off otherwise?


I have the 2 ESXi Server both 6.0.0 U1
For testing i set up a VM "backuptest"

I backed up on ESXi02 (100.2) to ESXi01 (100.4) with:

./xsibackup --mail-to=my@mail.de --smtp-srv=192.168.100.222 --smtp-port=25 --mail-from=esx@domain.de --smtp-auth=none --smtp-usr=none --smtp-pwd=123 --backup-point="192.168.100.4:22:/vmfs/volumes/datastore1/backup" --backup-type=custom  --backup-vms="backuptest" --backup-prog=rsync

wich worked and resulted on ESXi01 in:

[root@esxi-01:/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup] find
./backuptest
./backuptest/backuptest_1.vmx
./backuptest/backuptest_1.vmsd
./backuptest/backuptest_1.nvram
./backuptest/backuptest-1.vmdk
./backuptest/backuptest-1-flat.vmdk
./backuptest/backuptest_1-Snapshot4.vmsn
./backuptest/backuptest_1-Snapshot5.vmsn
./esxi2.domain.de-192.168.100.2-config.tgz

I deleted my test VM on ESXi2 and tried to restore it
(A former test with local backup and restore worked)

At ESXi02:
[root@esxi2:/vmfs/volumes/56d94b94-f0074f12-e837-f0795936b658/xsi-dir]
./xsibackup --restore-vms=192.168.100.4:22:/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/backuptest/

and i get:

RESTORE VIRTUAL MACHINES:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Detected OpenSSH server at 192.168.100.4:22 and folder at "/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/backuptest/"
Checking the type of backup...
ls: /vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/backuptest//config: No such file or directory
The remote folder "/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/backuptest/" at 192.168.100.4:22 seems to contain a VM
Where do you want that backup to be restored to?: /vmfs/volumes/datastore1/
Source: "/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/backuptest/"
Target: "/vmfs/volumes/datastore1"
sh: /vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/backup/bin/xsibackup-rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.0]
Killed


My xsi-dir on ESXi01
[root@esxi-01:/vmfs/volumes/5a8c2b2f-f17d687a-edbe-d89d6718da5c/xsi-dir] find
.
./bin
./bin/dd
./bin/pv
./bin/xsibackup-rsync
./bin/xsidiff
./bin/xsidiff___hash
./bin/xsibackup-rsync___hash
./bin/pv___hash
./conf
./conf/smtpsrvs
./conf/xsiopts
./conf/smtpsrvs___hash
./conf/xsiopts___hash
./src
./src/borg
./src/certify
./src/esxbackup
./src/events
./src/functions
./src/instcron
./src/mapblocks
./src/onediff
./src/pro
./src/pro/vmsregexp
./src/pro/vmsregexp___hash
./src/restore
./src/sendmail
./src/smartinfo
./src/xsitools
./src/functions___hash
./src/mapblocks___hash
./src/borg___hash
./src/esxbackup___hash
./src/events___hash
./src/onediff___hash
./src/restore___hash
./src/sendmail___hash
./src/smartinfo___hash
./src/xsitools___hash
./EULA
./README.txt
./xsibackup
./license.key
./xsibackup_id_rsa.pub
./request.key
./xsibackup-cron-192.168.100.2.log
./xsibackup_id_rsa
./.ERR-061c58b3668b2f526a40d76d185078c2bb28f070
./xsibackup___hash
./EULA___hash



My xsi-dir on ESXi02
[root@esxi2:/vmfs/volumes/56d94b94-f0074f12-e837-f0795936b658/xsi-dir] find
.
./bin
./bin/dd
./bin/pv
./bin/xsibackup-rsync
./bin/xsidiff
./bin/xsibackup-rsync___hash
./bin/xsidiff___hash
./conf
./conf/smtpsrvs
./conf/xsiopts
./src
./src/borg
./src/certify
./src/esxbackup
./src/events
./src/functions
./src/instcron
./src/mapblocks
./src/onediff
./src/pro
./src/pro/vmsregexp
./src/restore
./src/sendmail
./src/smartinfo
./src/xsitools
./EULA
./README.txt
./xsibackup
./xsibackup-cron.001
./license.key
./request.key
./xsibackup_id_rsa.pub
./xsibackup-cron.log
./xsibackup-cron
./xsibackup_id_rsa
./.ERR-5a51b769b42a22c64335e2f2fde362af35831470

Board footer