pierreschmitz
Cadet
- Joined
- May 31, 2021
- Messages
- 6
Hello everyone,
in TrueNAS the VMware snapshot feature ist connected to the VMware storage API which is only available on paid versions of ESXi. A home lab combination of TrueNAS Core and VMware ESXi Free as a central datastore doesn't make much sense. So I ended up storing my virtual machines on the ESXi host and tried to figure out, how I can backup my machines to TrueNAS.
I found the community project ghettoVCB:
This piece of software is installed as a packet on the host and communicates over ssh to take snapshpots of the VMs to have a consistent state for the backup. Then it copies the data to another location. The storage API is not needed at all and it works fine with the free version of ESXi.
Now I wondered, if it was possible, to do a similar thing in TrueNAS. The storage had to connect to ESXi over SSH, take a snapshot of the VMs, then take a snapshot of his own zvol or whatever and afterwards delete the snapshot on the ESXi. This could be automated over cron.
What do you think, does this make any sense or do you see any possible issues? Unfortunately I'm a total beginner on TrueNAS and can't do this by myself.
Cheers
Pierre
in TrueNAS the VMware snapshot feature ist connected to the VMware storage API which is only available on paid versions of ESXi. A home lab combination of TrueNAS Core and VMware ESXi Free as a central datastore doesn't make much sense. So I ended up storing my virtual machines on the ESXi host and tried to figure out, how I can backup my machines to TrueNAS.
I found the community project ghettoVCB:
Broadcom Community - VMTN, Mainframe, Symantec, Carbon Black
Broadcom Community - VMTN, Mainframe, Symantec, Carbon Black
communities.vmware.com
This piece of software is installed as a packet on the host and communicates over ssh to take snapshpots of the VMs to have a consistent state for the backup. Then it copies the data to another location. The storage API is not needed at all and it works fine with the free version of ESXi.
Now I wondered, if it was possible, to do a similar thing in TrueNAS. The storage had to connect to ESXi over SSH, take a snapshot of the VMs, then take a snapshot of his own zvol or whatever and afterwards delete the snapshot on the ESXi. This could be automated over cron.
What do you think, does this make any sense or do you see any possible issues? Unfortunately I'm a total beginner on TrueNAS and can't do this by myself.
Cheers
Pierre