diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 20:43:06 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 20:43:06 +0000 |
commit | f466bde341f1b4f9201a7fb12331c7b88e15ef82 (patch) | |
tree | 20ac5d1522cd408e002115d70b3b58200cef469d /bin/bbackupd/BackupDaemon.h | |
parent | 36c6a2a6ba56c608dedf7b974717fb257bb7a8e0 (diff) |
Store the snapshot ID and lookup the resulting device name, building the
Windows path to the snapshot for each location.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index 94a6abbb..1a5654a6 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -32,8 +32,10 @@ #endif #ifdef ENABLE_VSS - class IVssBackupComponents; - struct IVssAsync; +# include <comdef.h> +# include <Vss.h> +# include <VsWriter.h> +# include <VsBackup.h> #endif class BackupClientDirectoryRecord; @@ -173,6 +175,12 @@ public: int mIDMapIndex; ExcludeList *mpExcludeFiles; ExcludeList *mpExcludeDirs; + +#ifdef ENABLE_VSS + bool mIsSnapshotCreated; + VSS_ID mSnapshotVolumeId; + std::string mSnapshotPath; +#endif }; typedef const std::vector<Location *> Locations; |