Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

929 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

10 Experts available now in Live!

Get 1:1 Help Now