Hi,
there are examples in the documentation at
https://docs.bareos.org/TasksAndConcepts/Plugins.html#vmware-plugin
to restore to different VM name by passing plugin options like the following on restore:
python:restore_datastore=datastore2:vmname=testvm1restored:restore_powerstate=off
May it be that you are still using a VMFS 5 datastore?
What was the virtual disk size?
I've seen such an error message when the Bareos VMware plugin tried to recreate a VM on an VMFS 5 datastore
with a 80GB disk. Unfortunately that error message returned be the API is not very helpful as it does
not really tell the cause.
Regards,
Stephan
On 3/11/23 16:41, Timas A wrote:
> Hi,
>
> /*Since Version >= 22.0.0 it also backs up the VM configuration metadata so that it can recreate deleted VMs and then restore the VM disks.*/
> /*
> */
> What plugin parameters to pass to backup VM configuration metadata? Since I can only see the vmdk disk after the backup, I don't understand how restoring VM to another location happens. There is no mention of this in the documentation./*
> */
>
> I'm getting this output:
>
> JobId 22:Fatal error: python3-fd-mod: Error creating VM, name testvm1restored, exception (vim.fault.InvalidDeviceSpec) {
> dynamicType = <unset>,
> dynamicProperty = (vmodl.DynamicProperty) [],
> msg = "Invalid configuration for device '3'.",
> faultCause = <unset>,
> faultMessage = (vmodl.LocalizableMessage) [],
> property = 'VirtualDisk.capacityInKB',
> deviceIndex = 3
>
> --
> 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...@googlegroups.com <mailto:
bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/9b9bf0a6-0d16-4658-bbb9-fa24d08474b7n%40googlegroups.com <
https://groups.google.com/d/msgid/bareos-users/9b9bf0a6-0d16-4658-bbb9-fa24d08474b7n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Stephan Dühr
stepha...@bareos.com
Bareos GmbH & Co. KG
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, J. Steffens, Philipp Storz