Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230854
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Backup debconf state |
| Date | 2021-01-19 17:40 +0100 |
| Message-ID | <Bz2cW-3VB-19@gated-at.bofh.it> (permalink) |
| References | <Bz0Xv-3cO-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2021-01-19 16:09 +0100, Erwan David wrote:
> Hello everybody
>
> If I want to be able to fast reinstall a debian after a crash, I
> already backup /etc (including /etc/apt), a file with the output of
> apt-show manual
> to get the list of manually installed packages, /etc, but It would be
> handy to have the state of debconf (with all the answers I already
> gave).
> Is a backup of /var/cache debconf sufficient for this ?
Yes, that should be enough. Note that maintainer scripts which use
debconf should first consult the configuration files in /etc and only
fall back to the debconf database if those do not deliver the necessary
information. That's why the debconf database is located under
/var/cache and not under /var/lib.
Cheers,
Sven
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Backup debconf state Erwan David <erwan@rail.eu.org> - 2021-01-19 16:20 +0100
Re: Backup debconf state Andy Smith <andy@strugglers.net> - 2021-01-19 16:30 +0100
Re: Backup debconf state Erwan David <erwan@rail.eu.org> - 2021-01-19 16:40 +0100
Re: Backup debconf state Sven Joachim <svenjoac@gmx.de> - 2021-01-19 17:40 +0100
csiph-web