From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D27415815E for ; Sat, 3 Feb 2024 13:02:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7FF92BC048; Sat, 3 Feb 2024 13:02:34 +0000 (UTC) Received: from aye.elm.relay.mailchannels.net (aye.elm.relay.mailchannels.net [23.83.212.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B46A2BC027 for ; Sat, 3 Feb 2024 13:02:33 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1B6E854280D for ; Sat, 3 Feb 2024 13:02:33 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706965352; a=rsa-sha256; cv=none; b=I2aLNhFJBMdzdQd9fDNa/CzPntzRXk+ClGZ4NF/nyK0oN4HFjJ5qdylm+2WSpKEzkBLeeG PmpOnKzT6fUAGVa/v3XAWG79bhZRMgbPTf+r3oL23V7Cn2xuMwighLuN3PhfpPX4DaAJsx m3k66ioW8rO+CclEvzHQCdbYeKdrneOoQZSG74zVhpsgQIyRPSf9cbiAjKhLtjzPGXszu7 YgXH+YV6fGeAQ2Lwx1tPwzjhHiA/JsKqXgl2sbFw1GkbUr72MMaCLpo9/3Mk7aKUFd28ur 8FAC7LSItdoQvz5r/XvcM9Oo+uSj2DhOfk6PiiVZkd2kZP/rQM3eAhQCClf+1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706965352; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=hCmKUXfEiyeAuFFdv2uRMcWSwMOzGprRkfbHqxhE+cA=; b=N+WG2g0rhgUYoF/qR/2SV6Uy15/jfgSW/CXBAZWEzuntrNpVFt4m+7IpwYsVLBGeZjXkep BI0bxxHAIw8uVvEORu3Hmub70id7THJFtNgccaLN8AbudfuNbtdm5PMjbDh87HWWgSwlmN nydQQrBFjlD+yuH9q7w4BhYOAWjp8qGpZkJDwiVf4e+Af1s+rcLcPQZ/2vN03e/svosutf l7wZjGoU6RF34EFgqNYq5BsoZPIx+U8zeaNXycDJXVS/fK36ePsVLjAzOlJhudsMTi+LL0 mYwaTF5HvXWjCgQfaI/v/HgUEm9fkRsenW7VKlHeLnPZl1xFVTT0hTH5420Xsw== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-qggvv; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Gusty-Cellar: 0318248d36236fb4_1706965352972_2218446286 X-MC-Loop-Signature: 1706965352972:1947048761 X-MC-Ingress-Time: 1706965352972 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.108.147.48 (trex/6.9.2); Sat, 03 Feb 2024 13:02:32 +0000 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id B00CA40243 for ; Sat, 3 Feb 2024 13:02:27 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1706965348; bh=hCmKUXfEiyeAuFFdv2uRMcWSwMOzGprRkfbHqxhE+cA=; h=From:To:Subject; b=dZNFzH1IhyjKr/xK0d51848N/rmkf4tQoA+DlKW21iQRCHVcRXRQx9nTxMe9vasnZ +XPteqB6U+5t+MKt18IltUfSA3nWX5h8iUm0T6+dqoJfn4y0+d6WiCcUZKNhsc4qd8 TC1Y0OHH57ZMNViiBmbXaaAOiWZpmxd8H+I2tDUc= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Suggestions for backup scheme? Date: Sat, 03 Feb 2024 13:02:17 +0000 Message-ID: <2595684.Lt9SDvczpP@rogueboard> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4326880.ejJDZkT8p0"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <170696534822.118420.16241774486094172171@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: B00CA40243 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-0.61 / 999.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_HAS_DN(0.00)[]; R_DKIM_ALLOW(0.00)[kintzios.com:s=default]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FUZZY_BLOCKED(0.00)[rspamd.com]; DKIM_TRACE(0.00)[kintzios.com:+]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; R_SPF_ALLOW(0.00)[+mx]; NEURAL_HAM(-0.00)[-0.998]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 4adb2287-1de8-4aef-8dc9-aade85af2d8e X-Archives-Hash: 405b524019fa3948167739868fc95523 --nextPart4326880.ejJDZkT8p0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] Re: Suggestions for backup scheme? Date: Sat, 03 Feb 2024 13:02:17 +0000 Message-ID: <2595684.Lt9SDvczpP@rogueboard> In-Reply-To: MIME-Version: 1.0 On Friday, 2 February 2024 23:39:18 GMT Grant Edwards wrote: > On 2024-01-31, Rich Freeman wrote: > > Honestly, at this point I would not run any storage I cared about on > > anything but zfs. There are just so many benefits. > > > > [...] > > > > In any case, these COW filesystems, much like git, store data in a > > way that makes it very efficient to diff two snapshots and back up > > only the data that has changed. [...] > > In order to take advantage of this, I assume that the backup > destination and source both have to be ZFS? Do backup source and > destination need to be in the same filesystem? Or volume? Or Pool? > (I'm not clear on how those differ exactly.) Or can the backup > destination be "unrelated" to the backup source? The primary source of > failure in my world is definitely hardware failure of the disk drive, > so my backup destination is always a separate physical (usually > external) disk drive. TBH using ext4/xfs/f2fs/etc. on the host plus an incremental backup method on any other fs of choice on external storage is IMHO a better method for a laptop. Unless your data is changing continuously and you need incremental backups every 5 minutes what you use is well suited to your use case. > If you'll forgive the analogy, we'll say the the functionality of > rsync (as used by rsnapshot) is built-in to ZFS. Broadly and rather loosely yes, by virtue of the COW and snapshot fs architecture and the btrfs/zfs send-receive commands. > Is there an > application that does with ZFS snapshots what the rsnapshot > application itself does with rsync? COW filesystems do not need a 3rd party application. They come with their own commands which can be called manually, or scripted for convenience and automation. Various people have created their own scripts and applications, e.g. https://unix.stackexchange.com/questions/696513/best-strategy-to-backup-btrfs-root-filesystem > I googled for ZFS backup applications, but didn't find anything that > seemed to be widespread and "supported" the way that rsnapshot is. > > -- > Grant There must be quite a few scripts out there, but can't say what support they may receive. Random search revealed: https://www.zfsnap.org/ https://github.com/shirkdog/zfsbackup https://gbyte.dev/blog/simple-zfs-snapshotting-replicating-backup-rotating-convenience-bash-script --nextPart4326880.ejJDZkT8p0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmW+OVkACgkQseqq9sKV ZxnL3A//fAmzti0lLZhWdwFisYU33Qw3Yf9MkFA03VyAvB1/wKoFvIhDfJYpDwoD UcwZrb9XQIAa43CXDPxYMq/U8qakUIs0Ogy6GkIcYdU5AEzZBhXvBPyGSnudt1Gi 2Vgti21Ys8RS2ssYn4udFEWO0kKwicJoKyoA8KJ0FTPh3N29GdJ6BFx+ejiu8S0g FY6X02ENFMfcgZfOy7DiSreJow7cIao+jnHF9gZ/NF69DaCXhxDWCJgaYIQCL8Kz ybkf1zdvTDjOXg0db/YNngnDqQWjJRKmIiuLQEcjCBksDoVXbz7/DImzbnu5obzU qUuWli3tzbe+maQb4NgnY5d/JbXHoDvU+SaX3cxx0wP+9stEBaHJ2JNqYvsfoxr1 N32QUvR6rqpqNZdcPWpfzrStbgT8H9G/Kl1TZiAsCQCoyW7Cqf93NgUb7xNX6YqF 0D8Ft1PxGMYRDUSEgXxCGsT1MTjaUnxPIxdYFuT3KlWnx9i0303GaMM0KgKlcRgF dAHaef0gq+FXR24ykDAjLw0dsngerLpsHSpUrghmAQHix7iDuHf3B+r3SjXx2Nkw EQJ2WCJVvUxyKJWyK7GyavTmyC4xsz9ArIO1lgucCis5qqFfFxnhSN7fg+hkj91v kjDK4zk48+/ptxsqG8rW8nTFPuafg/4hUtyUQMpReBpkQyjQytA= =5O9R -----END PGP SIGNATURE----- --nextPart4326880.ejJDZkT8p0--