You are not logged in.
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
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
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
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
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
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