Hello,

you probably found a bug in the plugin, technically it's not necessary to 
connect vCenter for
restore to local VMDK file.

If you don't mind, please create a bugreport on https://bugs.bareos.org/

Regards,

Stephan

On 02/27/2018 12:51 PM, Stefan wrote:
> My vCenter server is a Virtual Machine itself, and I've created backups of 
> its VMDK using the Bareos VMware plugin. Now it's down and I need to restore 
> the VMDK from a backup. This, however, seems not to be possible, as the 
> plugins wants to connect to the vCenter server (my vCenter VM is called 
> vc46-1):
> 
> 
> 27-Feb 12:10 bareos46-1-fd JobId 3976: Warning: python-fd: Could not retrieve 
> SSL Cert from vc46-1.mobile.rz
> 27-Feb 12:10 bareos46-1-fd JobId 3976: Fatal error: python-fd: Traceback 
> (most recent call last):
>   File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 62, in plugin_io
>     return bareos_fd_plugin_object.plugin_io(context, IOP)
>   File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 358, in 
> plugin_io
>     self.vadp.keepalive()
>   File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 693, in 
> keepalive
>     if int(time.time()) - self.si_last_keepalive > 900:
> TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
> 
> 27-Feb 12:10 bareos-sd JobId 3976: Error: bsock_tcp.c:407 Write error sending 
> 60131 bytes to client:10.46.22.80:9103: ERR=Connection reset by peer
> 27-Feb 12:10 bareos-sd JobId 3976: Fatal error: read.c:156 Error sending to 
> File daemon. ERR=Connection reset by peer
> 27-Feb 12:10 bareos-sd JobId 3976: Error: bsock_tcp.c:452 Socket has errors=1 
> on call to client:10.46.22.80:9103
> 27-Feb 12:10 bareos-dir JobId 3976: Error: Bareos bareos-dir 17.2.4 (21Sep17):
>   Build OS:               x86_64-pc-linux-gnu debian Debian GNU/Linux 8.0 
> (jessie)
>   JobId:                  3976
>   Job:                    RestoreFiles.2018-02-27_12.10.37_04
>   Restore Client:         bareos-fd
>   Start time:             27-Feb-2018 12:10:39
>   End time:               27-Feb-2018 12:10:41
>   Elapsed time:           2 secs
>   Files Expected:         2
>   Files Restored:         0
>   Bytes Restored:         0
>   Rate:                   0.0 KB/s
>   FD Errors:              1
>   FD termination status:  Error
>   SD termination status:  Fatal Error
>   Termination:            *** Restore Error ***
> 
> 
> I would be happy if the plain VMDK file would just be extracted locally 
> therefore I tried the plugin option "python:localvmdk=yes", but that didn't 
> change the story.
> 
> How can I extract a backup of this VM without connecting to the vCenter 
> server?
> 

-- 
  Stephan Dühr                              stephan.du...@bareos.com
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-90
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to