1830929 Members
2353 Online
110017 Solutions
New Discussion

Dump for Linux

 
Ragni Singh
Super Advisor

Dump for Linux

Hi all,

I'm trying to run this command ..

dump -0u -f /dev/st0 / to backup everything from /down but its not working. How do I specify using dump to do everything from root down. Any help is greatly appreciated and points will be assigned.
6 REPLIES 6
twang
Honored Contributor

Re: Dump for Linux

use tape 1 for the first full backup.
# dump -0u -f /dev/st0 /


Ragni Singh
Super Advisor

Re: Dump for Linux

Thats what I'm doing. Here is the filesystem that I have created using lvm in Linux.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vg00/lvol1 2064208 210744 1748608 11% /
/dev/vg00/lvappl 9289080 32832 8784392 1% /appl
/dev/vg00/lvarchive 9289080 32828 8784396 1% /archive
/dev/cciss/c0d0p1 252863 26708 213100 12% /boot
/dev/vg00/lvol2 4128448 32836 3885900 1% /export/home
/dev/vg00/lvol4 2064208 47344 1912008 3% /opt
none 1549300 0 1549300 0% /dev/shm
/dev/vg00/lvol6 2064208 32864 1926488 2% /tmp
/dev/vg00/lvol3 4128448 1771756 2230864 45% /usr
/dev/vg00/lvol5 2064208 99352 1860000 6% /var[root@mdntmp1 root]# dump -0u -f /dev/st0 /
DUMP: Date of this level 0 dump: Fri Jun 27 11:07:42 2003
DUMP: Dumping /dev/vg00/lvol1 (/) to /dev/st0
DUMP: Added inode 8 to exclude list (journal inode)
DUMP: Added inode 7 to exclude list (resize inode)
DUMP: Label: none


This only seems to dump thinsg in lvol1 and I was undeer the impressing that specifying a / will in fact dump everything from / down.


Jairo Campana
Trusted Contributor

Re: Dump for Linux

try:
dump 0uaf /dev/st0 /down

or:

dump 0unf - /down | gzip -c | dd of=/dev/st0 obs=512
legionx
Ragni Singh
Super Advisor

Re: Dump for Linux

Thank you but none of these works.
twang
Honored Contributor

Re: Dump for Linux

try to carry out the following 2 tests and see whether they succeed:
1.
# dump -0u -f /dev/st0 /tmp
2.
# dump -0u -f /var/tmp/boot.dmp
josep_5
Occasional Contributor

Re: Dump for Linux

Which fstype dou you use? etx2, ext3, xfs, ...?
Can you post the result of mount command, and errors you are getting?