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 4604D158020 for ; Mon, 19 Dec 2022 11:08:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F0EAE0B33; Mon, 19 Dec 2022 11:08:35 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (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 E69C0E0B14 for ; Mon, 19 Dec 2022 11:08:34 +0000 (UTC) Received: from host86-138-24-20.range86-138.btcentralplus.com ([86.138.24.20] helo=[192.168.1.218]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1p7E0X-0005yL-Da for gentoo-user@lists.gentoo.org; Mon, 19 Dec 2022 11:08:33 +0000 Message-ID: <60151c63-4247-09b0-dc0d-a5bfa7c1296e@youngman.org.uk> Date: Mon, 19 Dec 2022 11:08:32 +0000 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [gentoo-user] NAS and replacing with larger drives To: gentoo-user@lists.gentoo.org References: <0a10c428-94f1-6112-4d88-c97143f9564d@gmail.com> <7a8384d4-4213-b2df-df28-2b56a8b2d030@youngman.org.uk> <8d058bd7-6c91-aa1a-6e2f-133cf0642f81@gmail.com> Content-Language: en-GB From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 62832fed-e836-430e-b0e9-c22a7daff591 X-Archives-Hash: 6b1b174570a485c0dfee431224294819 On 18/12/2022 22:11, Dale wrote: > Wol wrote: >> On 18/12/2022 18:59, Dale wrote: >>> Since this is local, I just use rsync to do my backups.  I did have to >>> change the options a bit.  It seems TrueNAS doesn't like some of the >>> permissions or something. >> >> Are you running the rsync daemon on the NAS? I'm probably teaching >> grandma to suck eggs, but that massively reduces the need for network >> traffic. >> >> Cheers, >> Wol >> >> > > > I mount the NAS on my Gentoo rig.  I mount it under /mnt.  Then I run > rsync and copy from the source to the mount point for the NAS.  I may > could go the other way but never thought about doing it that way.  Kinda > sounds backwards to me but I dunno. ;-) > Sounds to me like you're doing it all wrong either way ... What is *supposed* to happen is that you have the daemon running on one machine and the client on the other - doesn't matter which. Then the client tells the daemon what files are to be copied, THE TWO COMPARE CHECKSUMS, and only the stuff that fails the checksum is copied. So if you're doing an incremental backup, network usage and writes are kept to a minimum. I tell people to an in-place backup if they're running on a snapshot setup, because again it only writes stuff that has actually changed. Cheers, Wol