Solved

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

Posted on 2014-02-24
5
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.
Suggested Courses

739 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