From owner-freebsd-doc@freebsd.org Wed Jun 17 05:28:25 2020 Return-Path: Delivered-To: freebsd-doc@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 0A91334396C for ; Wed, 17 Jun 2020 05:28:25 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mtrm0gHNz4JkS for ; Wed, 17 Jun 2020 05:28:23 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-lj1-x241.google.com with SMTP id i27so1232712ljb.12 for ; Tue, 16 Jun 2020 22:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=WigIg4aTNqV0YGc/oSQ5A7qzMA2py0xriFyoVGIi96A=; b=st0c7PFus8srIFPo96hqxIOl+DgzT1+RjflWp83UaCEDkH8SUMwyTd0CkvAlxBfsEG oVfv8/Nw5JdVBDR2UULrxI5WcxiogXaPF3i8SyPaKrxxwd+cLGrk1FpEil8w0wS0X3z7 rI7svXYa2i4l9E141XwK+yT7PaVkxGG5FFlEymlOjCDi1cCQ102vNxx6ATEs5uTA1RAx HIpTIjhi2fr8uqaDj486xNJBm9oSdL7AzE9uikgldFzwXBR2lU4idBhKWbudkAWrtxJl Ap9264TMj4sSRtgR4EKDlBuc6HbCL8GspBcwtSOCFA33HQKTtc+g2DaqITfPl4aqM6ED 9qGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=WigIg4aTNqV0YGc/oSQ5A7qzMA2py0xriFyoVGIi96A=; b=tlZxZlwxKdN6UqMyQgN2OzLZZVd3S3giNcpxWNYsEWiWbZ4jFB3sHHX5AhmT/o9xI/ 1rFR9r550ALVKYE3//teZAaQeAsAFoi8qfHOK+JZIU5NxRYnBj4p4e2Jyv7OhtsH3Rs6 86QKy5izVr+UlHxn8M1IqGIz8w4btBPKaSVsqUZV+5MYH4b5R48Tm3jHreJzm6VrlGRe XK+f6jCKyhubt7zbuSo5/5X1EXECHcfEwCqxug6ucEfI0mlCmKDQaOBV05TPdOwI5g+F GACTmmsDAt9aINGSFoiW8WZkqsWXUfKsangm3jL5vrupa5HScXgqzkPviG09ayny1dBJ 9zSw== X-Gm-Message-State: AOAM533UT+Gk9XQ4cu5IRGCQtu6Gavaq95S9vKYKKG8aG2rGVSiY2wJq /uVcSyA1mcXLWpANoxoiugNgzAbmEmo2LNh1GVmsI6WrFzg= X-Google-Smtp-Source: ABdhPJzwcnM3ZSbmQgDJ+OjR81GH3IJrUy0fU7NxpvB203zm8v2ob65rHHUrEtsakHos64t6VSgTwDjyuNvjb1BzJgw= X-Received: by 2002:a05:651c:1126:: with SMTP id e6mr3042637ljo.123.1592371701982; Tue, 16 Jun 2020 22:28:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:47:0:0:0:0 with HTTP; Tue, 16 Jun 2020 22:28:21 -0700 (PDT) Reply-To: dwilde1@gmail.com In-Reply-To: References: From: Donald Wilde Date: Tue, 16 Jun 2020 22:28:21 -0700 Message-ID: Subject: Re: Bad example 17.1 in the 'File System Backups' section of the Handbook (17.8.1) To: freebsd-doc@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49mtrm0gHNz4JkS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=st0c7PFu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2a00:1450:4864:20::241 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-1.86 / 15.00]; HAS_REPLYTO(0.00)[dwilde1@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.37)[-0.372]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.006]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-doc@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.52)[0.516]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::241:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2020 05:28:25 -0000 On 6/16/20, Donald Wilde wrote: > Example 17.1. Using dump over ssh > > # /sbin/dump -0uan -f - /usr | gzip -2 | ssh -c blowfish \ > targetuser@targetmachine.example.com dd > of=/mybigfiles/dump-usr-l0.gz > > Problems seen in my circumstances (small system, single HDD): > > 1) dump(8) only accepts [filesystem] options as listed in /etc/fstab. > Unless you have a separate fs entry for /usr, the only choice you have > is / > > 2) stock openssh does not appear to come with the blowfish cypher. The > default is something called chacha20-poly1305@openssh.com, which seems > rather scary. > > 3) My Ubuntu 18.04.4 'safe' machine would not accept aes256-cdc, only > *-ctr cypher types and this 'chacha-poly1305' cipher. > > 4) I had to create the stash directory in my ftp user's home directory > and touch the actual file name before it would store my dump results. Wrong. I had to create the directory, but touch'ing the file made it stall after creating the worker threads. -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************