• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

Testing ufsdump

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
lcor
Asked:
lcor
  • 2
2 Solutions
 
lcorAuthor Commented:
Using Solaris 9  -- keep forgetting to specify that
0
 
liddlerCommented:
To copy disk, it's usually done this way:
 ufsdump 0f - /var |(cd /tmp;ufsrestore xf -)
0
 
tfewsterCommented:
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
 
lcorAuthor Commented:
I ended using tfewster's solution but found liddler's solution informative.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now