Operating System - HP-UX
1830045 Members
8289 Online
109998 Solutions
New Discussion

Can vxdump backup a directory

 
SOLVED
Go to solution
j773303
Super Advisor

Can vxdump backup a directory

vxdump can backup file system.
Can vxdump backup a directory?
For example: /usr is a file system
Can vxdump /usr/test

Thanks,
Hero
6 REPLIES 6
Ivan Krastev
Honored Contributor
Solution

Re: Can vxdump backup a directory

I don't think that this is possible. For directory archive use tar.

regards,
ivan
Reshma Malusare
Trusted Contributor

Re: Can vxdump backup a directory

Hi J773303,
1.vxdump, rvxdump is incremental VxFS file system dump, local or across network.

2. vxdump copies to magnetic tape all files in the vxfs filesystem that have been changed after a certain date.

3. This information is derived from the files /var/adm/dumpdates and /etc/fstab
Reshma Malusare
Trusted Contributor

Re: Can vxdump backup a directory

Hi j773303,
Please see following syntax: From this it is clear that it will not copy DIr .as its a dump. it will work for File system only i.e copying files from one place to other.


/usr/sbin/vxdump [-nuwW] [-0123456789] [-f filename] [-d density] [-s size] [-T time] [-b blocksize] [-B records] filesystem

/usr/sbin/rvxdump [-nuwW] [-0123456789] [-f filename] [-d density] [-s size] [-T time] [-b blocksize] [-B records] filesystem

/usr/sbin/vxdump option [argument ...] filesystem

/usr/sbin/rvxdump option [argument ...] filesystem
Ralph Grothe
Honored Contributor

Re: Can vxdump backup a directory

Though you could use vxdump to back up a single (or multiple) directory,
I daresay it isn't the best tool for only this limited purpose.
That's because all *dump/*restore siblings would dump (or restore from such a dump) an *entire* filesystem.
Please also note that every dump/restore is tightly connected to the very filesystem type it was written for.
So you cannot for instance ufsdump a Solaris slice or volume, and later restore it to a Linux ext3 or HP-UX/VxFS filesystem.
Nevertheless, the restore sibling of dump offers a nice interactive interface where you actually can move through the dump like in a filesystem with e.g. cd and ls, and only restore explicitly specified single files.
For backing up single files (from HP-UX) I would rather recommend using fbackup/frecover
because it saves you lot of space for the dump (compared to an vxdump), and should be faster because it has less to dump.
Madness, thy name is system administration
Reshma Malusare
Trusted Contributor

Re: Can vxdump backup a directory

Hi,
Can you please assign points is replies are satisfactory.
Reshma Malusare
Trusted Contributor

Re: Can vxdump backup a directory

Hi,
Can you please assign points if replies are satisfactory.