backup to tape - compression?


 
Thread Tools Search this Thread
Operating Systems Solaris backup to tape - compression?
# 1  
Old 03-24-2006
backup to tape - compression?

How can I tell (from the command line) is compression is turned on for a tape drive?

I need to backup a system that is approx 150gb to a tape that has 110gb uncompress but 220gb available compressed.

Any ideas?
Also is it possible to turn compression on or off from the command line?

I am using Solaris 9
# 2  
Old 03-26-2006
Most tape device drivers in UNIX support compression at the hardware level assuming the physical tape drive supports it. Compression is enabled or disabled by specifying the appropriate tape device. Tape density can also be specified in this manner. Refer to the st(7D) man pages for a detailed list of driver options.

For example:

tar cvf /dev/rmt/0hc directory-name # high density, hardware compression

or

tar cvf /dev/rmt/0h directory-name # high-density, no compression

Remember, hardware compression rarely increases overall capacity if the data stream is already compressed. That is, if all the files in the above example "directory-name" are already compressed, enabling hardware compression won't "double compress" and could easily increase the tape required due to duplicate overhead of the software and hardware compression algorithms.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies

2. AIX

Tape compression

Hello everyone I want to use compression in my tape when I backup some file. For example I have several files that use 50gb. If I backup this I need to use two cartridge because without compression I can backup 36gb. My question is with flag I need to use to compress and I can use 72gb in... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

3. AIX

Backup on Tape

Hi, I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system /usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0 You can what i have in my root volume group in the atached file and and you can also see the backup information of... (14 Replies)
Discussion started by: salmanucit
14 Replies

4. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

5. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

6. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

7. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

8. UNIX for Dummies Questions & Answers

Tape Backup

I have a script which runs overnight to backup a database into a tar file. I then gzip the file and send it off to a tape device. The command I'm using for the tape backup is tar cvf /dev/rmt/0n /var/dbbackup/${FILE}.gz I thought the n meant no rewind so the next file is copied to tape... (4 Replies)
Discussion started by: mattd
4 Replies

9. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies

10. UNIX for Dummies Questions & Answers

? View A Backup Tape

I AM A NEWBIE PLEASE HELP!! IF YOU HAVE KSH YOU SHOULD USE A TAR COMMAND HOW DO YOU VIEW A TAPE WITH JUST AN SH. MY MIS CRASHED AND I KEEP GETTING AN ERROR MESSAGE CANNOT FORK: TOO MANY PROCESSES :confused: (3 Replies)
Discussion started by: NOT A CLUE
3 Replies
Login or Register to Ask a Question