Solved

Testing ufsdump

Posted on 2004-10-06
4
394 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

803 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