For those who are interested in this, it appears you have to write a SnapshotStrategy implementation and override the canHandle method (this is the default implementation, which is provided by the XenserverSnapshotStrategy class):
@Override public StrategyPriority canHandle(Snapshot snapshot, SnapshotOperation op) { if (op == SnapshotOperation.REVERT) { return StrategyPriority.CANT_HANDLE; } return StrategyPriority.DEFAULT; } That being the case, the revert button won't show up under "standard" operation. On Thu, Aug 28, 2014 at 12:12 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Actually, it looks like you can revert a volume to a snapshot, if the > underlying storage supports such an operation. > > I hadn't been explicitly setting this "revertable" field and it appears to > default to "false" and the GUI then doesn't show the button. > > > On Wed, Aug 27, 2014 at 11:55 PM, Mike Tutkowski < > mike.tutkow...@solidfire.com> wrote: > >> Hi, >> >> Under the Storage tab in the GUI, we can take a snapshot of a volume >> (assuming the underlying storage plug-in supports that operation). >> >> When I examine the options of the created snapshots, I see the snapshot >> can be deleted (as you'd expect), but I don't see a "revert volume to >> snapshot" option. >> >> Can someone tell me what the history is behind that? Is it intentional >> that the only way a volume snapshot (really a backup) can be utilized is by >> creating a template or a volume from it? >> >> Thanks! >> >> -- >> *Mike Tutkowski* >> *Senior CloudStack Developer, SolidFire Inc.* >> e: mike.tutkow...@solidfire.com >> o: 303.746.7302 >> Advancing the way the world uses the cloud >> <http://solidfire.com/solution/overview/?video=play>*™* >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > <http://solidfire.com/solution/overview/?video=play>*™* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud <http://solidfire.com/solution/overview/?video=play>*™*