Bad example 17.1 in the 'File System Backups' section of the Handbook (17.8.1)

Donald Wilde dwilde1 at gmail.com
Wed Jun 17 01:45:29 UTC 2020


Example 17.1. Using dump over ssh

# /sbin/dump -0uan -f - /usr | gzip -2 | ssh -c blowfish \
          targetuser at 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 at 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?                     *
****************************************************


More information about the freebsd-doc mailing list