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
lcorAsked:
Who is Participating?
 
tfewsterConnect With a Mentor Commented:
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:
Using Solaris 9  -- keep forgetting to specify that
0
 
liddlerConnect With a Mentor Commented:
To copy disk, it's usually done this way:
 ufsdump 0f - /var |(cd /tmp;ufsrestore xf -)
0
 
lcorAuthor Commented:
I ended using tfewster's solution but found liddler's solution informative.
0
All Courses

From novice to tech pro — start learning today.