Browse Source

In database documentation, include command for finding named pipes and special devices.

Dan Helfman 5 years ago
parent
commit
218cbd5289
1 changed files with 4 additions and 3 deletions
  1. 4 3
      docs/how-to/backup-your-databases.md

+ 4 - 3
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
 4. Because database hooks implicitly enable the `read_special` configuration
 setting to support dump and restore streaming, you'll need to ensure that any
 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
 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.
 that may not be exhaustive.
 
 
 
 
@@ -214,8 +215,8 @@ hooks:
 ### borgmatic hangs during backup
 ### borgmatic hangs during backup
 
 
 See Limitations above about `read_special`. You may need to exclude certain
 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
 ## Related documentation