From nobody Mon Dec 11 20:12:28 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SptG00BSfz542tZ for ; Mon, 11 Dec 2023 20:12:40 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SptFz5C0bz4j6d for ; Mon, 11 Dec 2023 20:12:39 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SptFy3fsgz2fjXX; Mon, 11 Dec 2023 12:12:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: freebsd-update From: Doug Hardie In-Reply-To: <86a5qgy93y.fsf@bay.localnet> Date: Mon, 11 Dec 2023 12:12:28 -0800 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: Carl Johnson X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.2.0 at mail X-Virus-Status: Clean X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SptFz5C0bz4j6d > On Dec 11, 2023, at 08:52, Carl Johnson wrote: >=20 > Doug Hardie writes: >=20 >>> On Dec 11, 2023, at 01:24, Polytropon 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