Re: [Bacula-users] VSS problems

2008-02-04 Thread Hederer Jean-Sébastien

excuse. if FDs are with 1.38, VSS isn't implemented if I remember well

you should upgrade your FDs to 2.2.6

Cordialement

Jean-Sébastien Hederer - Gérant ASPerience
Conseil, intégration, hébergement de systèmes informatiques spécialisé en
solutions logiciel libre de gestion d'entreprise
Mob.: 06 69 56 21 49
Tél.: 02 51 13 50 94
Fax.: 02 40 68 70 06
XMPP/Jabber: [EMAIL PROTECTED]
http://www.asperience.fr
http://www.viadeo.com/fr/profile/jean-sebastien.hederer




IanCar a écrit le 04/02/2008 17:49 :

I've recently installed bacula 2.2.6 on Centos with FDs 1.38.10 on XP and
Windows 2003.  I'm trying to use VSS but am having some difficulties.
In my File Sets I have 
Enable VSS = yes


On the 2003 machine I get
03-Feb 23:06 Talisker-fd: No drive letters found for generating VSS
snapshots.

whilst on the XP machine I'm not sure if the VSS is working as the preamble
suggests it is and yet I get VSS: no
31-Jan 13:30 springbank-dir JobId 35: Start Backup JobId 35,
Job=Ian.2008-01-31_13.30.23
31-Jan 13:30 springbank-dir JobId 35: Using Device FileStorage
31-Jan 13:30 springbank-sd JobId 35: Volume UserData0002 previously
written, moving to end of data.
31-Jan 13:30 springbank-sd JobId 35: Ready to append to end of Volume
UserData0002 size=95428632
31-Jan 13:31 Ian-fd: Generate VSS snapshots. Driver=VSS WinXP,
Drive(s)=C
31-Jan 13:35 Ian-fd:  Could not stat : ERR=The system cannot find the
path specified.

31-Jan 13:34 springbank-sd JobId 35: Job write elapsed time = 00:04:38,
Transfer rate = 169.6 K bytes/second
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): MSDEWriter, State: 1
(VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): Microsoft Writer (Service
State), State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): Microsoft Writer
(Bootable State), State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): IIS Metabase Writer,
State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): WMI Writer, State: 1
(VSS_WS_STABLE)
31-Jan 13:34 springbank-dir JobId 35: Bacula springbank-dir 2.2.6 (10Nov07):
31-Jan-2008 13:34:43
  Build OS:   i386-pc-solaris2.10 solaris 5.10
  JobId:  35
  Job:Ian.2008-01-31_13.30.23
  Backup Level:   Full
  Client: Ian-fd Windows XP,MVS,NT 5.1.2600
  FileSet:UserDefined 2008-01-28 10:31:54
  Pool:   UserData (From Run pool override)
  Storage:File (From Job resource)
  Scheduled time: 31-Jan-2008 13:30:00
  Start time: 31-Jan-2008 13:30:04
  End time:   31-Jan-2008 13:34:43
  Elapsed time:   4 mins 39 secs
  Priority:   10
  FD Files Written:   14,240
  SD Files Written:   14,240
  FD Bytes Written:   44,370,886 (44.37 MB)
  SD Bytes Written:   47,176,124 (47.17 MB)
  Rate:   159.0 KB/s
  Software Compression:   48.4 %
  VSS:no
  Encryption: no
  Volume name(s): UserData0002
  Volume Session Id:  22
  Volume Session Time:1201521242
  Last Volume Bytes:  143,150,878 (143.1 MB)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK -- with warnings
Any help gratefully received.

Cheers,

Ian
  
begin:vcard
fn;quoted-printable:Jean-S=C3=A9bastien Hederer
n;quoted-printable:Hederer;Jean-S=C3=A9bastien
org:ASPerience
email;internet:[EMAIL PROTECTED]
title;quoted-printable:G=C3=A9rant
tel;cell:0669562149
x-mozilla-html:FALSE
url:http://www.asperience.fr
version:2.1
end:vcard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS problems

2008-02-04 Thread Hederer Jean-Sébastien

seems to be a fileset problem.

Cordialement

Jean-Sébastien Hederer - Gérant ASPerience
Conseil, intégration, hébergement de systèmes informatiques spécialisé en
solutions logiciel libre de gestion d'entreprise
Mob.: 06 69 56 21 49
Tél.: 02 51 13 50 94
Fax.: 02 40 68 70 06
XMPP/Jabber: [EMAIL PROTECTED]
http://www.asperience.fr
http://www.viadeo.com/fr/profile/jean-sebastien.hederer




IanCar a écrit le 04/02/2008 17:49 :

I've recently installed bacula 2.2.6 on Centos with FDs 1.38.10 on XP and
Windows 2003.  I'm trying to use VSS but am having some difficulties.
In my File Sets I have 
Enable VSS = yes


On the 2003 machine I get
03-Feb 23:06 Talisker-fd: No drive letters found for generating VSS
snapshots.

whilst on the XP machine I'm not sure if the VSS is working as the preamble
suggests it is and yet I get VSS: no
31-Jan 13:30 springbank-dir JobId 35: Start Backup JobId 35,
Job=Ian.2008-01-31_13.30.23
31-Jan 13:30 springbank-dir JobId 35: Using Device FileStorage
31-Jan 13:30 springbank-sd JobId 35: Volume UserData0002 previously
written, moving to end of data.
31-Jan 13:30 springbank-sd JobId 35: Ready to append to end of Volume
UserData0002 size=95428632
31-Jan 13:31 Ian-fd: Generate VSS snapshots. Driver=VSS WinXP,
Drive(s)=C
31-Jan 13:35 Ian-fd:  Could not stat : ERR=The system cannot find the
path specified.

31-Jan 13:34 springbank-sd JobId 35: Job write elapsed time = 00:04:38,
Transfer rate = 169.6 K bytes/second
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): MSDEWriter, State: 1
(VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): Microsoft Writer (Service
State), State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): Microsoft Writer
(Bootable State), State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): IIS Metabase Writer,
State: 1 (VSS_WS_STABLE)
31-Jan 13:35 Ian-fd: VSS Writer (BackupComplete): WMI Writer, State: 1
(VSS_WS_STABLE)
31-Jan 13:34 springbank-dir JobId 35: Bacula springbank-dir 2.2.6 (10Nov07):
31-Jan-2008 13:34:43
  Build OS:   i386-pc-solaris2.10 solaris 5.10
  JobId:  35
  Job:Ian.2008-01-31_13.30.23
  Backup Level:   Full
  Client: Ian-fd Windows XP,MVS,NT 5.1.2600
  FileSet:UserDefined 2008-01-28 10:31:54
  Pool:   UserData (From Run pool override)
  Storage:File (From Job resource)
  Scheduled time: 31-Jan-2008 13:30:00
  Start time: 31-Jan-2008 13:30:04
  End time:   31-Jan-2008 13:34:43
  Elapsed time:   4 mins 39 secs
  Priority:   10
  FD Files Written:   14,240
  SD Files Written:   14,240
  FD Bytes Written:   44,370,886 (44.37 MB)
  SD Bytes Written:   47,176,124 (47.17 MB)
  Rate:   159.0 KB/s
  Software Compression:   48.4 %
  VSS:no
  Encryption: no
  Volume name(s): UserData0002
  Volume Session Id:  22
  Volume Session Time:1201521242
  Last Volume Bytes:  143,150,878 (143.1 MB)
  Non-fatal FD errors:1
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK -- with warnings
Any help gratefully received.

Cheers,

Ian
  
begin:vcard
fn;quoted-printable:Jean-S=C3=A9bastien Hederer
n;quoted-printable:Hederer;Jean-S=C3=A9bastien
org:ASPerience
email;internet:[EMAIL PROTECTED]
title;quoted-printable:G=C3=A9rant
tel;cell:0669562149
x-mozilla-html:FALSE
url:http://www.asperience.fr
version:2.1
end:vcard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-22 Thread Martin Simmons
 On Sun, 21 Aug 2005 11:29:32 +1000, Daniel Pittman [EMAIL PROTECTED] 
 said:

  Daniel Kern Sibbald [EMAIL PROTECTED] writes:
   On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED]
said:

  Daniel [...]

   Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n),
   be.strerror());
   
   what if the _(...) form has to do file operations?
   
   Just to let you know that in 1.37.36, I have moved the call to 
GetLastError() 
   to the berrno constructor.  Of course, this shouldn't be necessary if the 
   code is correct, as it shouldn't generate any errors before the error 
message 
   is printed.  

  Daniel Just so you know, Windows has a *really* nasty habit of destroying the
  Daniel result of GetLastError in most of the standard functions.  You really
  Daniel can't rely on the fact that nothing goes wrong between an error, and 
the
  Daniel call to that function, preserving the value for you.

Yes, the useful ERROR: The operation completed successfully. :-)

__Martin


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-20 Thread Kern Sibbald
On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
  On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED]
  said:

   Kern On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:
Hi,
   
I backup serveral win2003 Servers with vss. This works without
problems,

   Kern This is good news.

but sometimes i get this error:
   
Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation
is in progress.
   
And then bacula can't backup open files. How can this be avoided?

   Kern It is perhaps not very helpful, but I'd say complain to Microsoft.

 This probably isn't the issue here, but you need to be sure that the error
 code isn't lost between the use of b_errno_win32 and the call to
 GetLastError() in berrno::strerror().

 In particular, when you do something like

  Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n),
   be.strerror());

 what if the _(...) form has to do file operations?

Just to let you know that in 1.37.36, I have moved the call to GetLastError() 
to the berrno constructor.  Of course, this shouldn't be necessary if the 
code is correct, as it shouldn't generate any errors before the error message 
is printed.  In any case, there is now very little chance that the error 
message will get lost or modified by subsequent calls. 


 __Martin


 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-20 Thread Daniel Pittman
Kern Sibbald [EMAIL PROTECTED] writes:
 On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
  On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED]
  said:

[...]

  Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n),
   be.strerror());

 what if the _(...) form has to do file operations?

 Just to let you know that in 1.37.36, I have moved the call to GetLastError() 
 to the berrno constructor.  Of course, this shouldn't be necessary if the 
 code is correct, as it shouldn't generate any errors before the error message 
 is printed.  

Just so you know, Windows has a *really* nasty habit of destroying the
result of GetLastError in most of the standard functions.  You really
can't rely on the fact that nothing goes wrong between an error, and the
call to that function, preserving the value for you.

 In any case, there is now very little chance that the error message
 will get lost or modified by subsequent calls.

The only safe way to achieve that is to store the result of GetLastError
immediately.  At least, that was the case for every version of Windows I
worked on, I am sorry.

   Daniel



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-17 Thread Martin Simmons
 On Tue, 16 Aug 2005 23:14:00 +0200, Kern Sibbald [EMAIL PROTECTED] said:

  Kern On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED]
said:
   
  Kern On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:
Hi,
   
I backup serveral win2003 Servers with vss. This works without
problems,
   
  Kern This is good news.
   
but sometimes i get this error:
   
Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation
is in progress.
   
And then bacula can't backup open files. How can this be avoided?
   
  Kern It is perhaps not very helpful, but I'd say complain to Microsoft.
   
   This probably isn't the issue here, but you need to be sure that the error
   code isn't lost between the use of b_errno_win32 and the call to
   GetLastError() in berrno::strerror().
   
   In particular, when you do something like
   
   Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n),
   be.strerror());
   
   what if the _(...) form has to do file operations?

  Kern You will need to point me to the specific code (file:line), but 

  Kernberrno be;

  Kern captures errno. So errno can be destroyed after that point and 
be.strerror() 
  Kern will continue to produce correct results.

Ah, of course I didn't see that because the code is in the header
file...lovely C++ :-(.


  KernFor Win32 that may not be 
strictly 
  Kern correct as there is no errno, so GetLastError() is used.  As long as 
there is 
  Kern not a second error in between time, there should be no problem (at 
least that 
  Kern is the theory).

Perhaps it would be better if the Win32 berrno constructor called
GetLastError() instead of delaying it until strerror?

__Martin


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-17 Thread Kern Sibbald
On Wednesday 17 August 2005 12:38, Martin Simmons wrote:
...

   Kern captures errno. So errno can be destroyed after that point and
 be.strerror() Kern will continue to produce correct results.

 Ah, of course I didn't see that because the code is in the header
 file...lovely C++ :-(.

Well, there are a few nice things about C++, but I try to limit how far I go.



   KernFor Win32 that may not
 be strictly Kern correct as there is no errno, so GetLastError() is used. 
 As long as there is Kern not a second error in between time, there should
 be no problem (at least that Kern is the theory).

 Perhaps it would be better if the Win32 berrno constructor called
 GetLastError() instead of delaying it until strerror?

Yes, I was thinking the same thing.  I've taken note, and I'll look at what 
can be done ...  

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:
 Hi,

 I backup serveral win2003 Servers with vss. This works without problems,

This is good news.

 but sometimes i get this error:

 Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation is
 in progress.

 And then bacula can't backup open files. How can this be avoided?

It is perhaps not very helpful, but I'd say complain to Microsoft. 


 Bacula Server Version: 1.37.25
 Bacula Client Version: 1.37.32



Thorsten:

If the above error message is really correct, perhaps the failure is just a 
temporary problem. Do you think that we could wait for say 10 seconds if we 
get a snapshot failure and try a second time?  

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-16 Thread Thomas Simmons
I have also been randomly recieving a VSS error, however it is different 
than the one previously mentioned. bacula-dir prints the following message.


Warning: Generate VSS snapshots failed. ERR=The system could not find 
the environment option that was entered.


While the following is logged in the Windows event log.

Event Type:Error
Event Source:VSS
Event Category:None
Event ID:8193
Date:8/16/2005
Time:10:28:45 AM
User:N/A
Computer:WS-HQ-R202-1
Description:
Volume Shadow Copy Service error: Unexpected error calling routine 
CoCreateInstance.  hr = 0x800401f0.


For more information, see Help and Support Center at 
http://go.microsoft.com/fwlink/events.asp.

Data:
: 42 55 45 58 4d 4c 43 00   BUEXMLC.
0008: 33 31 33 00 00 00 00 00   313.
0010: 42 55 45 58 4d 4c 43 00   BUEXMLC.
0018: 33 30 38 00 00 00 00 00   308.

This has happened twice, on different clients, and in both cases the 
prior and following backups used VSS without a problem. Any ideas whats 
causing this one? I can run the client with debugging if it'll help, it 
may take a while for the error to pop up again, it's very intermittent.


Client is WinXP SP2 w/all current critical patches (1.37.32)
Server is Debian 3.1 (1.37.30)

BTW Kern, I've also had VSS fail because the windows event log was 
full...thought you may like to put something about that in the manual.


Warning: Generate VSS snapshots failed. ERR=the event log is full.

Thanks,
Thomas

Kern Sibbald wrote:

On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:


Hi,

I backup serveral win2003 Servers with vss. This works without problems,



This is good news.



but sometimes i get this error:

Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation is
in progress.

And then bacula can't backup open files. How can this be avoided?



It is perhaps not very helpful, but I'd say complain to Microsoft. 




Bacula Server Version: 1.37.25
Bacula Client Version: 1.37.32





Thorsten:

If the above error message is really correct, perhaps the failure is just a 
temporary problem. Do you think that we could wait for say 10 seconds if we 
get a snapshot failure and try a second time?  




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problems

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
  On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED]
  said:

   Kern On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:
Hi,
   
I backup serveral win2003 Servers with vss. This works without
problems,

   Kern This is good news.

but sometimes i get this error:
   
Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation
is in progress.
   
And then bacula can't backup open files. How can this be avoided?

   Kern It is perhaps not very helpful, but I'd say complain to Microsoft.

 This probably isn't the issue here, but you need to be sure that the error
 code isn't lost between the use of b_errno_win32 and the call to
 GetLastError() in berrno::strerror().

 In particular, when you do something like

  Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n),
   be.strerror());

 what if the _(...) form has to do file operations?

You will need to point me to the specific code (file:line), but 

   berrno be;

captures errno. So errno can be destroyed after that point and be.strerror() 
will continue to produce correct results.  For Win32 that may not be strictly 
correct as there is no errno, so GetLastError() is used.  As long as there is 
not a second error in between time, there should be no problem (at least that 
is the theory).


-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users