New to this so excuse my ignorance. I would like to set up a windows 11 VM in Truenas and pass through either a dataset or a whole raidz storage pool as a locally mounted (non network mounted) drive within the VM. If this is possible, is it possible to do a replication from another Truenas server to the locally mounted dataset/ pool on this Truenas Server and have those files visible within the VM?
Backing up your pool into a VM that sounds like it’s on said pool sounds like a recipe for recursive disaster.
It seems like you’d be better off checking out the built-in sync-to-cloud features provided directly in TrueNAS itself. TrueNAS Scale already has support for such targets as Amazon S3, Backblaze, Box, Dropbox, Google Drive, etc.
If you’re intending to make a backup of your pool by replicating onto a second pool on the system, that is supported as well.
Really though, we need more information on your goals; it sounds like you’re thinking of some kind of implementation of a nebulous end-game you aren’t defining yet.
Okay, so what’s stopping you from just replicating to that other machine’s pool? Adding the overhead of a Windows machine in the middle seems weird, but then you still haven’t described what you’re trying to do.
Is this “other machine" just a VM that you intend to have disks that are otherwise unrelated to the host it’s on? Or is it intended to be some kind of temporary target “translating" between TrueNAS and your cloud backup solution?