Sponsored Content
Full Discussion: Tape Backup
Top Forums UNIX for Dummies Questions & Answers Tape Backup Post 46728 by mattd on Thursday 22nd of January 2004 03:46:43 PM
Old 01-22-2004
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 but does not overwrite what's already there. However it seems as though the old files on the tape device are being overwritten i.e. when I do

tar -tvf /dev/rmt/0

I can only see last night's file
-rw-r--r-- 100/100 102192 Jan 23 03:15 2004 /var/dbbackup/AS1.2004012303.bak.gz

What's up with my tar options?
mattd
 

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. UNIX for Dummies Questions & Answers

How to add backup tape

Hi guys I have a Caldera Openlinux 3.1.1 i'm new with this OS so please bear with me. I have no idea about how to install my backup tape could any of you tell me how to do this. I worked before with unix sco openserver 5.0.6 and i know that you can use scoadmin and then option (tape ). ... (1 Reply)
Discussion started by: josramon
1 Replies

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

4. Solaris

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... (1 Reply)
Discussion started by: frustrated1
1 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. UNIX for Dummies Questions & Answers

Backup Tape suggestion

Hi All, I would like some feedback / suggestion /recommendation about backup tape/disaster recovery for linux box as i'm new to linux. We have linux box running as webserver which hosting website files. I know that i have to backup all "website files". Is there any Linux system file i have... (2 Replies)
Discussion started by: c00kie88
2 Replies

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

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
BUTC_LOGS(5)							AFS File Reference						      BUTC_LOGS(5)

NAME
butc_logs - Message logs from the Tape Coordinator process DESCRIPTION
The Backup System Tape Coordinator (butc) process generates two log files per device, one for error messages and one for actions. Error Message Log The TE_device_name file logs error messages generated by the Backup System Tape Coordinator that controls the tape device or backup data file indicated by device_name. As the Tape Coordinator initializes, it creates the file in ASCII format in the /var/lib/openafs/backup directory. If there is an existing file, the Tape Coordinator renames it to TE_device_name.old>, overwriting the existing TE_device_name.old> file if it exists. For a tape device, the Tape Coordinator derives the variable device_name portion of the filename from the device pathname listed in the local /var/lib/openafs/backup/tapeconfig file, by stripping off the initial "/dev/" string and replacing any other slashes in the name with underscores. For example, the filename for a device called /dev/rmt/4m is TE_rmt_4m. Similarly, for a backup data file the Tape Coordinator strips off the initial slash ("/") and replaces any other slashes in the name with underscores. For example, the filename for a backup data file called /var/tmp/FILE is TE_var_tmp_FILE. The messages in the file describe the error and warning conditions the Tape Coordinator encounters as it operates. For instance, a message can list the volumes that are inaccessible during a dump operation, or warn that the Tape Coordinator is overwriting a tape or backup data file. The messages also appear in the /var/lib/openafs/backup/TL_device_name file, which traces most of the Tape Coordinator's actions. Action Log The TL_device_name file logs the actions performed by the Backup System Tape Coordinator that controls the tape device or backup data file indicated by device_name. It also records the same error and warning messages written to the TE_device_name file. As the Tape Coordinator initializes, it creates the file in ASCII format in the /var/lib/openafs/backup directory. If there is an existing file, the Tape Coordinator renames it to TL_device_name.old, overwriting the existing TL_device_name.old file if it exists. For a tape device, the Tape Coordinator derives the variable device_name portion of the filename from the device pathname listed in the local /var/lib/openafs/backup/tapeconfig file, by stripping off the initial "/dev/" string and replacing any other slashes in the name with underscores. For example, the filename for a device called /dev/rmt/4m is TL_rmt_4m. Similarly, for a backup data file the Tape Coordinator strips off the initial slash ("/") and replaces any other slashes in the name with underscores. For example, the filename for a backup data file called /var/tmp/FILE is TL_var_tmp_FILE. SEE ALSO
tapeconfig(5), butc(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BUTC_LOGS(5)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy