Sponsored Content
Special Forums UNIX and Linux Applications No alarm triggered when backup tape is full Post 302618027 by methyl on Tuesday 3rd of April 2012 01:06:02 PM
Old 04-03-2012
The script appears to append up to 6 "tar" archives each run to a tape. All commands use the "no rewind" tape device, so if the tapes are cycled one would expect the tape to eventually become full. Maybe you recycle tapes with another process?

If you always use new backup tapes straight out of the wrapper, please mention this. Also please mention how big you think the total of the 6 "tar" archives is.


I'm not so sure that just testing of "status" (with "mt") and then looking for a single error message from "tar" is sufficient to determine if the tape is already full or where "tar" has failed.

For a problem tape, try running the command:
Code:
mt -f /dev/rmt/0n status

and then trying to see whether there is any clue that the tape is already full.

Also, the messages from "tar" (if it ran at all) are probably in the main backup log pointed to by $LOG.

Note: The cron command line redirection to /dev/null hides any output which is not trapped by the script. This would include any script syntax errors or untrapped output from commands.

The whole process would need very good record keeping if you wanted to restore a particular file from a particular named archive in a particular tape partition.

If the intention is only to ever have one backup set on one tape, then the script may need to start by rewinding the tape. Depends on what your backup strategy is and whether you change the tapes on a wide backup cycle like most sites.

Last edited by methyl; 04-03-2012 at 02:43 PM..
 

10 More Discussions You Might Find Interesting

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

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

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

4. UNIX for Dummies Questions & Answers

System full backup to tape

hi, Recently, I had receive one system. it's run on the unix tru64 server. I looking some log files when i know don't work few months age system backup to tape. Below error: INFO:Tape backups to tape tape0 starting for backup list: slot2:/disk4 Backup Command Variable... (0 Replies)
Discussion started by: Tlg13team
0 Replies

5. Solaris

Full backup and Restore

Dear All ; first how are you every body I'm just subscribed in your forum and i hope i found what i searched for along time . I'm not a Solaris specialist but i read more to build a Network Management Station depends on Solaris as OS and it is working good now . my problem is how to perform... (16 Replies)
Discussion started by: Basha
16 Replies

6. Solaris

full system backup

I have unix server with OS 5.8 ,,, I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies

7. Red Hat

Full OS-Backup

Hi, our redhat farm is growing (rhel 3 4 5) and the only backup we do is an incremental filesystembackup, which makes it very hard to restore the complete os is there a solution for a complete os-backup to a network server, like nim in aix, an the possibility to restore the whole red hat... (1 Reply)
Discussion started by: funksen
1 Replies

8. UNIX for Dummies Questions & Answers

incremental and full backup.. please help me

Hi, i'm new here(and a newbie) and i need some help with a project. I need to write a script for an incremental backup (this must be executed every day at 24:00) and a full backup (executed once a month) for etc/var/home directories. Can someone please help me with this? And a small explanation of... (9 Replies)
Discussion started by: bender-alex
9 Replies

9. Homework & Coursework Questions

incremental or full backup ???

Hi. Can someone tell me if the following script that i have made is a script for INCREMENTAL BACKUP or FULL BACKUP. My teacher told me that is doing an FULL BACKUP. • find /etc /var /home -newer /backups/.backup_reference > /backups/.files_to_archive • touch /backups/.backup_reference • tar... (1 Reply)
Discussion started by: bender-alex
1 Replies

10. AIX

Nimol: full backup,is possible?

I have a NIMOL(nim on linux) server working. It do a full backup of my rootvg with those commands nimol_config -r -L old-2018 nimol_config -m /usr/bin/ssh -C -L new-2018 nimol_backup -c ibmaix -L new-2018 My question is: is possible like hp-ux do with "make_tape_recovery" a FULL... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
AMLABEL(8)						      System Manager's Manual							AMLABEL(8)

NAME
amlabel - label an Amanda tape SYNOPSIS
amlabel [-f] config label [ slot slot ] DESCRIPTION
All Amanda tapes must be pre-labeled before they are used. Amanda verifies the label in amdump and amflush before writing to make sure the proper tape is loaded. Amlabel writes an Amanda label on the tape in the device specified by the amanda.conf file in /etc/amanda/config. Label may be any string that does not contain whitespace and that matches the amanda.conf labelstr regular expression option. It is up to the system administrator to define a naming convention. Amlabel appends the new tape to the tapelist file so it will be used by Amanda before it reuses any other tapes. When you amlabel multiple tapes, they will be used in the order you amlabel them. Amlabel will not write the label if the tape contains an active Amanda tape or if the label specified is on an active tape. The -f (force) flag bypasses these verifications. An optional slot may be specified after the tape label. If a tape changer is in use, amlabel will label the tape in the specified slot instead of the currently loaded tape. See the amanda(8) man page for more details about Amanda. EXAMPLE
Write an Amanda label with the string "DMP000" on the tape loaded in the device named in the tapedev option in /etc/amanda/Daily- Set1/amanda.conf: % amlabel DailySet1 DMP000 Label the tape in slot 3 of the currently configured tape changer with the string "DMP003": % amlabel DailySet1 DMP003 slot 3 MESSAGES
label label doesn't match labelstr "str" Label label on the command line does not match the labelstr regular expression str from amanda.conf. label label already on a tape Label label is already listed as an active Amanda tape. no tpchanger specified in "path", so slot command invalid The command line has the slot parameter but the amanda.conf file in path does not have a tape changer configured. reading label label, tape is in another amanda configuration This tape appears to be a valid Amanda tape, but label does not match labelstr for this configuration so it is probably part of a different Amanda configuration. reading label label, tape is active Tape label appears to already be part of this Amanda configuration and active, i.e. has valid data on it. no label found, are you sure tape is non-rewinding? While checking that the label was written correctly, amlabel got an error that might be caused by mis-configuring Amanda with a rewinding tape device name instead of a non-rewinding device name for tape. AUTHOR
James da Silva <jds@cs.umd.edu> University of Maryland, College Park SEE ALSO
amanda(8) amdump(8) amflush(8) AMLABEL(8)
All times are GMT -4. The time now is 06:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy