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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-02-22 18:36:19

ajarrett
Member
Registered: 2018-01-16
Posts: 9

remote backup not working

Remote executing a backup with --host used to work but is not working now.

Command I'm using
/vmfs/volumes/m630-1_local/xsi-dir/xsibackup backupID=01 --host=<host> --time="Sun 00:00" --remote-xsipath=/vmfs/volumes/m630-2_local/xsi-dir --backup-point=/vmfs/volumes/Nas_Backup/VRTX-VMs --date-dir=yes --backup-type=custom --backup-vms="nervepoint" --mail-from=<from@email> --mail-to=<to@email> --smtp-srv=<smtphost> --smtp-port=25 --smtp-auth="none" --smtp-usr=any --smtp-pwd=any --debug-info=yes --exec=yes

The command executes.. copies the files over (subsequent executions states file already present).  Then says Executing remote backup on <IP address>

When I check ./xsibackup --watch=<IP> I get the below.

###############################################################################
#
# (c) XSIBACKUP-PRO 10.2.10 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################

Monitoring XSIBackup activity at <IP>
You can stop watching at any time by pressing [Control+C]
The remote backup process will continue at <IP>...
----------------------------------------------------------
Backup Id:                   01Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-02-22T14:55:26|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-02-22T18:12:17|  ###############################################################################
2018-02-22T18:12:17|     XSIBACKUP-PRO 10.2.10: new execution request
2018-02-22T18:12:17|  ###############################################################################
2018-02-22T18:12:17|
2018-02-22T18:12:18|  NOTICE: (c) XSIBackup will kill any previous processes, make sure you don't overlap backup jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:           416333                                                          m630-2
Thu, 22 Feb 2018 18:12:18 +0000                             IPv4: <IP>/255.255.255.224
VMware ESXi 6.5.0 build-6765664                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:                   01Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-02-22T18:12:20|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------

But then nothing else.  I see the Backup ID is correctly specified but that's it.

Offline

#2 2018-02-22 19:22:40

admin
Administrator
Registered: 2017-04-21
Posts: 2,055

Re: remote backup not working

This is a problem with the PID management. It will be solved in next main revision 10.3.0

UPDATE:

This ended up being --backup-prog not being parsed with the --host argument.

Offline

#3 2018-03-13 16:40:13

Howard
Member
Registered: 2018-03-13
Posts: 4

Re: remote backup not working

I am experiencing a very similar situation but on 10.3.1, have setup the licence file in case that was an issue

Still not working:

/vmfs/volumes/568a690c-c4e5b092-321a-00238b775fbe/xsi-dir # ./xsibackup --backup-point=10.0.2.230:/vmfs/volumes/datastore1/Backups --host=10.0.2.230    --remote-xsipath="."   --backup-type=custom --backup-vm
s="SECURE31-NoCert" --mail-to=h@b.com --use-smtp=1 --test-mode=false --debug-info=yes --exec=yes
###############################################################################
#
#  (c) XSIBACKUP-PRO 10.3.1 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################

Info: remote XSIBACKUP-PRO install dir has been set by means of the --remote-xsipath argument
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Remote xsi path set to: .
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Preparing to execute backup in remote server: 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File xsibackup already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File EULA already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File bin/xsidiff already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File bin/xsibackup-rsync already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File bin/pv already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/functions already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/mapblocks already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/onediff already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/sendmail already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/xsitools already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/host already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/borg already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/certify already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/custimgs already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/esxbackup already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/events already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/vmsregexp already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/onediff already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/onediffcert already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/restore already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File src/pro/smartinfo already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File conf/smtpsrvs already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File conf/xsiopts already present at server 10.0.2.230
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Executing remote backup on 10.0.2.230
Saving log locally to => xsibackup-cron-10.0.2.230.log
Killed
/vmfs/volumes/568a690c-c4e5b092-321a-00238b775fbe/xsi-dir #

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@



/vmfs/volumes/568a690c-c4e5b092-321a-00238b775fbe/xsi-dir # cat  xsibackup-cron-10.0.2.230.log
2018-03-07T18:07:33|  ###############################################################################
2018-03-07T18:07:33|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-07T18:07:33|  ###############################################################################
2018-03-07T18:07:33|

------------------------------------------------------------------------
(c) XSIDiff 1.0.6.1: Replication Software for (c) VMWare ESXi
(c) 33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved
------------------------------------------------------------------------

Key request:
0000 - 52 6e e3 4e 34 b5 bf 79-a9 06 0e ad 6e 3a 5b c3   Rn.N4..y....n:[.
0010 - ce 04 0b 29 81 52 80 f0-5a c1 6f fd 98 7d a6 fe   ...).R..Z.o..}..
0020 - 3e a9 5f 96 50 83 35 af-9a d6 b7 9c 58 a4 a1 87   >._.P.5.....X...

Instructions:
A key request file (size 48) has been saved to:
//request.key
Upload request.key file at your user account to get your license.

2018-03-07T18:07:34|  A request.key file has been generated in the root of the installation dir
2018-03-07T18:07:34|  You can use this request.key file to get a license for your (c) XSIDiff binary
2018-03-07T18:07:34|  Login here with your registered e-mail address: https://33hops.com/user-login.html
2018-03-07T18:07:34|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        217088523                                                          snsvm1
Wed, 07 Mar 2018 18:07:34 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-07T18:07:37|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-07T18:21:57|  ###############################################################################
2018-03-07T18:21:57|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-07T18:21:57|  ###############################################################################
2018-03-07T18:21:57|
2018-03-07T18:21:57|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        217091446                                                          snsvm1
Wed, 07 Mar 2018 18:21:57 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-07T18:22:00|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-07T18:30:36|  ###############################################################################
2018-03-07T18:30:36|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-07T18:30:36|  ###############################################################################
2018-03-07T18:30:36|
2018-03-07T18:30:37|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        217093406                                                          snsvm1
Wed, 07 Mar 2018 18:30:36 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-07T18:30:39|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-09T18:08:03|  ###############################################################################
2018-03-09T18:08:03|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-09T18:08:03|  ###############################################################################
2018-03-09T18:08:03|
2018-03-09T18:08:03|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        217543993                                                          snsvm1
Fri, 09 Mar 2018 18:08:03 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-09T18:08:05|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T15:47:15|  ###############################################################################
2018-03-13T15:47:15|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-13T15:47:15|  ###############################################################################
2018-03-13T15:47:15|
2018-03-13T15:47:16|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        218453260                                                          snsvm1
Tue, 13 Mar 2018 15:47:15 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T15:47:18|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T15:53:04|  ###############################################################################
2018-03-13T15:53:04|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-13T15:53:04|  ###############################################################################
2018-03-13T15:53:04|
2018-03-13T15:53:05|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        185391808                                                          snsvm1
Tue, 13 Mar 2018 15:53:04 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T15:53:07|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T16:23:56|  ###############################################################################
2018-03-13T16:23:56|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-13T16:23:56|  ###############################################################################
2018-03-13T16:23:56|
2018-03-13T16:23:56|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        218460302                                                          snsvm1
Tue, 13 Mar 2018 16:23:56 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T16:23:58|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T16:29:04|  ###############################################################################
2018-03-13T16:29:04|     XSIBACKUP-PRO 10.3.1: new execution request
2018-03-13T16:29:04|  ###############################################################################
2018-03-13T16:29:04|
2018-03-13T16:29:04|  NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:        218461625                                                          snsvm1
Tue, 13 Mar 2018 16:29:04 +0000                                  IPv4: 10.0.2.230/255.255.255.0
VMware ESXi 5.5.0 build-1623387                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknownIntel(R) Xeon(R) CPU            5140  @ 2.33GHz
Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T16:29:07|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
/vmfs/volumes/568a690c-c4e5b092-321a-00238b775fbe/xsi-dir #

Offline

#4 2018-03-13 17:27:36

ajarrett
Member
Registered: 2018-01-16
Posts: 9

Re: remote backup not working

My issue ended up being that I needed to specify "--backup-prog=vmkfstools" in the remote command.  While it defaults to this it was explained to me that with --host, since it is executing remotely, it needs this argument to be specified.

Offline

#5 2018-03-13 17:53:19

Howard
Member
Registered: 2018-03-13
Posts: 4

Re: remote backup not working

Many thanks, that has moved it on significantly but still have an error.
Its not picking up the custom request to backup a specified VM:



./xsibackup --backup-point=/vmfs/volumes/datastore1/Backups  --host=10.0.2.230    --remote-xsipath="."   --backup-type=custom --backup-vms="SECURE31-NoCert" --mail-to=a@b.com --use-smtp=1 --backup-prog=vmkfstools




2018-03-13T17:46:28|  Backup user is: root
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T17:46:28|  Backup program is: vmkfstools
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T17:46:29|  --backup-point found at /vmfs/volumes/datastore1/Backups (filesystem: VMFS-5)
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T17:46:30|  Getting list of all VMs...
---------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------
2018-03-13T17:46:30|  Error NOVM2BAK: no VMs to backup

Offline

#6 2018-03-13 18:05:08

ajarrett
Member
Registered: 2018-01-16
Posts: 9

Re: remote backup not working

Not completely related but I would also remove the --remote-xsipath.  I was told to only use this if the auto detect takes too long and that it's better to let it do the auto detection whenever possible.

The list of all VMs appears to be blank.  Add "--debug-info=yes" and it will append some debug stuff to the email.

Offline

#7 2018-03-13 18:17:41

Howard
Member
Registered: 2018-03-13
Posts: 4

Re: remote backup not working

I got this, still cant find the vm

Will have to look tomorrow

many thanks


Available space in device /vmfs/volumes/datastore1/Backups after backup: 433 Gb.
Complete backup elapsed time: 0 min
DEBUG INFORMATION:

• backuptype: custom
• backupprog: vmkfstools
• debuginfo: yes
• from: 10.0.2.201
• exec: yes
• DATE DIR:
• XSIDIR: /
• LAUNCHED BY: cron
• KEY: -4 -o StrictHostKeyChecking=no -i "//xsibackup_id_rsa"
• PID: 218483645
• ESXi VERSION: 5.5.0
• [ Tue Mar 13 18:14:31 UTC 2018 ] ERROR (NOVM2BAK) details Error: no VMs to backup

Offline

Board footer