Okay, that tells me a lot. Your "ubackups" program is probably a custom script, but it just uses tar to write to the tape...
Scan to the end of the tape with 0n is the same tape device but non-rewinding: It leaves the tape where it finished when tar is done. This lets you do mt -f /dev/rmt/0n tell to tell you the current position of the tape (probably in blocks of 512, not bytes, though other blockisizes are possible) and figure out exactly how much has been stored on it.
Then you can mt -f /dev/rmt/0n rewind to rewind the tape.
version: SCO 5.0.5
There is a file in /usr/local/bin called ' baktape ', I'm unsure whether this is a standard unix file or one created by someone who used to manage this server? Anyway, it backs up what is specified to be backed up to tape and then prints off a report.
Problem:
What comes... (2 Replies)
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
hi members...
another new probs...
i need to check all the zip files in the server and check for a space or "`" in the file name and if found need to remove them and form a zip file.
i tried using grep command to check for a space but with out success also when i tried checking for "`" as... (6 Replies)
Hi,
I want to know the command which can be used for finding the % of disk space occupied by files & sub-folders inside a given mount in Sun Solaris
For eg: I have /tmp/ folder when I sat df -k it will give the percentage of space used by /tmp/.
Say if I want to see how much % the files &... (2 Replies)
Hi everyone,
I am writing a script. As a part of this script, I wanted to check the space of few mounts, If the space usage percentage of the mount crosses over a certain limit then i wanted to display a warning message. The following is the command
df -k | awk ' { if (($6 == "/export/temp")... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Im still pretty new to this and could really use some help with this task
"Write a script to check in the... (12 Replies)
I have the below shell script which is checking /archlog mount point space on cappire(solaris 10) server. When the space usage is above 80% it should e-mail. When i tested this script it is working as expected.
-------------------------------------------------------------------------... (0 Replies)
I have the below shell script which is checking /archlog mount point space on cappire(solaris 10) server. When the space usage is above 80% it should e-mail. When i tested this script it is working as expected.
#!/usr/bin/ksh
export MAIL_LIST="tlr.voora@zamn.com"
export ARCH_STATUS=`df -k... (1 Reply)
I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies
LEARN ABOUT REDHAT
amlabel
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)