Date: Mon, 11 Dec 2023 12:12:28 -0800 From: Doug Hardie <bc979@lafn.org> To: Carl Johnson <carlj@peak.org> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update Message-ID: <D7579ED7-9B44-4EF4-A11B-5FD5348BD46C@sermon-archive.info> In-Reply-To: <86a5qgy93y.fsf@bay.localnet> References: <6D99F68F-1B96-4DDC-AFDF-A245EFBE8F7A@sermon-archive.info> <20231211102415.25366753.freebsd@edvax.de> <52B31BB7-A108-4716-AFB8-F03C76029440@sermon-archive.info> <86a5qgy93y.fsf@bay.localnet>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Dec 11, 2023, at 08:52, Carl Johnson <carlj@peak.org> wrote: >=20 > Doug Hardie <bc979@lafn.org> writes: >=20 >>> On Dec 11, 2023, at 01:24, Polytropon <freebsd@edvax.de> wrote: >>>=20 >>> On Sun, 10 Dec 2023 18:41:11 -0800, Doug Hardie wrote: >>>> I have upgraded using freebsd-update a number of time on one = system. >>>> There are two files I would like to retrieve from the previous >>>> incarnation. I don't want to revert them, just put them somewhere >>>> where I can retrieve their contents. Is this possible?=20 >>>> /var/db/freebsd-update is intact from several years and updates = ago. >>>=20 >>> There should be a backup of every file freebsd-update has modified. >>> It is located in /var/tmp, if I remember correctly. >>>=20 >>> What files in particular are you searching for? >>=20 >> I didn't find anything in /var/tmp except for the vi recovery files. = Looking for sshd_config and ssh_config. >>=20 >> -- Doug >=20 > It is in /var/db/freebsd-update, not /var/tmp. I found /var/db/freebsd-update/files which has files from 2017 and on = till the last update. However, the names are encoded in some way - = e.g., 092a2690192245310b6c7db95cde1ace858b83380538e7db34473a1d22451fc1.gz I probably need to clean up that directory, but how do I find the file = name from the above? -- Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D7579ED7-9B44-4EF4-A11B-5FD5348BD46C>