Solved

Managing multipe boot environments w/ snapshots on Solaris 10 and 11

Posted on 2014-02-24
5
405 Views
Last Modified: 2014-02-26
I want to make a snapshot of the boot environment once a week.  I want to keep three weeks worth.  It looks like I can do this with the auto-snapshot service with Solaris 11, but I can't find it on 10.  Does anyone have something similar already set up?  I would like to do it with a cron job and ksh script if the service won't run on Solaris 10.

Thanks in advance,
David
0
Comment
Question by:David Aldridge
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 39883570
0
 
LVL 1

Author Comment

by:David Aldridge
ID: 39883620
Will that work for ZFS though?  It says that's for UFS.
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 39883748
For ZFS, the command is "zfs snapshot", please see this link:

http://docs.oracle.com/cd/E19253-01/819-5461/gavvx/index.html
0
 
LVL 1

Author Comment

by:David Aldridge
ID: 39883958
Sorry, I probably wasn't clear.  I can do the snapshots, I was wondering if anyone had devised a script or process for managing the snapshots. Something that would make a snapshot of the rpool once a week and keep a running 3 copies. So it would delete the oldest one, and make a new one, not necessarily in that order.  I know Solaris 11 has the auto-snapshot package, but I don't think I can get it on 10 so it looks like I'll be scripting it unless someone has already invented the wheel.
0
 
LVL 1

Author Closing Comment

by:David Aldridge
ID: 39890346
Ganjos, I'm going to end up using time-slider and auto-snapshot.  Your link gave me some good info though.  Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IBM flash storage 840 15 69
MarkLogic 1 99
mobaxterm not able to change directory 28 274
Authenticate using sesu from script 7 106
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question