Re: Configuration DB

From: Alan Greenberger (ajgreenberger_at_agere.com)
Date: 08/21/04

  • Next message: Stefan O'Rear: "Re: OT: Which tool, and how, to get partial string from file?"
    Date: Sat, 21 Aug 2004 11:33:20 -0400 (EDT)
    To: debian-user@lists.debian.org
    
    

    John Hasler wrote:
    >Tong writes:
    >> The '--get-selections' and '--set-selections' only give your the list
    >> of
    >> packages, they won't save configuration for you.
    >
    >All the configuration data is in files under /etc. Back it up.
    >--
    >John Hasler
    >john@dhh.gt.org
    >Dancing Horse Hill
    >Elmwood, Wisconsin

    The --get-selections comes out with package names but no version
    numbers. I have some newer backports installed, which appear to be
    stored in /var/cache/apt/archives/ . If I were to restore this
    directory and do --set-selections, would it be smart enough to find these
    newer versions or does one have to do that manually afterwards?

    I notice there is a file, /var/backups/dpkg.status.0, which seems to
    have information about installed packages and version numbers.
    Shouldn't this file be usable somehow for restore?

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Stefan O'Rear: "Re: OT: Which tool, and how, to get partial string from file?"

    Relevant Pages

    • Re: Configuration DB
      ... > packages, they won't save configuration for you. ... All the configuration data is in files under /etc. ... John Hasler ... Dancing Horse Hill ...
      (Debian-User)
    • Problem with YaST restore system with SuSE 9.0
      ... The backup seems to work just fine, and I burn the files off to CD with no ... I re-install with no problems and log on as root to start the restore. ... Everything seems to work OK up through the display of packages found on ...
      (alt.os.linux.suse)
    • Re: Need to recover DTS files from computer crash
      ... I will let the network admin know to restore that as well. ... > In terms of the DTS packagnes...if you saved your DTS ... > packages to SQL Server then they will be in the msdb ... or do I need to create a new database with the same ...
      (microsoft.public.sqlserver.server)
    • Re: Restoring config files from default
      ... > I'd like to restore the config files in /etc to the default versions ... > but it did not restore the config file. ... You'd have to reinstall the packages thus: ... Win a $20,000 Career Makeover at Yahoo! ...
      (Debian-User)
    • Re: [Full-Disclosure] Removing ShKit Root Kit
      ... This is an excellent solution to the "restore" problem, ... portupgrade and some scripts for *BSD). ... so the issue of trusting the backup does not go away. ... > the latest program packages can be installed and the configuration can be ...
      (Full-Disclosure)