LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-24-2018, 06:43 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
solaris10 backup


I'd like to backup few Solaris 10 servers with tar (everything, including OS).
is it possible to backup all the filesystem (ufs) metadata so that it can be restored and boot?
I would use dd or similar to backup slices info, etc. But also need a way to preserve everything else that tar skips.
Its a sparc version.

Thanks.
 
Old 10-25-2018, 06:56 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by qrange View Post
I'd like to backup few Solaris 10 servers with tar (everything, including OS).
is it possible to backup all the filesystem (ufs) metadata so that it can be restored and boot?
I would use dd or similar to backup slices info, etc. But also need a way to preserve everything else that tar skips.
Its a sparc version.

Thanks.
Not sure about "bootable" (it's been a little bit since I've tried it), but flar is what you're after:
https://docs.oracle.com/cd/E18752_01...create-66.html
https://docs.oracle.com/cd/E23823_01...803/gkcay.html
 
Old 12-12-2018, 09:38 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Why not to use "ufsdump" instead of tar?
But either way, to restore/install bootblock you would need something like this (booted from Solaris install CD/DVD):
Code:
# cd /tmp/slice0/usr/platform/'uname -m'/lib/fs/ufs
# installboot bootblk /dev/rdsk/c0t0d0s0
To backup metadate:
Code:
prtvtoc /dev/rdsk/c1t0d0s2 > /mnt/solaris/`date +%Y-%m-%d`_`uname -n`_c1t0d0.vtoc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SunOS vs Solaris10 casperdaghost Linux - Newbie 4 10-04-2013 08:54 AM
vxdmp issue on solaris10 UltraSoul Solaris / OpenSolaris 0 12-02-2007 01:07 AM
nmap error on solaris10 ANU Solaris / OpenSolaris 10 05-29-2006 04:22 AM
Is there going 2B another Solaris10 or 11 browser Solaris / OpenSolaris 6 02-15-2006 07:13 AM
Samba3 in solaris10 UltraSoul Solaris / OpenSolaris 1 05-01-2005 07:27 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration