Solved

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

Posted on 2014-02-24
5
396 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now