Each of the following operations creates a new running snapshot:
svcadm restart manifest-import
svcadm refresh
svccfg refresh
The revert subcommand reverts the administrative customizations (admin layer) of the instance specified by the -s option and its service to the values recorded in the named snapshot or the currently selected snapshot. Use the listsnap subcommand to view a list of possible snapshots for this service instance. Use the selectsnap subcommand to select a snapshot in interactive mode.
$ svcprop -p pkg/inst_root pkg/server:default pkg/inst_root astring /export/ipsrepos/Solaris11 $ svccfg -s pkg/server:default listsnap initial previous running start $ svcprop -s previous -p pkg/inst_root pkg/server:default pkg/inst_root astring /var/pkgrepo
Because the revert subcommand reverts all administrative customizations, list all administrative customizations and examine their values before you revert.
$ svcprop -s previous -l admin pkg/server:default pkg/inst_root astring /var/pkgrepo $ svccfg -s pkg/server:default revert previous $ svcadm refresh pkg/server:default $ svcprop -p pkg/inst_root pkg/server:default pkg/inst_root astring /var/pkgrepo