Unix Technical Forum

Where is the svcs svcadm db located on sol10?

This is a discussion on Where is the svcs svcadm db located on sol10? within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I need to know for backup/recovery reasons... anyone know where the db is stored. My Sol10 host root disk ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2008, 08:45 PM
Chris Cox
 
Posts: n/a
Default Where is the svcs svcadm db located on sol10?

I need to know for backup/recovery reasons... anyone
know where the db is stored. My Sol10 host root
disk died and I need to do some recovery operations.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-06-2008, 08:45 PM
Dave Miner
 
Posts: n/a
Default Re: Where is the svcs svcadm db located on sol10?

Chris Cox wrote:
> I need to know for backup/recovery reasons... anyone
> know where the db is stored. My Sol10 host root
> disk died and I need to do some recovery operations.


It's at /etc/svc/repository.db; you'll also find copies there which are
taken at reboot. I'd suggest reading /lib/svc/share/README, which has
some recovery instructions (also available at
http://sun.com/msg/SMF-8000-QD).

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2008, 08:45 PM
Stephen Hahn
 
Posts: n/a
Default Re: Where is the svcs svcadm db located on sol10?

* Chris Cox <ccox_nopenotthis@airmail.net>:
> I need to know for backup/recovery reasons... anyone
> know where the db is stored. My Sol10 host root
> disk died and I need to do some recovery operations.


/etc/svc/repository.db

On my system, the contents are

$ ls /etc/svc
repository-boot
repository-boot-20050301_115054
repository-boot-20050301_115529
repository-boot-20050302_123027
repository-boot-20050302_123420
repository-manifest_import
repository-manifest_import-20050103_170417
repository-manifest_import-20050107_152800
repository-manifest_import-20050107_153400
repository-manifest_import-20050111_103006
repository.db
repository.db.old
volatile

/lib/svc/bin/restore_repository will let you resume with any of these
captured backups, or from the appropriate seed repository.

- Stephen

--
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
stephen.hahn@sun.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com