Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-02-24
5
Medium Priority
?
412 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 1500 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

885 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