NAME

istaped - helper script to return if the given path is going to backup tape

SYNOPSIS

istaped </path/to/check>

DESCRIPTION

Probably only useful as part of our backup environment. Assumes TiBS backup client software is installed on the machine. Returns true (0) and "yes" to STDOUT if the specified path has been backed up to tape recently, otherwise a non-zero value, and "no" to STDOUT, in the case of an error or the path hasn't gone to tape recently.

Uses the output of 'tera -Q' to determine if the path is been backup recently/at all. A "Busy" status implies that it is being backedup, and so "yes" will be returned in those cases.

Our rmirror-report uses the "yes/no" output.

AUTHOR

Neil Brown <neilb+rpm@inf.ed.ac.uk>