From 218cbd52896e838ea33aa95af6d6424a68ece5fc Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 13 Jul 2020 10:56:59 -0700 Subject: [PATCH] In database documentation, include command for finding named pipes and special devices. --- docs/how-to/backup-your-databases.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index e73a276..d7a22a7 100644 --- a/docs/how-to/backup-your-databases.md +++ b/docs/how-to/backup-your-databases.md @@ -171,7 +171,8 @@ databases that share the exact same name on different hosts. 4. Because database hooks implicitly enable the `read_special` configuration setting to support dump and restore streaming, you'll need to ensure that any special files are excluded from backups (named pipes, block devices, and -character devices). Common directories to exclude are `/dev` and `/run`, but +character devices) to prevent hanging. Try a command like `find / -type c,b,p` +to find such files. Common directories to exclude are `/dev` and `/run`, but that may not be exhaustive. @@ -214,8 +215,8 @@ hooks: ### borgmatic hangs during backup See Limitations above about `read_special`. You may need to exclude certain -paths with named pipes, block devices, or character devices. Common -directories to exclude are `/dev` and `/run`, but that may not be exhaustive. +paths with named pipes, block devices, or character devices on which borgmatic +is hanging. ## Related documentation