Veritas-bu

Re: [Veritas-bu] IMAGE DB Client List

2008-10-07 15:13:19
Subject: Re: [Veritas-bu] IMAGE DB Client List
From: "Rosenkoetter, Gabriel" <Gabriel.Rosenkoetter AT radian DOT biz>
To: "'Mark.Donaldson AT cexp DOT com'" <Mark.Donaldson AT cexp DOT com>, "veritas-bu AT mailman.eng.auburn DOT edu" <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 7 Oct 2008 14:32:50 -0400
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

 


From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com]
Sent: Tuesday, October 07, 2008 11:55 AM
To: veritas-bu AT mailman.eng.auburn DOT 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: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Rosenkoetter, Gabriel
Sent: Tuesday, October 07, 2008 8:22 AM
To: 'Jimenez, Daniel'; veritas-bu AT mailman.eng.auburn DOT 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
gabriel.rosenkoetter AT radian DOT biz, 215 231 1556

 


From: Jimenez, Daniel [mailto:Daniel.Jimenez AT imb DOT com]
Sent: Monday, October 06, 2008 6:22 PM
To: veritas-bu AT mailman.eng.auburn DOT 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 AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>