{"id":129,"date":"2013-07-04T21:17:20","date_gmt":"2013-07-04T19:17:20","guid":{"rendered":"http:\/\/www.rocworks.at\/wordpress\/?p=129"},"modified":"2013-11-11T23:07:27","modified_gmt":"2013-11-11T21:07:27","slug":"solaris-zfs-snapshot-to-save-machine-state","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=129","title":{"rendered":"Solaris ZFS snapshot to save machine state&#8230;"},"content":{"rendered":"<p>Very nice feature of solaris is to use a zfs snapshots to protect the current state\/configuration of a machine.<\/p>\n<p>And it is very easy to use, all we have to do is:<\/p>\n<pre>&gt; beadm list\r\nBE Active Mountpoint Space Policy Created\r\n-- ------ ---------- ----- ------ -------\r\nsolaris NR \/ 11.23G static 2013-07-04 16:45\r\nsolaris-backup-1 - - 155.0K static 2013-07-04 17:28<\/pre>\n<p>After the installation of solaris a snapshot was already created automatically.<\/p>\n<p>After installation and configuration of various software we can create a new snapshot:<\/p>\n<pre>beadm create -e solaris solaris-backup-2<\/pre>\n<p>If something bad will happen afterwards we can just simple select the backup at the boot manager! and then activate our backup as the active snapshot:<\/p>\n<pre>beadm activate solaris-backup-2<\/pre>\n<p>I think the old\/bad snapshot\/base can be deleted afterwards, but i didn&#8217;t yet tried that, maybe it is a good idea to create a base snapshot and working snapshot, and set the working snapshot as the active one, so in the case of an error we can create a new snapshot based on the base snapshot, and afterwards we can remove the bad working snapshot.<\/p>\n<p>Solaris is very smart \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Very nice feature of solaris is to use a zfs snapshots to protect the current state\/configuration of a machine. And it is very easy to use, all we have to do is: &gt; beadm list BE Active Mountpoint Space Policy Created &#8212; &#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8211; &#8212;&#8212; &#8212;&#8212;- solaris NR \/ 11.23G static 2013-07-04 16:45 solaris-backup-1 &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=129\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Solaris ZFS snapshot to save machine state&#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,10],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-oracle","category-solaris"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=129"}],"version-history":[{"count":3,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions\/239"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}