blabl...@gmail.com
unread,Mar 19, 2019, 11:49:39 AM3/19/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
I have a big problem, i can´t restore 1 vmdk, all other ones i testet with work well
debian8-fd (100): python-fd.c:2741-33632 python-fd: BareosFdPluginVMware:start_restore_file() called with python:module_path=/usr/lib/bareos/plugins/vmware_plugin:module_name=bareos-fd-vmware:dc=mydatacenter:folder=/:vmname=myvm:vcserver=vcenter:vcuser=us...@vsphere.local:vcpass=ultrahighsecurepassword%14
debian8-fd (150): restore.c:497-33632 Got hdr: Files=0 FilInx=2 size=148 Stream=1, Unix attributes.
debian8-fd (130): restore.c:514-33632 Got stream: Unix attributes len=148 extract=0
debian8-fd (150): attr.c:73-33632 Attr: 2 3 /VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk
debian8-fd (150): attr.c:79-33632 Got Attr: FilInx=2 type=3
debian8-fd (150): attr.c:132-33632 unpack_attr FI=2 Type=3 fname=/VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk attr=A A IHA A A A A -B BAA B BcbNal BcbNal BcbNal A A C lname= attrEx= datastr=0 delta_seq=0
debian8-fd (100): restore.c:566-33632 File VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk
attrib=A A IHA A A A A -B BAA B BcbNal BcbNal BcbNal A A C
attribsEx=
debian8-fd (100): restore.c:568-33632 === msglen=148 attrExlen=0 msg=2 3 /VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk
debian8-fd (150): fd_plugins.c:1230-33632 call plugin createFile stream=1 type=3 LinkFI=0 File=/var/lib/bareos/storage//VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk
debian8-fd (150): fd_plugins.c:1232-33632 attrEx=""
debian8-fd (100): python-fd.c:2741-33632 python-fd: BareosFdPluginVMware:create_file() called with RestorePacket(stream=1, data_stream=2, type=3, file_index=2, linkFI=0, uid=0, statp="StatPacket(dev=0, ino=0, mode=0700, nlink=0, uid=0, gid=0, rdev=0, size=-1, atime=1550636709, mtime=1550636709, ctime=1550636709, blksize=4096, blocks=1)", attrEx="", ofname="/var/lib/bareos/storage/VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk", olname="", where="/var/lib/bareos/storage/", RegexWhere="<NULL>", replace=97, create_status=2)
debian8-fd (150): python-fd.c:1183-33632 python-fd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 66, in create_file
return bareos_fd_plugin_object.create_file(context, restorepkt)
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 296, in create_file
cbt_data = self.vadp.restore_objects_by_objectname[objectname]['data']
KeyError: ('/VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk',)
debian8-fd (850): message.c:1557-33632 Enter Jmsg type=3
debian8-fd (800): jcr.c:1005-33632 set_jcr_job_status(Restore-VM.2019-03-19_16.21.39_17, f)
debian8-fd (800): jcr.c:1016-33632 OnEntry JobStatus=R newJobstatus=f
debian8-fd (800): jcr.c:1026-33632 Set new stat. old: R,0 new: f,9
debian8-fd (800): jcr.c:1031-33632 leave setJobStatus old=R new=f
debian8-fd (850): message.c:858-33632 Enter dispatch_message type=3 msg=debian8-fd JobId 33632: Fatal error: python-fd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 66, in create_file
return bareos_fd_plugin_object.create_file(context, restorepkt)
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 296, in create_file
cbt_data = self.vadp.restore_objects_by_objectname[objectname]['data']
KeyError: ('/VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk',)
debian8-fd (850): message.c:1129-33632 DIRECTOR for following msg: debian8-fd JobId 33632: Fatal error: python-fd: Traceback (most recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 66, in create_file
return bareos_fd_plugin_object.create_file(context, restorepkt)
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 296, in create_file
cbt_data = self.vadp.restore_objects_by_objectname[objectname]['data']
KeyError: ('VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk',)
debian8-fd (130): restore.c:601-33632 Outfile=/var/lib/bareos/storage//VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk create_file status=2
debian8-fd (800): jcr.c:1005-33632 set_jcr_job_status(Restore-VM.2019-03-19_16.21.39_17, T)
debian8-fd (800): jcr.c:1016-33632 OnEntry JobStatus=f newJobstatus=T
debian8-fd (10): restore.c:1088-33632 End Do Restore. Files=0 Bytes=0
debian8-fd (100): heartbeat.c:153-33632 Send kill to heartbeat id
debian8-fd (800): jcr.c:1005-33632 set_jcr_job_status(Restore-VM.2019-03-19_16.21.39_17, T)
debian8-fd (800): jcr.c:1016-33632 OnEntry JobStatus=f newJobstatus=T
debian8-fd (100): dir_cmd.c:2447-33632 filed>stored: read close session 20
debian8-fd (800): jcr.c:1005-33632 set_jcr_job_status(Restore-VM.2019-03-19_16.21.39_17, E)
debian8-fd (800): jcr.c:1016-33632 OnEntry JobStatus=f newJobstatus=E
debian8-fd (100): dir_cmd.c:2492-33632 Done in job.c
debian8-fd (100): dir_cmd.c:2495-33632 2000 OK storage end
debian8-fd (5): dir_cmd.c:2515-33632 end_restore_cmd
debian8-fd (150): fd_plugins.c:399-33632 plugin_ctx=7fad50251ba8 JobId=33632
debian8-fd (150): fd_plugins.c:201-33632 name=<NULL> len=0 plugin=python-fd.so plen=6
debian8-fd (150): fd_plugins.c:239-33632 Event 6 disabled for this plugin.
debian8-fd (150): fd_plugins.c:432-33632 Cancel return from generate_plugin_event
debian8-fd (100): dir_cmd.c:511-33632 Quit command loop. Canceled=1
debian8-fd (200): runscript.c:149-33632 runscript: running all RUNSCRIPT object (ClientAfterJob) JobStatus=f
debian8-fd (110): dir_cmd.c:549-33632 End FD msg: 2800 End Job TermCode=102 JobFiles=0 ReadBytes=0 JobBytes=0 Errors=1 VSS=0 Encrypt=0
debian8-fd (850): message.c:1557-33632 Enter Jmsg type=4
debian8-fd (850): message.c:858-33632 Enter dispatch_message type=4 msg=debian8-fd JobId 33632: Error: fd_plugins.c:1244 Plugin createFile call failed. Stat=2 file=/var/lib/bareos/storage//VMS/mydatacenter/myvm/[iscsi] myvm/myvm.vmdk