1752793 Members
5818 Online
108789 Solutions
New Discussion юеВ

Re: backup

 
Francisco J. Soler
Honored Contributor

Re: backup

Hi Fadia,
try to exclude /proc in the tar command:

tar cvf /dev/st0 / --exclude /proc

Frank.
Linux?. Yes, of course.
Fadia Almarei
Super Advisor

Re: backup

sorry it does not work
fadia.marei
Fred Ruffet
Honored Contributor

Re: backup

have you tried fsck ? or just tried to dd the file that is breaking the tar (it might not be the last printed by tar, but the next)
--

"Reality is just a point of view." (P. K. D.)
Fadia Almarei
Super Advisor

Re: backup

it also does not work
fadia.marei
Francisco J. Soler
Honored Contributor

Re: backup

Hi Fadia,
try this to see if is a tar problem or a tape problem:

find / -path '/proc' -prune -o -print | cpio -ocv > /dev/st0

to recover the backup:
cpio -icv < /dev/st0

to list the backup
cpio -itcv < /dev/st0

Frank.
Linux?. Yes, of course.
Fadia Almarei
Super Advisor

Re: backup

Dear Frank
Thanks for your help , when i do the command it give me the following result "[root@RADIUS dev]# find / -path /proc -prune -o -print | cpio -ocv > /dev/st0
/
/lost+found
/backup
/backup/lost+found
/boot
/boot/lost+found
/boot/grub
/boot/grub/grub.conf
/boot/grub/splash.xpm.gz
/boot/grub/menu.lst
/boot/grub/device.map
/boot/grub/stage1
Found end of tape. To continue, type device/file name when ready.


what should i do for that i think that the dlt tape drive is big enough to do my backup
fadia.marei
Francisco J. Soler
Honored Contributor

Re: backup

Hi, Fadia

Check if the tape is not write protect, is a silly thing but sometimes is the problem.

Frank.
Linux?. Yes, of course.
Kiyoshi Miyake
Frequent Advisor

Re: backup

Hi, fadia.

Try to new DLT tape if you use used tape by some backup utility.
Some application set partition on tape.

or:
Use mt command for erase partition.
I don't know mt command well...

Thanks.
Fadia Almarei
Super Advisor

Re: backup

Thanks All

i have solved the problem , it was that i put a terminator in the second port of the scsi tape drive (it is dual port ),thanks all again for your help

Regards,
Fadia
fadia.marei