Solved

Testing ufsdump

Posted on 2004-10-06
4
398 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 21

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check for shares on HP-UX 1 75
Skill Development 15 201
recommend secure & efficient Unix LDAP (equiv of Windows AD) 6 119
unix example issues 18 113
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

739 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