Backing up zvols?
Added by Dan Swartzendruber about 1 year ago
So I have my esxi datastore on a zvol on the nexenta box. Being CE, I only have auto-tier, not auto-sync, which is what I really want (e.g. I want to have the zvol backed up at a block level to an esata drive). Being stuck with auto-tier, is there even any way to do this (using auto-tier), or do I need to somehow roll my own?
Replies
RE: Backing up zvols? - Added by Linda Kateley about 1 year ago
well, enterprise will let you, but not community.
rolling your own would involve writing a script to zfs send the blocks.
hey are you doing a poc?
lk
RE: Backing up zvols? - Added by Linda Kateley about 1 year ago
so you can pretty easily write a script which does this.. I asked because this would be "voiding" the warranty of enterprise setups
You can easily make a script that does a zfs send localsnap | ssh remotehost zfs recv /path/tosnap
Then the incremental looks like..
zfs send –i localsnap1 localsnap2 | ssh remote host zfs recv /path/tosnap
You could put it in a cron and have it run on a regular basis..
RE: Backing up zvols? - Added by James Leong about 1 year ago
Hi Linda,
Do we need to get 2 enterprise license if we intend to use auto-sync. Or can we just purchase 1, i.e. the commercial edition auto-syncs to the community edition.
James
RE: Backing up zvols? - Added by Andrew Galloway about 1 year ago
Two. Community Edition cannot be the target of an Auto-Sync, it is not supported. Both sides need to be Enterprise Edition if you wish to use Auto-Sync plugin to replicate data.