Sponsored Content
Operating Systems Solaris backup to tape - compression? Post 302069444 by hegemaro on Sunday 26th of March 2006 09:26:31 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
AMTAPETYPE(8)						  System Administration Commands					     AMTAPETYPE(8)

NAME
amtapetype - generate a tapetype definition by testing the device directly SYNOPSIS
amtapetype [-h] [-c] [-f] [-p] [-b blocksize] [-t typename] [-l label] [-o configoption...] [config] [device] DESCRIPTION
amtapetype generates a tapetype entry for Amanda by testing the device directly. OPTIONS
Note The options for amtapetype have changed in version 2.6.1 -h Display the help message. -c Run only the hardware compression detection heuristic test and stop. This takes a few minutes only. -f Run amtapetype even if the loaded volume is already labeled. -p Run only the device property discovery. -b blocksize block size to use with the device (default: 32k) -t typename Name to give to the new tapetype definition. -l label Label to write on the tape (default is randomly generated). -o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8). If a configuration is specified, it is loaded and used to configure the device. Note that global configuration parameters are not applied to the device, so if you need to apply properties to a device to run amtapetype, you should supply those properties in a named device section. EXAMPLE
Generate a tapetype definition for your tape device: % amtapetype -f /dev/nst0 NOTES
If the device cannot reliably report its comprssion status (and as of this writing, no devices can do so), hardware compression is detected by measuring the writing speed difference of the tape drive when writing an amount of compressable and uncompresseable data. If your tape drive has very large buffers or is very fast, the program could fail to detect hardware compression status reliably. Volume capacity is determined by writing one large file until an error, interpereted as end-of-tape, is encountered. In the next phase, about 100 files are written to fill the tape. This second phase will write less data, because each filemark consumes some tape. With a little arithmetic, amtapetype calculates the size of these filemarks. All sorts of things might happen to cause the amount of data written to vary enough to generate a strange file mark size guess. A little more "shoe shining" because of the additional file marks (and flushes), dirt left on the heads from the first pass of a brand new tape, the temperature/humidity changed during the multi-hour run, a different amount of data was written after the last file mark before EOT was reported, etc. Note that the file mark size might really be zero for whatever device this is, and it was just the measured capacity variation that caused amtapetype to think those extra file marks in pass 2 actually took up space. SEE ALSO
amanda(8), amanda.conf(5) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.1 02/21/2012 AMTAPETYPE(8)
All times are GMT -4. The time now is 10:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy