Networker

Re: [Networker] How to tell if someone is getting backed up

2003-08-14 07:38:58
Subject: Re: [Networker] How to tell if someone is getting backed up
From: Joe Moore <Joe.Moore AT SDRC DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 14 Aug 2003 07:23:48 -0400
To find the savetime:
mminfo -c $CLIENT -q other-conditions -r nsavetime

So, combining these, here's the command for the files backed up last night
(actually, since midnight) on one of our servers:

nsrinfo -t `mminfo -q client=bravo,savetime>today,name=/ -r nsavetime` bravo

--Joe

On Wed, Aug 13, 2003 at 02:24:24PM -0700, Shelley L. Shostak wrote:
> Joe,
>
> This only works if you know the savetime.  If you knew the savetime, you would
> know that a backup had been done.  Catch 22 here.
>
> It is pretty easy to build a web page that is updated at the end of each
> savegroup completion and lists the date/time of last backup for each
> client/saveset.
>
> Shelley
>
>
> sls@nickel% nsrinfo -t today krypton
> scanning client `krypton' for savetime 1060758000(Wed Aug 13 00:00:00 2003)
> from the backup namespace
> 0 objects found
> sls@nickel%
>
>
> On Wed, 13 Aug 2003, Joe Moore wrote:
>
> > Date: Wed, 13 Aug 2003 13:07:56 -0700
> > From: Joe Moore <Joe.Moore AT SDRC DOT COM>
> > To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> > Subject: Re: [Networker] How to tell if someone is getting backed up
> >
> > On Wed, Aug 13, 2003 at 02:01:44PM -0500, steve rader wrote:
> > >  > From: Dave Martini 1
> > >  > How can the user check to see if they have been backed up other than
> > >  > recieving the email notifications? Can this be done through the 
> > > Networker
> > >  > User
> > >  > GUI?
> > >
> > > Under Unix, users seem to be happy with
> > >
> > >  mminfo -s nsrhost -c $HOSTNAME -t yesterday
> > >
> > > output.
> > >
> > > Does anyone know how to query for, say, /home and <1>/home??
> >
> > Perhaps the nsrinfo command would be helpful?
> >
> > nsrinfo -t <savetime> client
> >
> > --Joe
>

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=