Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ufsdump on Standard Files

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
ufsdump seems to be geared toward backing up entire file systems. Is it possible to just backup a subset of data (/export/home) rather than an entire file system?

Could you give an example of backing up say /export/home on a server named srv1?

Thanks for your help, Michael
 
man ufs[dump|restore] answers you
------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
example :
# ufsdump 9ucf /dev/rmt/0 /export/home
 
Ady2k,

Thanks for your example. I can read man pages like the best of them but examples go MUCH further.

It seems to be a trend in repsonses here to, "go read the man pages". I think I read them a dozen times BEFORE posting here. (OK that was a gripe ... sorry).

Thanks again Ady2k. That was very helpful!

Michael
 
please, don't missuse this forum, thanks.

line 314 (man ufsdump(1M) SunOs 5.6)

example# ufsdump 0cfu /dev/rmt/1 /dev/rdsk/c0t3d0s6 ------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
..stands fro Unix File System Dump.
You cannot dump /export/home if it is not a FS but a subdir.

Hope it helps,
Jeremy
 
Can someone give me an example of using ufsdump to backup a directory to a file instead of to a tape.

The man page suggests it can do this but not sure of the syntax.


Thanks again, Michael
 
example# ufsdump 0cfu /tmp/largefile /dev/rdsk/c0t3d0s6

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top