Menu

xsibackup do nothing

2016-11-06
2016-11-16
  • Leonid Tsvetinovich

    Hi,
    I'm new to xsibackup and just try to get it working.
    I have it installed in defauld directory on ESXi 6.0.2 host.
    Running ./xsibackup alone returns help.
    --link-srv worked fine.
    ssh -o StrictHostKeyChecking=no -i xsibackup_id_rsa root@[IP] connects without asking for a password.
    But when I try to run real command like ./xsibackup --backup-point="[IP]:22:/vmfs/volumes/datastore1" --backup-type=custom --backup-vms=[VM name no spaces] --test-mode=true (with or without --test-mode=true) nothing happens.
    Command just silently exit.

    What could be wrong?

    Thanks in advance.
    Leonid.

     
  • 33HOPS

    33HOPS - 2016-11-06

    O.K., I guess you mean 6.0 Update 2, it could be equivalent to 6.0.2 somwhow, but VMWare does not use that naming. That version is tested and XSIBackup works well in it. Send us a form:

    https://33hops.com/formulario-de-contacto.asp

    so that we can send you the software via e-mail. There may be some sort of curruption in the copy you are using. Did you edit it in any text editor?

    (c)XSIBackup: (c)VMWare (c)ESXi Backup

     

    Last edit: 33HOPS 2020-11-27
  • Leonid Tsvetinovich

    Heh, you're right, it is 6.0 Update 2.
    I didn't even open the text in any editor.
    I submitted the contact form.

    Thank you.

     
  • 33HOPS

    33HOPS - 2016-11-06

    I am afraid we didn't receive it, please, send it again.

    (c)XSIBackup: (c)VMWare (c)ESXi Backup

     

    Last edit: 33HOPS 2020-11-27
  • Vyacheslav Fursov

    Did you figure out solution?

    I have same issue:

    • When I start xsibackup from ESXI console - everything works.
    • But when I start from the remote host, it does nothing, - just exits:
    #Here I'm trying to execute via SSH from remote and nothing happens:
    slavik@dev:~$ ssh root@ns529612 "/vmfs/volumes/datastore1/xsi-dir/xsibackup"
    slavik@dev:~$
    
    #here I'm logging by SSH - see key based login is working:
    slavik@dev:~$ ssh root@ns529612
    The time and date of this login have been sent to the system logs.
    
    The ESXi Shell can be disabled by an administrative user. See the
    vSphere Security documentation for more information.
    [root@ns529612:~] 
    
    #Here trying exactly same command again on ESXI and it works:
    [root@ns529612:~] /vmfs/volumes/datastore1/xsi-dir/xsibackup
    
    ###################################################################################
    #                                                                                 #
    #  (c) XSIBACKUP-FREE 6.0.7 backup for (c) VMWARE ESXi Hypervisor by 33hops.com   #
    #                                                                                 #
    ###################################################################################
    
    XSIBackup PID: 2982791
    Preparing help, please wait...
    
     

    Last edit: Vyacheslav Fursov 2016-11-14
  • Vyacheslav Fursov

    after I spent time looking into issue, I found, that this works:
    slavik@dev:~$ ssh -t -t root@ns529612 "/vmfs/volumes/datastore1/xsi-dir/xsibackup"

    As explained here:
    http://stackoverflow.com/a/7122115/752948

    -t Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.

     

    Last edit: Vyacheslav Fursov 2016-11-14
  • 33HOPS

    33HOPS - 2016-11-16

    This is a general Linux issue, thanks for the info.

     

    Last edit: 33HOPS 2016-11-16

Log in to post a comment.

MongoDB Logo MongoDB