From b872b8500090fb37294f42cd47b8938b08879437 Mon Sep 17 00:00:00 2001 From: Appilan Pappilan Apupapin Date: Sat, 10 Sep 2022 23:06:11 +0000 Subject: [PATCH] This find command is more portable. --- docs/how-to/backup-your-databases.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index fba3425..cc3e57f 100644 --- a/docs/how-to/backup-your-databases.md +++ b/docs/how-to/backup-your-databases.md @@ -215,7 +215,8 @@ 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 +`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. -- 2.35.1