]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/README.win32
added VSS toggling by enable_vss
[bacula/bacula] / bacula / src / win32 / README.win32
index 58efef1d56865932208e4d0b4432f00f78777de8..d12e12a3f69094677fba6fe77e15022184fbe227 100644 (file)
@@ -40,23 +40,34 @@ To build it:
 - You need the Platform SDK installed.
 - You need Visual Studio installed.
 - You need to load depkgs-win32, then
+    (make the two patches described below to in Nicolas' notes to wx)
     cd depkgs-win32
+    make
+    (after building zlib and pthreads, it fails in wx)
     cd wx
     ./configure
-    (try doing a make, but it will probably fail)   
-- You may have to build wx with VC++ (as was the case for me).
+    make
+    (if it succeeds skip the next item, otherwise do it) 
+- You may have to build wx with VC++.
   After starting VC++, use File->Open Workspace then
   open wx/src/wxWindows.dsw then use
   Build->Build All or Build->build wxmsw.lib should work too.
-- Then 
-    cd depkgs-win32
-    make
-  this will build pthreads and zlib
 - cd bacula
   ./configure --enable-client-only
   cd src/win32
   make
 
+Instructions if you want to build bacula-fd with VSS (Volume Shadow Copy Service) support:
+- VSS support is right now (June 2005) available for MS-Windows XP (beta)
+- VSS support is right now (June 2005) available for MS-Windows 2003 (beta)
+- you need to get the VSS SDK: 
+  http://www.microsoft.com/downloads/details.aspx?FamilyID=0B4F56E4-0CCC-4626-826A-ED2C4C95C871&displaylang=en
+- copy the 'inc' and 'lib' directories from this SDK to 'bacula/src/win32/compat/vss'
+- you should then have 'bacula/src/win32/compat/vss/inc' and 'bacula/src/win32/compat/vss/lib'
+  both with 'Win2003' and 'WinXP' subdirectories
+- add 'WIN32_VSS' as preprocessor directive
+- you should get a bacula-fd that runs on all platforms but has VSS support for WinXP and 2003 enabled
+
 That should be all there is too it. The winbacula-1.xx.y.exe should be
 in the current directory.
 
@@ -109,8 +120,9 @@ Instructions if you want to build wx-console :
 - Additional information on using the free Micrsosoft C++ see
   http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit
 
-NOTE! I (Kern) cannot build wxWindows with the Makefile -- I had to use                
-VC Studio directly to do so following their instructions.
+NOTE! I (Kern) cannot build wxWindows with the Makefile until after
+I do a ./configure.  I can us VC Studio directly to do so
+following their instructions.
 
 Getting all the environment variables setup properly is not always so obvious.
 Here is what I have when I do a "set" in a rxvt window, in which I build