Hello everyone,
I recently tried to restore a virtual server (vmname=wiki) (backup via
vmware)
Restore directly on the VM (when she is powered off)(without plugin option)
works perfectly.
However, when I try to set parameters (either via bconsole or webui) I get
errors, here are some examples
With the config string :
"python:module_name=bareos-fd-vmware:dc=OVH:folder=/:vmname=wiki2:vcserver=MyVsphereIP:vcuser=MyAdminUser:vcpass=MyP@ssW@rd$"
OR
with : python:vmname=wiki2
I got a folder error, but my VM are on root ( / )
20-Jan 17:32 yoda-fd JobId 3190: Warning: python3-fd-mod: MAC address
00:50:00:00:00:00 already exists in VM(s): ['/wiki'], restored VM will get
generated MAC address
20-Jan 17:32 yoda-fd JobId 3190: Warning: python3-fd-mod: UUID
423bd60a-9d14-e795-9azd-8ffeergzergaa1ezgz1d already exists in VM: /wiki,
restored VM will get new generated UUID
20-Jan 17:32 yoda-fd JobId 3190: python3-fd-mod: VM folder not found,
creating it
20-Jan 17:32 yoda-fd JobId 3190: Fatal error: bareosfd: Traceback (most
recent call last):
File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 38, in
handle_plugin_event
return bareos_fd_plugin_object.handle_plugin_event(event)
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 771, in
handle_plugin_event
return self.start_restore_job()
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 460, in
start_restore_job
return self.vadp.prepare_vm_restore()
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 1172, in
prepare_vm_restore
if not self.create_vm():
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 1523, in
create_vm
target_folder = self.find_or_create_vm_folder(self.options["folder"])
File "/usr/lib/bareos/plugins/BareosFdPluginVMware.py", line 1311, in
find_or_create_vm_folder
return all_vm_folders[folder_name]
KeyError: ''
---
Do you have an example of plugin configuration for this, because I can't
find it on the documentation
Thank you for your time
PS : I Change UUID and Mac address
Simon
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/f1939194-f8f5-4002-ac84-4076f79426a5n%40googlegroups.com.