Re: [Bacula-users] restore error messages

2008-02-08 Thread Arno Lehmann
Hi,

07.02.2008 23:06, Steve Rippl wrote:
> We're running the same version of bacula-fd (2.2.4) on MS Server2003
> boxes (both the source and target for the backup/restore), and bacula-fd
> runs as SYSTEM.

Ok... I don't have a windows server 2003 for testing, and am not a 
windows person, so this is only a starting point...

> 
> 
> Hi,
> 
> 07.02.2008 22:39, Steve Rippl wrote:
> > Hi,
> > 
> > First of all, great piece of software!  Bacula has got us away from 
> an
> > expensive proprietary system (Commvault) and we have something now 
> that
> > functions great on both our Linux and MS servers.  I have a question
> > though, running a restore onto a different volume than the original
> > target is producing *lots* of these error messages...
> 
> Well, quite important here is the client OS (some windows flavour, 
> obviously), the FD version you're running, and under which user 
> account the FD runs. With this information perhaps someone can 
> suggest 
> something.
> 
> Arno
> 
> > ..
> > ..
> > ..
> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Forms/TEAM
> > Strike Letter.doc: The process cannot access the file because it is
> > being used by another process.

Ok, the thing is probably one of the following: Either the message is 
simply misleading (which could be, as the files seem to be restored 
correctly), or the message is correct, but perhaps not clear enough 
(I'm thinking about issues adjusting file metadate, not file 
contents), or windows returns an error code in case where no error 
occured (unlikely, IMO, even though windows is a bit special...) or 
Bacula is out of its mind (also unlikely, because we know that Bacula 
actually works on windows).

Lots of possible reasons. Now you'll need to correlate what happens in 
windows and what happens in Bacula.

I'd start with running the FD in debug mode, i.e. create debug output 
of the daemon at  reasonably high level, and see if you can locate 
where this error comes from.

Observing what windows does is also possible. What once was 
SysInternals had a program to observe the OS actions. That company has 
been bought by MS, so you should find these tools somewhere at 
Microsoft... unfortunately, I don't know what it's called :-(

Anyway, when you have the FD creating debug output, and can observe 
what windows does, you should be able to run a small test restore and 
see what actually happens. That information might either indicate a 
Bacula bug, a permissions problem, or anything else.

The permissions issue, actually, would be easiest to understand even 
without any in-depth debugging when you compare the affected files' 
effective permissions.

Also, as far as I know, depending on the windows server being member 
of an AD domain, the account you run BAcula under needs the special 
Backup rights - don't ask me for details... I believe it needs to be 
run under the backup account from the domain, but you'd better ask 
your local windows guru :-)

Hope this helps,

Arno

> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on
> > E:/M/TEAM/Math/Calculator Use on WASL.doc: The process cannot 
> access the
> > file because it is being used by another process.
> > 
> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on 
> E:/M/TEAM/Math/Nikkis
> > Magic Triangle.doc: The process cannot access the file because it is
> > being used by another process.
> > ..
> > ..
> > ..
> > 
> > and yet the files still end up restored at the end!  This happens 
> both
> > for a restore from just a single full backup and from a 
> full/incremental
> > mix.  What's that all about?  
> > 
> > We're running Bacula  2.2.4 on Debian Etch.
> > 
> > Thanks,
> > Steve Rippl
> > Woodland School District
> > 
> > 
> -
> > 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
> > 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/

Re: [Bacula-users] restore error messages

2008-02-08 Thread Jason A. Kates
You also might attempt to strip the E: prefix off the files before you
do the restore to the non E: drive.
-Jason

On Fri, 2008-02-08 at 14:20 +0100, Cesare Montresor wrote:
> A good test could be try restore in different (empty) directory, 
> something like c:\tmp_bacula_restore.
> Just edit restore job before run.
> 
> Cesare Montresor
> 
> Steve Rippl wrote:
> > Hi,
> >
> > First of all, great piece of software!  Bacula has got us away from an
> > expensive proprietary system (Commvault) and we have something now that
> > functions great on both our Linux and MS servers.  I have a question
> > though, running a restore onto a different volume than the original
> > target is producing *lots* of these error messages...
> >
> > .
> > .
> > .
> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Forms/TEAM
> > Strike Letter.doc: The process cannot access the file because it is
> > being used by another process.
> >
> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on
> > E:/M/TEAM/Math/Calculator Use on WASL.doc: The process cannot access the
> > file because it is being used by another process.
> >
> > 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> > Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Math/Nikkis
> > Magic Triangle.doc: The process cannot access the file because it is
> > being used by another process.
> > .
> > .
> > .
> >
> > and yet the files still end up restored at the end!  This happens both
> > for a restore from just a single full backup and from a full/incremental
> > mix.  What's that all about?  
> >
> > We're running Bacula  2.2.4 on Debian Etch.
> >
> > Thanks,
> > Steve Rippl
> > Woodland School District
> >
> > -
> > 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
> >
> >   
> 
> 
> -
> 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
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
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] restore error messages

2008-02-08 Thread Cesare Montresor
A good test could be try restore in different (empty) directory, 
something like c:\tmp_bacula_restore.
Just edit restore job before run.

Cesare Montresor

Steve Rippl wrote:
> Hi,
>
> First of all, great piece of software!  Bacula has got us away from an
> expensive proprietary system (Commvault) and we have something now that
> functions great on both our Linux and MS servers.  I have a question
> though, running a restore onto a different volume than the original
> target is producing *lots* of these error messages...
>
> .
> .
> .
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Forms/TEAM
> Strike Letter.doc: The process cannot access the file because it is
> being used by another process.
>
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on
> E:/M/TEAM/Math/Calculator Use on WASL.doc: The process cannot access the
> file because it is being used by another process.
>
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Math/Nikkis
> Magic Triangle.doc: The process cannot access the file because it is
> being used by another process.
> .
> .
> .
>
> and yet the files still end up restored at the end!  This happens both
> for a restore from just a single full backup and from a full/incremental
> mix.  What's that all about?  
>
> We're running Bacula  2.2.4 on Debian Etch.
>
> Thanks,
> Steve Rippl
> Woodland School District
>
> -
> 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
>
>   


-
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] restore error messages

2008-02-07 Thread Steve Rippl

We're running the same version of bacula-fd (2.2.4) on MS Server2003
boxes (both the source and target for the backup/restore), and bacula-fd
runs as SYSTEM.



Hi,

07.02.2008 22:39, Steve Rippl wrote:
> Hi,
> 
> First of all, great piece of software!  Bacula has got us away from an
> expensive proprietary system (Commvault) and we have something now 
that
> functions great on both our Linux and MS servers.  I have a question
> though, running a restore onto a different volume than the original
> target is producing *lots* of these error messages...

Well, quite important here is the client OS (some windows flavour, 
obviously), the FD version you're running, and under which user 
account the FD runs. With this information perhaps someone can suggest 
something.

Arno

> ..
> ..
> ..
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Forms/TEAM
> Strike Letter.doc: The process cannot access the file because it is
> being used by another process.
> 
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on
> E:/M/TEAM/Math/Calculator Use on WASL.doc: The process cannot access 
the
> file because it is being used by another process.
> 
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Math/Nikkis
> Magic Triangle.doc: The process cannot access the file because it is
> being used by another process.
> ..
> ..
> ..
> 
> and yet the files still end up restored at the end!  This happens both
> for a restore from just a single full backup and from a 
full/incremental
> mix.  What's that all about?  
> 
> We're running Bacula  2.2.4 on Debian Etch.
> 
> Thanks,
> Steve Rippl
> Woodland School District
> 
> 
-
> 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
> 


-
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] restore error messages

2008-02-07 Thread Arno Lehmann
Hi,

07.02.2008 22:39, Steve Rippl wrote:
> Hi,
> 
> First of all, great piece of software!  Bacula has got us away from an
> expensive proprietary system (Commvault) and we have something now that
> functions great on both our Linux and MS servers.  I have a question
> though, running a restore onto a different volume than the original
> target is producing *lots* of these error messages...

Well, quite important here is the client OS (some windows flavour, 
obviously), the FD version you're running, and under which user 
account the FD runs. With this information perhaps someone can suggest 
something.

Arno

> ..
> ..
> ..
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Forms/TEAM
> Strike Letter.doc: The process cannot access the file because it is
> being used by another process.
> 
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on
> E:/M/TEAM/Math/Calculator Use on WASL.doc: The process cannot access the
> file because it is being used by another process.
> 
> 05-Feb 14:40 wsdimg-fd: Restore_Files.2008-02-05_14.46.00
> Error: ../../filed/restore.c:975 Write error on E:/M/TEAM/Math/Nikkis
> Magic Triangle.doc: The process cannot access the file because it is
> being used by another process.
> ..
> ..
> ..
> 
> and yet the files still end up restored at the end!  This happens both
> for a restore from just a single full backup and from a full/incremental
> mix.  What's that all about?  
> 
> We're running Bacula  2.2.4 on Debian Etch.
> 
> Thanks,
> Steve Rippl
> Woodland School District
> 
> -
> 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
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
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