Hi, I can't reproduce the behaviour you are describing, even when a manually created snapshot was existing at backup time, the virtual disks are created correctly with the given new vmname.
The version on https://download.bareos.org/current/ is now 23.0.3~pre104, could you please update and try again? Also please provide the job log as text, use echo "list joblog jobid=<JobId>" | bconsole and also the output of echo "list files jobid=<JobId>" | bconsole Regards, Stephan On 4/28/24 19:32, Robi Setia Permadi wrote:
Hi Guys, I have installed Bareos with version details as below: ``` Bareos OS: Rocky Linux 8.9 Bareos: 23.0.2~pre92.c3dac06f1 bareos-vmware-plugin: 23.0.3~pre95.0aeaf0d6d ``` I have setup the backup jobs and other resources that required. The backup jobs works fine as the picture i attached in the attachment Picture-1. After the backup was complete, I ran a Restore job with the parameters as in attachment Picture-2. The issue is that when I restore the backed up VM as a new VM, bareos-vmware-plugin fails to create the new VM correctly. Instead of creating a disk VM according to the name that has been defined, bareos-vmware-plugin creates a disk VM with the name [OLD_VM_NAME]-[SNAPSHOT_ID].vmdk (e.g cmg01z00ad002-000004.vmdk) which should match the value in the vmname parameter (e.g cmg01z00ad002-restore.vmdk). *Expected Result:* bareos-vmware-plugin creates a new VM with a disk name that matches the value in the vmname parameter. *Actual results:* bareos-vmware-plugin creates a new VM with a disk name that does not match the value in the vmname parameter. bareos-vmware-plugin creates a disk with the name [OLD_VM_NAME]-[SNAPSHOT_ID] (e.g cmg01z00ad002-000004.vmdk). *Workarounds:* - Remove the wrong disk from the new vm - Remove the new vm - Restore again the vm with same parameter as before, then the new VM will be created correctly as *Expected Result.* ----------------------- Based on what I said above, is there a possibility that this is a bug in bareos-vmware-plugin version 23.0.3~pre95.0aeaf0d6d? Thanks Anyway. -- 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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/10098505-f941-425c-9da4-38dac8fbbddfn%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/10098505-f941-425c-9da4-38dac8fbbddfn%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- Stephan Dühr [email protected] 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, 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/3f893c64-f6c0-4e51-ab35-2fdee520fe9a%40bareos.com.
