Is it possible to have a hotplug datastore?

dswartz

Renowned Member
Dec 13, 2010
286
9
83
Migrating off vsphere. My backup strategy had been: daily, weekly and monthly to a ZFS raid10 using veeam. 1st of each month, I'd hotplug a 1TB SSD and run a manual veeam job, scrub the hotplug pool, export it, and shelf it safely. Is there any way to do that with PBS? I've got a datastore there, but can't export it, as it is 'locked'. If all else fails, I suppose I can rsync from the existing dataset, scrub, etc?
 
I've got a datastore there, but can't export it, as it is 'locked'
what do you mean here exactly? how do you want to export?

such functionality is not yet built in, but you can activate the maintenance mode for the datastore and then should be able to remove it from the config
for readding you have to manually insert it in the config though
 
The hotplug disk for that datastore is a ZFS pool. If there is a datastore on it, I cannot 'zpool export hotplug' (hotplug is the zpool name).
 
you must first remove the datastore from the config and restart/reload the daemons (proxmox-backup-proxy and proxmox-backup)
 
That's what I was afraid of, thanks. My solution (for now): create a directory datastore, do the backup to that, then rsync to the hotplug zpool.