[lug] (Small) Network backup recommendations

Rob Nagler nagler at bivio.biz
Mon May 24 10:45:08 MDT 2021


We use rsync with magnetic disks, too. Here's our list of rsync options
<https://github.com/radiasoft/rsconf/blob/master/rsconf/package_data/bkp/primary.sh.jinja>
for local networks:

    local cmd=(
        rsync
        --archive
        --delete
        # https://gist.github.com/KartikTalwar/4393116
        # rsync (Everyone seems to like -z [--compress], but it is much
slower for me)
        # --compress
        # https://possiblelossofprecision.net/?p=2255
        -e 'ssh -x -T -o Compression=no -c aes128-ctr'
        --hard-links
        --links
        --numeric-ids
        --one-file-system
        --no-devices
        --no-specials
        --relative
        --sparse
        --timeout=14400
        # https://serverfault.com/a/386658
        # hash of delta is taking a long time
        --whole-file
        # we don't use these:
        # --acls
        # --xattrs
        "${args[@]}"
    )

We also keep a mirror with --link-dest. This works much faster than cp
--link.

We maintain a secondary mirror in a separate location, and for that we use
--compress.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20210524/9ca5b5b3/attachment.html>


More information about the LUG mailing list