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

This commit is contained in:
Dan Helfman 2020-07-13 10:56:59 -07:00
parent 2ac58670d5
commit 218cbd5289

View file

@ -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 paths with named pipes, block devices, or character devices on which borgmatic
directories to exclude are `/dev` and `/run`, but that may not be exhaustive. is hanging.
## Related documentation ## Related documentation