Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Pulling a file off a backup tape Post 51666 by anarchie on Thursday 27th of May 2004 02:31:09 PM
Old 05-27-2004
Have you considered trying the tar command? Its purpose is reading and writing from tape drives, after all...

tar -x -f /dev/rmt1 /dump/rpt/xxxxxx
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

7. Solaris

define .rhost file for tape backup to remote host

howdy experts, i am using 2 server- Solaris 5.9 i have tape device attached with 1 of my solaris server. But others not. # modinfo|grep tape 152 13d43e4 1333c 33 1 st (SCSI tape Driver 1.231) now i want to Backup DATA file and System File in Tape Drive. How do I take data and... (3 Replies)
Discussion started by: thepurple
3 Replies

8. UNIX for Dummies Questions & Answers

Copy file from a backup tape

I have several files that I need to get off of a backup tape. I'm using AIX 4.3 (I know this is old) and our backups are done using the bru command. I need to copy these files to a specific location, and not restore them to the original location. Can anyone tell me what command I should use to do... (4 Replies)
Discussion started by: troy
4 Replies

9. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 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
BUFFER(1)						      General Commands Manual							 BUFFER(1)

NAME
buffer - very fast reblocking program SYNTAX
buffer [-S size] [-b blocks] [-s size] [-z size] [-m size] [-p percentage] [-u microseconds] [-B] [-t] [-Z] [-i filename] [-o filename] [-d] OPTIONS
-i filename Use the given file as the input file. The default is stdin. -o filename Use the given file as the output file. The default is stdout. -S size After every chunk of this size has been written, print out how much has been written so far. Also prints the total throughput. By default this is not set. -s size Size in bytes of each block. The default blocksize is 10k to match the normal output of the tar(1) program. -z size Combines the -S and -s flags. -b blocks Number of blocks to allocate to shared memory circular buffer. Defaults to the number required to fill up the shared memory requested. -m size Maximum size of the shared memory chunk to allocate for the circular queue. Defaults to one megabyte. -p percentage Only start a write when the given percentage of the internal queue is full. A percentage around 75 often proves best. Defaults to zero. -u microseconds After every write pause for this many microseconds. Defaults to zero. (Surprisingly a small sleep, 100 usecs, after each write can greatly enhance throughput on some drives.) -B Force each block written to be padded out to the blocksize. This is needed by some tape and cartridge drives. Defaults to unpadded. This only affects the last block written. -t On exiting print to stderr a brief message showing the total number of bytes written. -Z If reading/writing directly to a character device (like a tape drive) then after each gigabyte perform an lseek to the start of the file. Use this flag with extreme care. It can only be used on devices where an lseek does not rewind the tape but does reset the kernels position flags. It is used to allow more than 2 gigabytes to be written. -d Print debug information to stderr during operation. Sizes are a number with an optional trailing character. A 'b' multiplies the size by 512, a 'k' by 1024 and an 'm' by a meg. DESCRIPTION
Buffer reads from standard input reblocking to the given blocksize and writes each block to standard output. Internally buffer is a pair of processes communicating via a large circular queue held in shared memory. The reader process only has to block when the queue is full and the writer process when the queue is empty. Buffer is designed to try and keep the writer side continu- ously busy so that it can stream when writing to tape drives. When used to write tapes with an intervening network buffer can result in a considerable increase in throughput. The default settings for buffer are normally good enough. If you are a heavy tape user then it is worth your while trying out various dif- ferent combinations of options. In particular running a buffer at both ends of the pipe can provide a substantial increase (see last exam- ple below). EXAMPLES
$ buffer < /etc/termcap > /dev/rst8 $ tar cf - . | rsh somehost 'buffer > /dev/rst8' $ dump fu - | rsh somehost 'buffer -s 16k > /dev/nrst8' $ tar cf - . | buffer | rsh somehost 'buffer -S 500K -p 75 > /dev/rst0' BUFFER LIMITS
There are 2 limits in buffer affecting the maximum total buffer size: The maximum number of blocks (2048) and the maximum size of a block (512kB). This results in a maximum total buffer size of 1GB. Note that there is also a kernel limit for the maximum size of a shared memory segment (used by buffer internally) which is typically much lower than the limits in buffer. So if buffer complains about not being able to create a shared memory segment, this limit might have to be raised using the command sysctl kernel.shmmax=XXX (see also sysctl(1) and proc(5)). BUGS
Internally, for printing purposes, buffer counts in terms of the number of kilobytes output. If the blocksize you use is not a whole num- ber of kilobytes then the numbers printed will be inaccurate. THANKS
Thanks to Kevin Twidle <kpt@doc.ic.ac.uk> for a lot of early suggestions and patches to make it work with non-tar/dump tapes to exabyte drives. Thanks to Andi Karrer <karrer@bernina.ethz.ch>, Rumi Zahir <rumi@iis.ethz.ch> and Christoph Wicki <wicki@iis.ethz.ch> for patches to make buffer work when trying to write single tape files of greater than 2 gigabytes. COPYRIGHT
Copyright (C) 1990, 1991 by Lee McLoughlin. SEE ALSO
dd(1), tar(1), rsh(1) 14 May 1990 BUFFER(1)
All times are GMT -4. The time now is 08:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy