[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [REDHAT] Re: DO NOT sysadmin your box after midnight!



On Fri, Aug 31, 2001 at 01:10:37AM -0400, David Kramer wrote:
> On Fri, 31 Aug 2001, Hal Burgiss wrote:
> 
> I do fairly regular backups of selected files, but /var/lib/rpm
> didn't make it to the list (it will now!!!).  Part of my back up
> does an rpm -qa and rmp -qia to two separate files.  So I have a
> complete list of rpms that were installed as of last month.

Oh yea, I forgot, but I now backup /var/lib/rpm too ;) Live and learn.
I do a rpm -qa backup now too.
 
> I noticed an rpm option "--justdb" that says it will just update the
> database and not the filesystem.  So let's say I wrote a little script
> that reads in my rpm -qa list and does a
> 
> rpm --nodeps --justdb \
> ftp://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386/RedHat/RPMS/$RPMNAME
> 
> for each line.  Should that work for any packages that I haven't updated
> since the install?  Then I could look for the rest in the updates
> directory, etc.  Whatya think?

I think I'd try it and see! Sounds like a good idea.

-- 
Hal B
 hal foobox net
 hal burgiss net
 hburgiss bellsouth net
 Spamtrap: uce ftc gov and report fraud org
--





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]