Tim S. Knitter wrote:
> I've added support for creating a BE from a snapshot to the design doc and
> will add it to beadm soon. The semantics looks as follows:
>
> beadm create [-a] [-f] [-z] [-e non-activeBeName | -s snapshot] [-p
> zpool]
> [-u zonename:filesystem_name[,filesystem_name...]...]
> beName
Could we do something a bit more user friendly by allowing the
'snapshot' specification to be with the beName argument itself?
E.g.
beadm create -e origBE at yesterday newBE
Another useful syntax might be to allow the full dataset name to
be specified as the BeName argument:
beadm create -e rpool/ROOT/origBE newBE
because of the commonality with zfs(1M) arguments.
>
> Seems if we display snapshots and now allow creation of a BE from a snapshot
> we should also allow explicit deletion of snapshots and possibly creation of
> BE snapshots. I propose adding the following to the CLI :
>
> beadm destroy [-f] beName | snapshot
Same comment here.
>
> and
>
> beadm create -s snapshot [-r retention] beName
>
> If -r isn't provided then the default retention policy is used as defined by
> libbe.
>
> Tim
> --
> This message posted from opensolaris.org
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss