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 [EMAIL PROTECTED], 215 231 1556 ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 11:55 AM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] IMAGE DB Client List Except that Netbackup doesn't clean up client directores for clients with no remaining images. This may be what Daniel wants, however. -M ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rosenkoetter, Gabriel Sent: Tuesday, October 07, 2008 8:22 AM To: 'Jimenez, Daniel'; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] IMAGE DB Client List ls /usr/openv/netbackup/db/images works pretty well. -- gabriel rosenkoetter Radian Group Inc, Unix/Linux/VMware Sysadmin / Backup & Recovery [EMAIL PROTECTED], 215 231 1556 ________________________________ From: Jimenez, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 6:22 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] IMAGE DB Client List 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
_______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu