Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

From: Michael Fratoni (mfratoni_at_tuxfan.homeip.net)
Date: 09/12/03

  • Next message: Marc Adler: "[SOLVED] Re: URGENT: postfix fails, no internet connection"
    To: redhat-list@redhat.com
    Date: Thu, 11 Sep 2003 22:39:07 -0400
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Thursday 11 September 2003 07:38 am, Ed Wilts wrote:
    > On Thu, Sep 11, 2003 at 12:02:03AM -0400, Michael Fratoni wrote:
    > > > I also find out that in SUSE Linux there's a time-stamped backups
    > > > of the RPM database in /var/adm/backup/rpmdb and that you can just
    > > > copy it to /var/lib/rpm, and everything gets back to normal! Anyway
    > > > thanks a lot!
    > >
    > > Hrmm, not a bad idea. Simple enough to accomplish via a cron job.
    > > You'd want to add some error checks and remove older backups, but
    > > basically this should work:
    >
    > Personally, I find this to be a bad idea. Everything needs to be
    > backed up, and that's a user's responsibility. First the distributor
    > decides you need rpmdb backed up, and then the password and group
    > files, and then configuration files, and then they don't stop until you
    > no space for your backups.

    I don't disagree.

    > A good administrator will take backups of the important stuff. In my
    > daily backups, I include /var.

    There are plenty of cases where backups aren't done, or aren't done often
    enough. (Think home user) I wasn't advocating Red Hat including a
    function to back up the rpm database (or anything else), just a quick
    script for a user to do it manually. Sure, you back up your data, and I
    back up mine. There are plenty of cases where users don't create backups
    of anything at all. In such a situation, a user created cron job to make
    backups of the rpm database can't be a bad thing. If they loose a disk,
    they are sunk anyway, but if they hose the rpm database, recovery is as
    simple as a 'cp' command.

    - --
    - -Michael

    pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
    Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
    - --
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.7 (GNU/Linux)

    iD8DBQE/YTHLn/07WoAb/SsRAtlpAJkB8rQITL/rp7+powgmIaxTZbEEEQCgq9NZ
    rwvjIZk4ApKRwC8NqCvhhJY=
    =f3Wi
    -----END PGP SIGNATURE-----

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Marc Adler: "[SOLVED] Re: URGENT: postfix fails, no internet connection"

    Relevant Pages

    • Re: .Mac
      ... mail client as well as being accessible via the web, ... 'cron' schedules my backups to a place that actually has enough ... a cron job would do the backups. ... I have no idea what you mean "I do that with my PDA"; ...
      (comp.sys.mac.system)
    • Re: [SLE] Can anyone recommend a backup program/script for home user?
      ... With a simple .conf file and a cron job, ... I get backups every night to the backup disk. ...
      (SuSE)
    • RE: i just did a rm -rf /*r as root!!!
      ... Albert Smith ... >> Boot from the install CD and go into Recovery mode. ... >> would use RPM to rebuild the rpm database then update your ... > If you have backups, then the steps enough will get you ...
      (RedHat)
    • Re: meet a sexy naked single woman seeking sex
      ... have plenty of time to surf the net, ... Bless. ... One day they'll let you off backups and let you do filing or something. ...
      (rec.sport.rugby.union)
    • Re: Timer Code
      ... make sure you keep plenty of backups. ... If the last change I made deleted 42 important worksheets and I was going to ... Dave Peterson ...
      (microsoft.public.excel.programming)