Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 18:45:25 -0700
From:      Donald Wilde <dwilde1@gmail.com>
To:        freebsd-doc@freebsd.org
Subject:   Bad example 17.1 in the 'File System Backups' section of the Handbook (17.8.1)
Message-ID:  <CAEC7391R74BQNX2mTHNEqvwybeMTZc=U%2BEPEq6jBrVp1anprzA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?                     *
****************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEC7391R74BQNX2mTHNEqvwybeMTZc=U%2BEPEq6jBrVp1anprzA>