Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NAS and replacing with larger drives
Date: Mon, 19 Dec 2022 11:08:41
Message-Id: 60151c63-4247-09b0-dc0d-a5bfa7c1296e@youngman.org.uk
In Reply to: Re: [gentoo-user] NAS and replacing with larger drives by Dale
1 On 18/12/2022 22:11, Dale wrote:
2 > Wol wrote:
3 >> On 18/12/2022 18:59, Dale wrote:
4 >>> Since this is local, I just use rsync to do my backups.  I did have to
5 >>> change the options a bit.  It seems TrueNAS doesn't like some of the
6 >>> permissions or something.
7 >>
8 >> Are you running the rsync daemon on the NAS? I'm probably teaching
9 >> grandma to suck eggs, but that massively reduces the need for network
10 >> traffic.
11 >>
12 >> Cheers,
13 >> Wol
14 >>
15 >>
16 >
17 >
18 > I mount the NAS on my Gentoo rig.  I mount it under /mnt.  Then I run
19 > rsync and copy from the source to the mount point for the NAS.  I may
20 > could go the other way but never thought about doing it that way.  Kinda
21 > sounds backwards to me but I dunno. ;-)
22 >
23 Sounds to me like you're doing it all wrong either way ...
24
25 What is *supposed* to happen is that you have the daemon running on one
26 machine and the client on the other - doesn't matter which.
27
28 Then the client tells the daemon what files are to be copied, THE TWO
29 COMPARE CHECKSUMS, and only the stuff that fails the checksum is copied.
30 So if you're doing an incremental backup, network usage and writes are
31 kept to a minimum.
32
33 I tell people to an in-place backup if they're running on a snapshot
34 setup, because again it only writes stuff that has actually changed.
35
36 Cheers,
37 Wol

Replies

Subject Author
Re: [gentoo-user] NAS and replacing with larger drives Dale <rdalek1967@×××××.com>