I
believe that it's explicitly what Daniel requested, and I can think of several
use cases for which you would want to know this, even if you didn't have images
in the catalog for those clients any longer. ("Gone from the catalog" isn't the
same as "the tapes were destroyed or overwritten".)
In any case, ls -l /usr/openv/netbackup/db/images | awk '$2 > 3 {
print $NF }' should you the clients that still have images. (Field two in
long-form ls(1) output is number of links, NetBackup leaves either 2 or
3--depending on use--. files around in those directories it doesn't remove.)
Take that with a grain of salt, I didn't check all that carefully. (maybe du -sk
* | awk '$1 > 0 { print $2 }' would be better.)
-- gabriel rosenkoetter Radian Group
Inc, Unix/Linux/VMware Sysadmin / Backup &
Recovery gabriel.rosenkoetter AT radian DOT biz, 215 231 1556
Except that Netbackup doesn't clean up client directores
for clients with no remaining images.
This may be what Daniel wants, however.
-M
ls /usr/openv/netbackup/db/images works pretty well.
-- gabriel rosenkoetter Radian Group
Inc, Unix/Linux/VMware Sysadmin / Backup &
Recovery gabriel.rosenkoetter AT radian DOT biz, 215 231 1556
Hey
guys
Does anyone know a command that can
query the Image.db in Netbackup 5.1 to pull all the clients that have been
backed up by a particular Master server? I can run a bpplclients command but
that will only give me the current list of servers in active or inactive polices
and I want all of the servers that have been backed up by this Master server
throughout the years, even the ones that have been removed. Let me know if there
is such a command, thanks in advance.
Daniel Jimenez Data Protection
Team
|