1832940 Members
2813 Online
110048 Solutions
New Discussion

Problem in backup

 
Sugata
Advisor

Problem in backup

Hi,
I am having some problem during taking backup using tar command. I am using 40/80 GB DLT Tape. Although data is less than 40 GB, it is showing "end of tape" in the verbose mode. In tape drive display, it is showing "clean up the drive". I have done so, 2-3 times it didn't help. But backup using 'fback' command working fine.
Can anybody tell me, why 'tar' command is giving problem?
Regards,
Sugata
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Problem in backup


tar does NOT use compression.

I suggest you use GNU's tar, which has a compression option.

live free or die
harry
Live Free or Die
Hazem Mahmoud_3
Respected Contributor

Re: Problem in backup

tar does not support files over 2GB. Do you have any over 2GB? If so, that might be where the problem is.

-Hazem
harry d brown jr
Honored Contributor

Re: Problem in backup


With GNU's tar, you do not have a 2GB limit on individual files.

Do you have the Tape drive compression enabled?

live free or die
harry
Live Free or Die
Jairo Campana
Trusted Contributor

Re: Problem in backup

YES GNUTAR 2.0Gb
for download free tar support >2.0Gb

In the page personal of Merijn

https://www.beepz.com/personal/merijn/

GNUTAR AND GNUCPIO
legionx
Dave La Mar
Honored Contributor

Re: Problem in backup

Sugata -
One more option....
fbackup will work for files in excess of 2gb.
Attached is a doc made (lond ago when we were noew to HP-UX) for this.

Best regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Kiyoshi Miyake
Frequent Advisor

Re: Problem in backup

Hi,

Perhaps you have a lot of small file.
Or sparse files.

check tar archive size by using follow comannd.

tar cbf 20 - ./backup_volume_name | dd bs=1024 of=/dev/null

so, dd reports total size.
If this size is over 40GB, you have a lot of small file
or sparse files.

tar always pads information written to an archive up to the next
multiple of the block size.
(see man tar)

Thanks.