Solved

Testing ufsdump

Posted on 2004-10-06
4
391 Views
Last Modified: 2013-12-27
I was testing ufsdump on standalone as sys admin using the following command:

ufsdump 0uf /tmp /var

It says it can't open machine_name:/tmp

Guess machine_name:/tmp can't just be a file system.  I'll be trying to back up Solaris onto another hard disk
0
Comment
Question by:lcor
  • 2
4 Comments
 

Author Comment

by:lcor
ID: 12237607
Using Solaris 9  -- keep forgetting to specify that
0
 
LVL 18

Assisted Solution

by:liddler
liddler earned 100 total points
ID: 12238577
To copy disk, it's usually done this way:
 ufsdump 0f - /var |(cd /tmp;ufsrestore xf -)
0
 
LVL 20

Accepted Solution

by:
tfewster earned 400 total points
ID: 12238653
ufsdump 0uf /tmp/my_archive_file_name /var

But check that /tmp has enough space to fit the /var archive into - ufsdump doesn't do any compression, and there's a slight "overhead", so a backup of 1Gb of files would be over 1Gb
0
 

Author Comment

by:lcor
ID: 12240465
I ended using tfewster's solution but found liddler's solution informative.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 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.:

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now