From e98f823f34fe885c3defd9ef23c2634f92b54f6d Mon Sep 17 00:00:00 2001 From: Alexander Pyhalov Date: Mon, 21 Mar 2016 11:23:55 +0300 Subject: [PATCH] Don't try to backup doors or event ports --- borg/archiver.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/borg/archiver.py b/borg/archiver.py index aa6056a68..c9f72c8db 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -281,6 +281,12 @@ class Archiver: elif stat.S_ISSOCK(st.st_mode): # Ignore unix sockets return + elif stat.S_ISDOOR(st.st_mode): + # Ignore Solaris doors + return + elif stat.S_ISPORT(st.st_mode): + # Ignore Solaris event ports + return else: self.print_warning('Unknown file type: %s', path) return