AIX 4.2: tar using compression ?


 
Thread Tools Search this Thread
Operating Systems AIX AIX 4.2: tar using compression ?
# 8  
Old 02-04-2009
Quote:
Originally Posted by Browser_ice
[...]how to get enough free space somewhere to compress the backup files on disk and then dump them to tape with TAR.[...]
Why should you? Smilie Again we are talking Unix here. Use sth. like
# tar ... | dd of=/dev/rmt0 obs=20
It would be just a matter of combination to write directly onto a tape.
You might find the following information useful:
http://www.ahinc.com/aix/backup.htm

Last edited by shockneck; 02-04-2009 at 04:59 AM.. Reason: Added link.
# 9  
Old 02-05-2009
Thank you for the info.

1) Looking at the link you provided, I see something which puzzles me:
Quote:
tar

Probably the easiest command to use when transferring files from one UNIX system to another. This command will NOT span across multiple tapes.
I don't understand this as we have one weekly backup done with TAR that spawns on 2 tapes !

So this makes me wonder about the truth of the following:
Quote:
dd

Converts/copies files to/from an output device. DD stands for Data Dump. This command will NOT span across multiple tapes.
2) For our TARing to to 8mm 5Gb tapes, we use a blksize=10240. What would be the blksize used for DD and GZIP v1.2.4?

3) Humm, I see that now all our servers have GZIP installed. Is this 1.2.4 version a free one ?

Last edited by Browser_ice; 02-05-2009 at 09:54 AM..
# 10  
Old 02-05-2009
It might be necessary to distinguish between programs that have the same name but originate from different sources. AIX tar is different from the Gnu tar (from the Linux Toolbox). AIX dd is different from the Gnu dd.... I think you got the message. So when you look for information that is specific you might look up the IBM Information Center for AIX programs and somewhere else for Gnu programs. Don't compare Linux to AIX. Many things are alike but when it comes to the details it is pretty different. AIX is not Linux.
Last thought: AIX dd supports spanning across several media since AIX 5L (span=yes) came to market in 2000 or 2001 ....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Tar gzip compression rate

How good is the compression rate of gzip when you use tar with the gzip option? I am pretty amazed that a 1 GB file was reduced to 1019K. This is what I did. tar -cvf tar_test.tar.gz -T /list_of_files ls -hl -rw-r-----. 1 owner group 19 Jul 23 16:00 list_of_files -rw-r-----. 1 owner group... (7 Replies)
Discussion started by: cokedude
7 Replies

2. AIX

GNU TAR vs NATIVE AIX TAR

Hello, Getting this very strange error, made tar/zip through gnu tar GNU Tar ( successful tar and zip without any errors ) /opt/freeware/bin/tar cvf - /oraapp| gzip > /backup/bkp_15_6_16_oraapp.tgz GNU unTar error root@test8:/>gunzip < /config1/bkp_15_6_16_oraapp.tgz |... (5 Replies)
Discussion started by: filosophizer
5 Replies

3. AIX

Comparing two tar files on AIX

Hello, I have a directory which suddenly got filled up 100% from 70% ; (this is an oracle directory which has application and database in it ORACLE EBS) I do make cold backups, last month when I made cold backup of the directory /oratec the tar zip file was 31GB and this month when i made the... (5 Replies)
Discussion started by: filosophizer
5 Replies

4. UNIX for Dummies Questions & Answers

How to tar a directory in AIX?

Hi i want to tar a directory.. i have tried few command but it is not working . please let me know how to tar and untar a directory below are the error which i am getting tar -zxvf tl11cp01_042414_071123.tar.gz tar: Not a recognized flag: z tar -zxvf... (3 Replies)
Discussion started by: scriptor
3 Replies

5. AIX

How to install .tar.tgz file in AIX 6.1?

Hello, I have openssl.0.9.8.1103.tar.tgz file which I have downloaded from https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl siteThe website says that the file name is openssl.0.9.8.1103.tar.z but when downloaded I get openssl.0.9.8.1103.tar.tgz as the... (2 Replies)
Discussion started by: gaugeta
2 Replies

6. AIX

Tar extraction error in aix 5.3

Hi root@appdr01 #ls -latr total 2887400 drwxr-xr-x 2 root system 256 May 06 11:34 lost+found drwxr-xr-x 34 root system 4096 May 06 11:34 .. drwxr-xr-x 3 root system 256 May 06 12:20 . -rw-r----- 1 root system 1478338560 May 06... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

7. AIX

GNU Tar with compression for AIX 4.2 already compiled ?

Is there a GNU Tar available with compression option available for AIX 4.2 that I can directly use (not having to compile anything, simple installation) ? (1 Reply)
Discussion started by: Browser_ice
1 Replies

8. AIX

How to tar a files that bigger than 2 gig in AIX 5.2?

Hi, I have a question. Im trying to tar a files that the size is bigger that 2 gig. When i tried to tar it, i got an error says "eached end-of-file before expected" How can i solve this? Thanks and Regards (6 Replies)
Discussion started by: owangecounty
6 Replies

9. AIX

Return Code of tar in AIX

I am making some shell commands using tar command under AIX. Could somebody tell me the meaning of those return code of tar command? like 1, 2, 3... I have been searching all the time and got only this: 0 success >0 error Does somebody know the meaning of those number greater than 0 in... (3 Replies)
Discussion started by: dupeng
3 Replies

10. UNIX for Dummies Questions & Answers

tar compression - please help

I'm backing up one of my sites, and will be moving to another host. This was an expermintal site, and many of the directories won't be needed. What tar command is needed to exclude directories from the compressed file? Could you also give an example. also this might be the same comand, but -... (4 Replies)
Discussion started by: Taylor
4 Replies
Login or Register to Ask a Question