From owner-freebsd-questions@freebsd.org Wed Jul 15 13:34:45 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E0A836628A for ; Wed, 15 Jul 2020 13:34:45 +0000 (UTC) (envelope-from christian.baer@uni-dortmund.de) Received: from dd13304.kasserver.com (dd13304.kasserver.com [85.13.135.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B6JJz0MN8z3c2Z for ; Wed, 15 Jul 2020 13:34:42 +0000 (UTC) (envelope-from christian.baer@uni-dortmund.de) Received: from localhost.localdomain (unknown [185.245.84.124]) by dd13304.kasserver.com (Postfix) with ESMTPSA id 46CAE5E20F33 for ; Wed, 15 Jul 2020 15:34:39 +0200 (CEST) Date: Wed, 15 Jul 2020 15:32:52 +0200 From: Christian Baer To: freebsd-questions@freebsd.org Subject: Backup before reinstall Message-ID: <20200715153213.5961e091@uni-dortmund.de> User-Agent: Claws Mail 3.17.5 [GTK+ 2.24.32; FreeBSD (aarch64)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4B6JJz0MN8z3c2Z X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of christian.baer@uni-dortmund.de does not designate 85.13.135.53 as permitted sender) smtp.mailfrom=christian.baer@uni-dortmund.de X-Spamd-Result: default: False [1.62 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.41)[0.406]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.07)[0.073]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.24)[0.243]; RCVD_IN_DNSWL_NONE(0.00)[85.13.135.53:from]; DMARC_NA(0.00)[uni-dortmund.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34788, ipnet:85.13.135.0/24, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 13:34:45 -0000 Greetings Programs! :-) One of my boxes is still running FreeBSD 10. Everything is updated to include the latest patches, but the time has come to move on. :-) Trying an update over multiple major releases is almost guaranteed to break the system - even if it's done in steps - so I have decided to reinstall everything. This will also get rid of some redundant stuff I have installed. This machine is used as a server and I haven't installed X at all. What I do utilize heavily is Geli and ZFS (als RAIDZ2). I don't mind reconfiguring a few things on foot after the reinstall. But I really want to be able to access my encrypted RAIDZ again. :-) The system boots from a 128GB SSD. This holds all the partitions for /, /usr /var and swap. Nothing on the SSD is encrypted, because I want the system to be able to boot without any "help". This is the only physical device that will get erased during the reinstall. The raidz has it's own mountpoint (under /zfs) and contains three subvolumes, which are mounted in different places (one of them is /home). The raidz spans seven HDDs, which are all encrypted with geli. To be clear: The drives were encrypted first and the raidz spans the encrypted (.eli) devices. The setup isn't really too complicated. What I don't know is where FreeBSD stored the information about what belongs to the raidz etc. Is there something special I need to backup to be sure all of this is reusable again? I could of course backup the whole SSD. But there is a lot of junk there I won't need again (most of the data probably), so if I can, I would try to only backup the useful stuff. I would appriciate any advice! Cheers! Chris P.S. Before anyone tells me that backups are important: I have backups, but only of the data on the raidz. This is what I considered to be important, not so much the system. So if this goes wrong, I could restore everything, but that would take much longer than I'd care to sit in front of the computer. :-P