From 9cc043f60ebe83eef5231e9c8f64d12d74793d11 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 11 Sep 2022 20:02:30 -0700 Subject: [PATCH] Update "find" command in documentation to work on BSDs and not just Linux (#583). --- docs/how-to/backup-your-databases.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index fba3425..77a7a06 100644 --- a/docs/how-to/backup-your-databases.md +++ b/docs/how-to/backup-your-databases.md @@ -215,8 +215,9 @@ databases that share the exact same name on different hosts. setting to support dump and restore streaming, you'll need to ensure that any special files are excluded from backups (named pipes, block devices, character devices, and sockets) to prevent hanging. Try a command like -`find /your/source/path -type c,b,p,s` to find such files. Common directories -to exclude are `/dev` and `/run`, but that may not be exhaustive. +`find /your/source/path -type b -or -type c -or -type p -or -type s` to find +such files. Common directories to exclude are `/dev` and `/run`, but that may +not be exhaustive. ### Manual restoration