From owner-freebsd-doc@freebsd.org Wed Jun 17 01:45:29 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 8874C33E088 for ; Wed, 17 Jun 2020 01:45:29 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (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 49mnvX5bbCz457W for ; Wed, 17 Jun 2020 01:45:28 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-lj1-x244.google.com with SMTP id z9so806073ljh.13 for ; Tue, 16 Jun 2020 18:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=JnPPLCj5dk20HHmQEVocIUtHql9DP4jzWv0x6MkcWfo=; b=IG6/W9iOLCbVFvp15rSoh94rE3ayCk8w2Plz+7d/U7+nkeD4L+cRW763eIeqKaQ2/G 6CcMZa29KSxm87l4NzVFqKizLnD7tblLjP3L0Dl2hcymVZWvQlrPd5dQToM/x/GIKj2D LbD/FBRHrUNKbbU6zbt8Uhp0kUWw4ROsAelu67M8FYdFdnS1ijZl7sddHs2uHsjuKb3R MZIw7jJ5wPkzcd/KV0Lsq7HVZlXNuE0Ar7oEH0eaG1tNUHO41zmoOd2pbR5b2URi/NK0 It3MYcbU24e9Cqyq+jD/T9rknlz7RHfhLjW0ITMPfH2PEwZFOhZQ0AVM9AdGOh1+9rgx G7CA== 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:from:date:message-id :subject:to; bh=JnPPLCj5dk20HHmQEVocIUtHql9DP4jzWv0x6MkcWfo=; b=g9RRMAZ0hAW8SxKbLRQHTWb3wl9Q+H7C+eNtP/7nOasUH8Wk+/nvJHmrC/bW52Gs+/ I5hQg+KcvQc78IBDdui6N+yNmqPT+qKSmpKMiwoTdbZ4eScMuoIuskuEjUZCuhQdrX3g fGYMT81v7nyDffW3jmodmSvkLLiDU6fIQpg08bFAyiImQD1/Z4I0HBznKE8+aDKnXAhk MG+OwPdGdvTNCGYf1BFFPkPDQUYj1f/0VGMHSsjNaUmZpyL4CuB24+/VT2ROYcr0Qpus T4HTCvHArkU2x87BdRUHzXaDjptI2H8EtWd5QjYoEX4uSSdgQOMInWW9ha/s0AxFa1/I nx9w== X-Gm-Message-State: AOAM531h+o35WExhhx1Nb9aA8ESZ2jLb5cLJqQA/bBy4TVGCdxtFV0KS fkL9SbnLu2CqfylO+TadZWTi7N5+YM0UIuA1NK6C+y8F3S4= X-Google-Smtp-Source: ABdhPJz92HGRbRg/ty86V6JgntE0oxWknONTBcaAKMtCdKaRRbjI7z/TnR1U2pS5TvlfABBuDjtLAM91mF0r0lxFZl4= X-Received: by 2002:a2e:2202:: with SMTP id i2mr2788397lji.199.1592358326438; Tue, 16 Jun 2020 18:45:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:47:0:0:0:0 with HTTP; Tue, 16 Jun 2020 18:45:25 -0700 (PDT) Reply-To: dwilde1@gmail.com From: Donald Wilde Date: Tue, 16 Jun 2020 18:45:25 -0700 Message-ID: Subject: 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: 49mnvX5bbCz457W X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IG6/W9iO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2a00:1450:4864:20::244 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-1.98 / 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.41)[-0.408]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.005]; 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.43)[0.431]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::244: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 01:45:29 -0000 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. HTH! I'm not yet 'up' on the handbook file formatting to patch it myself. -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************