summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupDaemon.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-01-15 22:10:30 +0000
committerChris Wilson <chris+github@qwirx.com>2007-01-15 22:10:30 +0000
commite04804ca2f08402ac6b8fa7d043767eb42738de7 (patch)
tree9c920db63af168f6e22b5e288a752394dd6c1321 /bin/bbackupd/BackupDaemon.h
parentb8e98d8ef95d57d81535e6c6e5dcbd411990669a (diff)
Skip mount points and NTFS reparse points inside a location, even if
not excluded (refs #3)
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r--bin/bbackupd/BackupDaemon.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h
index 275603fc..5e3728d0 100644
--- a/bin/bbackupd/BackupDaemon.h
+++ b/bin/bbackupd/BackupDaemon.h
@@ -224,6 +224,18 @@ public:
BOX_WARNING("Failed to list directory: " << rLocalPath
<< ": " << rErrorMsg);
}
+ virtual void NotifyMountPointSkipped(
+ const BackupClientDirectoryRecord* pDirRecord,
+ const std::string& rLocalPath)
+ {
+ BOX_WARNING("Ignored directory: " << rLocalPath << ": "
+ #ifdef WIN32
+ "is an NTFS junction/reparse point; "
+ #else
+ "is a mount point; "
+ #endif
+ "create a new location if you want to back it up");
+ }
virtual void NotifyFileExcluded(
const BackupClientDirectoryRecord* pDirRecord,
const std::string& rLocalPath)