1833777 Members
2422 Online
110063 Solutions
New Discussion

Re: dump -0 -f Failing

 
Wilfredo R. Castro
Occasional Advisor

dump -0 -f Failing


Hi,

I can't seem to find the correct command for this but this one is working with Redhat 9 but in HP-UX 11 this command is failing. Please see the output below:

# dump -0 -f /temp02/b/test.bak /appl
DUMP: Date of this level 0 dump: Wed Apr 21 09:47:31 2004
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping -f to /dev/rmt/0m
DUMP: Cannot open -f
Willie Castro
6 REPLIES 6
V.Tamilvanan
Honored Contributor

Re: dump -0 -f Failing

Hi,
In HP-UX dump is used to take FileSystem Backup of HFS and vxdump is used to take vxfs filesystem backup.

The syntax is below:-
#vxdump -0 -B 200g -u -f /dev/rmt/0m /


For more details see man pages of dump/restore and vxdump/vxrestore.
V.Tamilvanan
Honored Contributor

Re: dump -0 -f Failing

Hi,
Try the below it should work.

#dump -0f /temp02/b/test.bak /appl

In HP-UX dump is used to take FileSystem Backup of HFS and vxdump is used to take vxfs filesystem backup.dump will not backup a file system containing large files.

The syntax is below:-
#dump -0 -B 200g -u -f /dev/rmt/0m /

For more details see man pages of dump/restore and vxdump/vxrestore.
Wilfredo R. Castro
Occasional Advisor

Re: dump -0 -f Failing

Hi,
I've tried both commands but none of them is successful :

# dump -0f /temp02/b/test.bak /appl
DUMP: Date of this level 0 dump: Wed Apr 21 11:55:49 2004
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /appl to /temp02/b/test.bak
DUMP: ERROR: /appl is not an HFS file system.
DUMP: bad sblock magic number
DUMP: The ENTIRE dump is aborted.
# #dump -0 -B 200g -u -f /dev/rmt/0m /appl
# dump -0 -B 200g -u -f /dev/rmt/0m /appl
DUMP: Date of this level 0 dump: Wed Apr 21 11:56:20 2004
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping -B to /dev/rmt/0m
DUMP: Cannot open -B
#
Willie Castro
V.Tamilvanan
Honored Contributor

Re: dump -0 -f Failing

Hi,
From the error it is sure that FS /appl is not a HFS FS. If it is vxfs you try using

#vxdump -0f /temp02/b/test.bak /appl
Sunil Sharma_1
Honored Contributor

Re: dump -0 -f Failing

HI,

Check the file system type.
if it is Vxfs You have to use vxdump insted of dump. I think using dump and vxdump we can dump full file system not part of file system.

follow this steps:
1. cat /etc/fstab |grep
see the Fils system type and use
2. vxdump -0 -f /dev/rmt/0m

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Wilfredo R. Castro
Occasional Advisor

Re: dump -0 -f Failing



Hi,

Thanks for the replies.

vxdump seemed to work. But is this "dump" command cannot backup a specific folder only (subfolder of the mounted partition). Sorry, I was just trying to compare the Linux "dump" into HP-UX "dump", because in Linux .. this is possible.
Willie Castro