I need to copy templates between two clusters with serious isolation requirements.
It seems like I should be able to mount a USB drive on a host in cluster A, create storage pointing to a directory inside the flash drive, backup the template to that storage, then drive it to the other location, plug in to cluster B and restore.
The problem I'm having is that PVE keeps creating the storage directory on the root filesystem whenever the drive is unplugged. I want the storage to be inactive/disabled/offline/whatever if it can't see that directory, not to continually re-create it on the root device.
Is there any way to do this?
/
/mnt
/mnt/thumb <- mount point of the drive (UUID is in /etc/fstab)
/mnt/thumb/data <- path of the storage entity in proxmox
/mnt/thumb/data/dump <- path of backup files
It seems like I should be able to mount a USB drive on a host in cluster A, create storage pointing to a directory inside the flash drive, backup the template to that storage, then drive it to the other location, plug in to cluster B and restore.
The problem I'm having is that PVE keeps creating the storage directory on the root filesystem whenever the drive is unplugged. I want the storage to be inactive/disabled/offline/whatever if it can't see that directory, not to continually re-create it on the root device.
Is there any way to do this?
/
/mnt
/mnt/thumb <- mount point of the drive (UUID is in /etc/fstab)
/mnt/thumb/data <- path of the storage entity in proxmox
/mnt/thumb/data/dump <- path of backup files