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
RESTOR(1M)																RESTOR(1M)

NAME
restor - incremental file system restore SYNOPSIS
restor key [ argument ... ] DESCRIPTION
Restor is used to read magtapes dumped with the dump command. The key specifies what is to be done. Key is one of the characters rRxt optionally combined with f. f Use the first argument as the name of the tape instead of the default. r or R The tape is read and loaded into the file system specified in argument. This should not be done lightly (see below). If the key is R restor asks which tape of a multi volume set to start on. This allows restor to be interrupted and then restarted (an icheck -s must be done before restart). x Each file on the tape named by an argument is extracted. The file name has all `mount' prefixes removed; for example, /usr/bin/lpr is named /bin/lpr on the tape. The file extracted is placed in a file with a numeric name supplied by restor (actually the inode number). In order to keep the amount of tape read to a minimum, the following procedure is recommended: Mount volume 1 of the set of dump tapes. Type the restor command. Restor will announce whether or not it found the files, give the number it will name the file, and rewind the tape. It then asks you to `mount the desired tape volume'. Type the number of the volume you choose. On a multivolume dump the recom- mended procedure is to mount the last through the first volume in that order. Restor checks to see if any of the files requested are on the mounted tape (or a later tape, thus the reverse order) and doesn't read through the tape if no files are. If you are working with a single volume dump or the number of files being restored is large, respond to the query with `1' and restor will read the tapes in sequential order. If you have a hierarchy to restore you can use dumpdir(1) to produce the list of names and a shell script to move the resulting files to their homes. t Print the date the tape was written and the date the filesystem was dumped from. The r option should only be used to restore a complete dump tape onto a clear file system or to restore an incremental dump tape onto this. Thus /etc/mkfs /dev/rp0 40600 restor r /dev/rp0 is a typical sequence to restore a complete dump. Another restor can be done to get an incremental dump in on top of this. A dump followed by a mkfs and a restor is used to change the size of a file system. FILES
default tape unit varies with installation rst* SEE ALSO
dump(1), mkfs(1), dumpdir(1) DIAGNOSTICS
There are various diagnostics involved with reading the tape and writing the disk. There are also diagnostics if the i-list or the free list of the file system is not large enough to hold the dump. If the dump extends over more than one tape, it may ask you to change tapes. Reply with a new-line when the next tape has been mounted. BUGS
There is redundant information on the tape that could be used in case of tape reading problems. Unfortunately, restor doesn't use it. RESTOR(1M)
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy