©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2020-11-19 20:39:39

melcon
Member
Registered: 2020-11-19
Posts: 3

BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

I failed to find what should I be doing to accomplish this.

I have 2 identical servers running the same VMware ESXi 6.0.0 build-15517548 and same 2 local datastores.
My guest VM has 2 VMDK disks, each file on each local datastore. When trying to do run the command:

./xsibackup --backup-type=custom --backup-vms=VM1 --backup-point="172.16.0.7:22:/vmfs/volumes/datastore1" --backup-prog=onediff --snapshot=doquiesce

The backup itself seems to be OK, however both VMDK files are created in the same VM directory on datastore1. What am I missing here?

Thanks in advance

Last edited by melcon (2020-11-19 20:40:00)

Offline

#2 2020-11-20 11:24:30

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

That's how the software works.
If you scatter disks among different datastores, you will have to set their paths again in case you restore them.
How would you expect it to work?: have a backup software that scatters backups in different backup directories?

Offline

#3 2020-11-20 19:37:26

melcon
Member
Registered: 2020-11-19
Posts: 3

Re: BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

I see.  Maybe chaining 2 runs of the job excluding the other disk from the datastore would do the trick?

./xsibackup --backup-type=custom --backup-vms=VM1!VM_1.vmdk --backup-point="172.16.0.7:22:/vmfs/volumes/datastore1" --backup-prog=onediff --snapshot=doquiesce
./xsibackup --backup-type=custom --backup-vms=VM1!VM.vmdk --backup-point="172.16.0.7:22:/vmfs/volumes/datastore2" --backup-prog=onediff --snapshot=doquiesce

With that I might only need to edit the vmx to point to the correct datastore/disks, should I ever need to run the replica on the other host.
Do you see any cons with this approach?

-
Saludos

Offline

#4 2020-11-20 20:57:25

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

You are going to need to arrange paths anyway.
Why complicating the backup syntax when you can do that in the event you restore the VM?.
It just takes some seconds.

Offline

#5 2020-11-20 22:25:07

melcon
Member
Registered: 2020-11-19
Posts: 3

Re: BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

The editing of vmx file to fix paths does not bother me.

The reasoning behind is that the local datastores have different capacity: datastore1 has 128GB SAS and datastore2 has 450GB SATA. VM1 has
its disk1 with 90GB and disk2 with 400GB and replicating them both to the same datastore might end up with no room in any datastore.

-
Saludos

Offline

#6 2020-11-21 10:19:55

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: BP: 2 Servers VM with VMDK disk spread in 2 Local datastores

Then you have a different kind of problem.
Why are you focusing on trying to fix a problem that you don't have while ignoring the key matter?.
Sorry for being that clear, but it doesn't make sense to offer support without being cruelly sincere.

Offline

Board footer