Re: [Bacula-users] VSS

2024-04-25 Thread Radosław Korzeniewski
Hello,

śr., 24 kwi 2024 o 10:21 Mehrdad Ravanbod 
napisał(a):

> Hi
>
> You right in saying that bacula can use VSS to do backups in Windows
> systems, however It is my understanding that the VSS backup file is put
> into a "volume" file which makes it not accesible to VSS tools. In a
> windows system u can do straight VSS backup which can then be read by VSS
> tools and chcked/restored, however this not practical when there are many
> clients even with automation via powershell or other form of scripting.
> having a backup system to easily check the state of backups and keeping
> track of them is abetter solution, which is why i am considering bacula
>
> As I said i am new to bacula, so it maybe that it is possible to do
> backups(VSS or otherwise) with bacula that does not use "Volume" files(I am
> backing up to disk, not a a tape drive)
>
So you are not referring to VSS, but any backup created by Bacula, right?
You are concerned that Bacula creates a Bacula Volume or Volumes, where all
backups are stored. Is this what you want to avoid?
It is not about VSS, but how Bacula stores its backups?

> So I guess this is what my questions is, is it possible to get Bacula to
> do backups with VSS(or even otherwise, simple file copying with or without
> compression/encryption) without using "Volume" files, i.e the backup files
> are saved as indiviual files and not all put together in a "volume" file.
>
A simple question is no. You can't create a fully working, platform
independent backup without using Volume files (which are basically archive
files like zip, tar, etc.). A single file backup includes multiple data
streams for this file: metadata, data, acl data, xattr data, resource
forks, encryption data, deduplication references, etc. Bacula Volume can
store all different backup streams in a single file you can copy elsewhere
having all data you require for full recovery. Even a billion files can be
saved in the single volume in the space efficient, optimal way.
OTOH, why do you need to avoid Bacula Volume? This volume is like tar or
zip, and people do your backups with it without complaints.

> The volume files seem to be there more for a tape based system, the
> concept is not really neded if you are backing up to disk
>
Not true. A single file (volume) has advantages on disks too: it is a
single directory entry, faster throughput on both write and read, space
efficient especially for small files, platform independent, support
multiple streams and distinct attributes for single file, easy and fast
copy to different location or machine, etc.
An advantage one could think of is that a restore from directory tree
archive could be faster for a multi-terabyte backup when you need to
restore a single small file. But Bacula keeps track of every file archived
in volume (some kind of indexing) and such restore takes almost no time as
Bacula can seek to the required location and read from there - for every
distinct file. So, no advantage at all.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-25 Thread Andrea Venturoli

On 4/24/24 10:21, Mehrdad Ravanbod wrote:

is it possible to get Bacula to 
do backups with VSS(or even otherwise, simple file copying with or 
without compression/encryption) without using "Volume" files, i.e the 
backup files are saved as indiviual files and not all put together in a 
"volume" file.


No.

 bye
av.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Lionel PLASSE
If you know where your vhd file is, just create a single FileSet and schedule 
it .
Look at a WindowsImageBackup using VSS and how it is composed  : it contains 
vhdx file.
So You juste have to create a FileSet specifiying the correct dir of your vhdx 
for example
But You have to know that you cannot access to the Bacula volume file directly, 
you have to restore the entire file before using it.  But it is not pertinent 
for me.
Bacula is Linux oriented so file oriented, so it's a quite different for 
windows. (system state, recovery point etc.). to back-up file and to back-up 
System state is not the same for windows.




-Message d'origine-
De : Mehrdad Ravanbod  
Envoyé : mercredi 24 avril 2024 11:33
À : Lionel PLASSE ; Radosław Korzeniewski 

Cc : bacula-users 
Objet : Re: [Bacula-users] VSS

Hi

Thanks for your reply

This makes sense, and is what i could make work, guess i could do a PS script 
to make a VSS snapshot of files i need, save it in file and have bacula backup 
that file instead of using bacula doing a VSS backup of iles But question is, 
is it possiple to get bacula to backup the .vhd file as a separate file ?? Do u 
have an example conf file you can share or some documentation on the net??

Sincerely /Mehrdad

On 2024-04-24 11:15, Lionel PLASSE wrote:
> For me vss make a snapshot of a volume, like in hyper-v virtual disk. This 
> shnapshot vor windows is a virtual disk file like .vhd (or .vdi). So you can 
> mount this volume file a work with files in the snapshot.
>
> So with Bacula to use vss agent you have to make a vss backup with vss agent 
> by windows and backup this vss snapshot file into Bacula to do what you want 
> if a understand well.
>
> bacula deals with the C VSS API, as you would in powershell, it does not 
> directly save the VSS result but uses the API functions to read the snapshot 
> and recover the files stopped at a given time.
>
>
>
>
>
> De : Mehrdad Ravanbod  Envoyé : mercredi 
> 24 avril 2024 10:22 À : Radosław Korzeniewski 
>  Cc : bacula-users 
> 
> Objet : Re: [Bacula-users] VSS
>
> Hi
> You right in saying that bacula can use VSS to do backups in Windows 
> systems, however It is my understanding that the VSS backup file is 
> put into a "volume" file which makes it not accesible to VSS tools. In 
> a windows system u can do straight VSS backup which can then be read 
> by VSS tools and chcked/restored, however this not practical when there are 
> many clients even with automation via powershell or other form of scripting. 
> having a backup system to easily check the state of backups and keeping track 
> of them is abetter solution, which is why i am considering bacula As I said i 
> am new to bacula, so it maybe that it is possible to do backups(VSS or 
> otherwise) with bacula that does not use "Volume" files(I am backing up to 
> disk, not a a tape drive) So I guess this is what my questions is, is it 
> possible to get Bacula to do backups with VSS(or even otherwise, simple file 
> copying with or without compression/encryption) without using "Volume" files, 
> i.e the backup files are saved as indiviual files and not all put together in 
> a "volume" file. The volume files seem to be there more for a tape based 
> system, the concept is not really neded if you are backing up to disk Regards 
> /Mehrdad On 2024-04-24 09:23, Radosław Korzeniewski wrote:
> Hello,
>
> śr., 24 kwi 2024 o 08:44 Mehrdad Ravanbod 
> <mailto:mehrdad.ravan...@ampfield.se> napisał(a):
> HI
> Thanks for taking the time to answer, but that was actualy not the 
> question I am aware that VSS is for copying files that maybe in Use in 
> windows env., As i said most of our backup is from machines which are 
> windows, both server and client My question is if it possible to get bacula 
> to not put a VSS backup in a volume(which makes it impossible to restore if 
> by VSS tools if something happens to the bacula server), You do not need any 
> vss tools to make VSS backup with Bacula. Bacula will handle all for you.
> rather save it as it is, that is a sperate file, readable by teh VSS 
> system What does it mean "save it as it is" - I'm not familiar with VSS 
> internal nor advanced usage.
> What do you need to do?
>
> Radek



smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Lionel PLASSE
For me vss make a snapshot of a volume, like in hyper-v virtual disk. This 
shnapshot vor windows is a virtual disk file like .vhd (or .vdi). So you can 
mount this volume file a work with files in the snapshot. 

So with Bacula to use vss agent you have to make a vss backup with vss agent by 
windows and backup this vss snapshot file into Bacula to do what you want if a 
understand well.

bacula deals with the C VSS API, as you would in powershell, it does not 
directly save the VSS result but uses the API functions to read the snapshot 
and recover the files stopped at a given time.





De : Mehrdad Ravanbod  
Envoyé : mercredi 24 avril 2024 10:22
À : Radosław Korzeniewski 
Cc : bacula-users 
Objet : Re: [Bacula-users] VSS

Hi
You right in saying that bacula can use VSS to do backups in Windows systems, 
however It is my understanding that the VSS backup file is put into a "volume" 
file which makes it not accesible to VSS tools. In a windows system u can do 
straight VSS backup which can then be read by VSS tools and chcked/restored, 
however this not practical when there are many clients even with automation via 
powershell or other form of scripting. having a backup system to easily check 
the state of backups and keeping track of them is abetter solution, which is 
why i am considering bacula
As I said i am new to bacula, so it maybe that it is possible to do backups(VSS 
or otherwise) with bacula that does not use "Volume" files(I am backing up to 
disk, not a a tape drive)
So I guess this is what my questions is, is it possible to get Bacula to do 
backups with VSS(or even otherwise, simple file copying with or without 
compression/encryption) without using "Volume" files, i.e the backup files are 
saved as indiviual files and not all put together in a "volume" file. The 
volume files seem to be there more for a tape based system, the concept is not 
really neded if you are backing up to disk
Regards /Mehrdad
On 2024-04-24 09:23, Radosław Korzeniewski wrote:
Hello,

śr., 24 kwi 2024 o 08:44 Mehrdad Ravanbod <mailto:mehrdad.ravan...@ampfield.se> 
napisał(a):
HI
Thanks for taking the time to answer, but that was actualy not the question
I am aware that VSS is for copying files that maybe in Use in windows env., As 
i said most of our backup is from machines which are windows, both server and 
client
My question is if it possible to get bacula to not put a VSS backup in a 
volume(which makes it impossible to restore if by VSS tools if something 
happens to the bacula server),
You do not need any vss tools to make VSS backup with Bacula. Bacula will 
handle all for you.
rather save it as it is, that is a sperate file, readable by teh VSS system
What does it mean "save it as it is" - I'm not familiar with VSS internal nor 
advanced usage.
What do you need to do?

Radek
-- 
Radosław Korzeniewski
mailto:rados...@korzeniewski.net


smime.p7s
Description: S/MIME cryptographic signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Mehrdad Ravanbod

Hi

Thanks for your reply

This makes sense, and is what i could make work, guess i could do a PS 
script to make a VSS snapshot of files i need, save it in file and have 
bacula backup that file instead of using bacula doing a VSS backup of iles
But question is, is it possiple to get bacula to backup the .vhd file as 
a separate file ?? Do u have an example conf file you can share or some 
documentation on the net??


Sincerely /Mehrdad

On 2024-04-24 11:15, Lionel PLASSE wrote:

For me vss make a snapshot of a volume, like in hyper-v virtual disk. This 
shnapshot vor windows is a virtual disk file like .vhd (or .vdi). So you can 
mount this volume file a work with files in the snapshot.

So with Bacula to use vss agent you have to make a vss backup with vss agent by 
windows and backup this vss snapshot file into Bacula to do what you want if a 
understand well.

bacula deals with the C VSS API, as you would in powershell, it does not 
directly save the VSS result but uses the API functions to read the snapshot 
and recover the files stopped at a given time.





De : Mehrdad Ravanbod 
Envoyé : mercredi 24 avril 2024 10:22
À : Radosław Korzeniewski 
Cc : bacula-users 
Objet : Re: [Bacula-users] VSS

Hi
You right in saying that bacula can use VSS to do backups in Windows systems, however It 
is my understanding that the VSS backup file is put into a "volume" file which 
makes it not accesible to VSS tools. In a windows system u can do straight VSS backup 
which can then be read by VSS tools and chcked/restored, however this not practical when 
there are many clients even with automation via powershell or other form of scripting. 
having a backup system to easily check the state of backups and keeping track of them is 
abetter solution, which is why i am considering bacula
As I said i am new to bacula, so it maybe that it is possible to do backups(VSS or 
otherwise) with bacula that does not use "Volume" files(I am backing up to 
disk, not a a tape drive)
So I guess this is what my questions is, is it possible to get Bacula to do backups with VSS(or 
even otherwise, simple file copying with or without compression/encryption) without using 
"Volume" files, i.e the backup files are saved as indiviual files and not all put 
together in a "volume" file. The volume files seem to be there more for a tape based 
system, the concept is not really neded if you are backing up to disk
Regards /Mehrdad
On 2024-04-24 09:23, Radosław Korzeniewski wrote:
Hello,

śr., 24 kwi 2024 o 08:44 Mehrdad Ravanbod <mailto:mehrdad.ravan...@ampfield.se> 
napisał(a):
HI
Thanks for taking the time to answer, but that was actualy not the question
I am aware that VSS is for copying files that maybe in Use in windows env., As 
i said most of our backup is from machines which are windows, both server and 
client
My question is if it possible to get bacula to not put a VSS backup in a 
volume(which makes it impossible to restore if by VSS tools if something 
happens to the bacula server),
You do not need any vss tools to make VSS backup with Bacula. Bacula will 
handle all for you.
rather save it as it is, that is a sperate file, readable by teh VSS system
What does it mean "save it as it is" - I'm not familiar with VSS internal nor 
advanced usage.
What do you need to do?

Radek




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Mehrdad Ravanbod

Hi

You right in saying that bacula can use VSS to do backups in Windows 
systems, however It is my understanding that the VSS backup file is put 
into a "volume" file which makes it not accesible to VSS tools. In a 
windows system u can do straight VSS backup which can then be read by 
VSS tools and chcked/restored, however this not practical when there are 
many clients even with automation via powershell or other form of 
scripting. having a backup system to easily check the state of backups 
and keeping track of them is abetter solution, which is why i am 
considering bacula


As I said i am new to bacula, so it maybe that it is possible to do 
backups(VSS or otherwise) with bacula that does not use "Volume" files(I 
am backing up to disk, not a a tape drive)


So I guess this is what my questions is, is it possible to get Bacula to 
do backups with VSS(or even otherwise, simple file copying with or 
without compression/encryption) without using "Volume" files, i.e the 
backup files are saved as indiviual files and not all put together in a 
"volume" file. The volume files seem to be there more for a tape based 
system, the concept is not really neded if you are backing up to disk


Regards /Mehrdad

On 2024-04-24 09:23, Radosław Korzeniewski wrote:

Hello,

śr., 24 kwi 2024 o 08:44 Mehrdad Ravanbod 
mailto:mehrdad.ravan...@ampfield.se>> 
napisał(a):


HI

Thanks for taking the time to answer, but that was actualy not the
question
I am aware that VSS is for copying files that maybe in Use in
windows env., As i said most of our backup is from machines which
are windows, both server and client

My question is if it possible to get bacula to not put a VSS
backup in a volume(which makes it impossible to restore if by VSS
tools if something happens to the bacula server),

You do not need any vss tools to make VSS backup with Bacula. Bacula 
will handle all for you.


rather save it as it is, that is a sperate file, readable by teh
VSS system

What does it mean "save it as it is" - I'm not familiar with VSS 
internal nor advanced usage.

What do you need to do?

Radek
--
Radosław Korzeniewski
rados...@korzeniewski.net 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Radosław Korzeniewski
Hello,

śr., 24 kwi 2024 o 08:44 Mehrdad Ravanbod 
napisał(a):

> HI
>
> Thanks for taking the time to answer, but that was actualy not the question
> I am aware that VSS is for copying files that maybe in Use in windows
> env., As i said most of our backup is from machines which are windows, both
> server and client
>
> My question is if it possible to get bacula to not put a VSS backup in a
> volume(which makes it impossible to restore if by VSS tools if something
> happens to the bacula server),
>
You do not need any vss tools to make VSS backup with Bacula. Bacula will
handle all for you.

> rather save it as it is, that is a sperate file, readable by teh VSS system
>
What does it mean "save it as it is" - I'm not familiar with VSS internal
nor advanced usage.
What do you need to do?

Radek
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-24 Thread Mehrdad Ravanbod

HI

Thanks for taking the time to answer, but that was actualy not the question
I am aware that VSS is for copying files that maybe in Use in windows 
env., As i said most of our backup is from machines which are windows, 
both server and client


My question is if it possible to get bacula to not put a VSS backup in a 
volume(which makes it impossible to restore if by VSS tools if something 
happens to the bacula server), rather save it as it is, that is a 
sperate file, readable by teh VSS system


On 2024-04-24 03:29, Jose Alberto wrote:

Hi
https://www.bacula.org/5.1.x-manuals/es/main/main/Windows_Version_Bacula.html#SECTION00346 



VSS is for copying hot files that are being used. That doesn't happen 
with Linux. With Windows yes.


I don't know if that's the question.


On Tue, Apr 23, 2024 at 5:45 AM Mehrdad Ravanbod 
mailto:mehrdad.ravan...@ampfield.se>> 
wrote:


Hi

I am new to bacula, trying to set up a test system for backup of a
mixed
linux and Windows env. (Mostly Windows, server and desktops)

I have gotten it to work more or less, a few issues to work out.
One is
bout VSS, which i assume most people use when doing backups from
windows

It seems that the VSS copies are saved inside Volumes, which makes
impossible to read them indiviualy if something happens to the bacula
server,  it is there a way to get these snapshots to be saved as
files(which could be read with the VSS tools? or not

If yes, how is it configured??

Sincerely /Mehrdad




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users




--
#
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS

2024-04-23 Thread Jose Alberto
Hi
https://www.bacula.org/5.1.x-manuals/es/main/main/Windows_Version_Bacula.html#SECTION00346

VSS is for copying hot files that are being used. That doesn't happen with
Linux. With Windows yes.

I don't know if that's the question.


On Tue, Apr 23, 2024 at 5:45 AM Mehrdad Ravanbod <
mehrdad.ravan...@ampfield.se> wrote:

> Hi
>
> I am new to bacula, trying to set up a test system for backup of a mixed
> linux and Windows env. (Mostly Windows, server and desktops)
>
> I have gotten it to work more or less, a few issues to work out. One is
> bout VSS, which i assume most people use when doing backups from windows
>
> It seems that the VSS copies are saved inside Volumes, which makes
> impossible to read them indiviualy if something happens to the bacula
> server,  it is there a way to get these snapshots to be saved as
> files(which could be read with the VSS tools? or not
>
> If yes, how is it configured??
>
> Sincerely /Mehrdad
>
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
#
#   Sistema Operativo: Debian  #
#Caracas, Venezuela  #
#
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS enable windows client

2015-11-17 Thread Kern Sibbald
Hello,


On 11/16/2015 07:17 AM, Konstantin Khomoutov wrote:
> On Mon, 16 Nov 2015 14:55:04 +
> "More, Ankush"  wrote:
>
>> We are taking backup of windows client with VSS enable.
>> Is it mandatory to take  NTBackup to backup the system state
>> separately, for successful ( with all windows services) restoration
>> of client backup.
> Yes.
> I've just recently tried to explain what VSS is all about to another
> person here on this list [1].  Please consider reading that post.
>
> 1. http://sourceforge.net/p/bacula/mailman/message/34618032/

Everything that this link says is correct, however it does not give a
full explanation of the problem. When Bacula backs up a VSS snapshot, if
you specify to backup all the hard disks, it will in fact correctly
backup everything about the system state.  The problem comes in the
restore: when Windows is running as it is with a normal restore, unlike
Linux/Unix systems, you cannot overwrite many of the main system files
(system state) because they are in use by the Windows OS.  So to fully
restore the system state, you must have special code that restores the
system state files to an alternate location, then when you reboot the
system following that restore, the Windows OS will replace the files for
you. 

The code to put the system files in special locations is very
complicated and is not part of the standard Bacula.  If I am not
mistaken it is part of NTBackup which can restore the system state, and
obviously, it is part of the Bacula Enterprise Windows BMR tool.

The same issue comes up for applications.  If you try to restore a file
that is in use, the Windows OS will not let you.  The solution is far
simpler than the problem with the Windows system files, because you can
simply stop the application (no files being used), restore the files,
then restart the application.  Or if you have a special plugin that
knows how to work with the application, many applications (especially
ones such as MSSQL and Exchange) permit hot-restore of their files, but
of course, hot-restore is very complicated as is restoring Windows
system state files.

Best regards,
Kern


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS enable windows client

2015-11-16 Thread Konstantin Khomoutov
On Mon, 16 Nov 2015 14:55:04 +
"More, Ankush"  wrote:

> We are taking backup of windows client with VSS enable.
> Is it mandatory to take  NTBackup to backup the system state
> separately, for successful ( with all windows services) restoration
> of client backup.

Yes.
I've just recently tried to explain what VSS is all about to another
person here on this list [1].  Please consider reading that post.

1. http://sourceforge.net/p/bacula/mailman/message/34618032/

--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS enable windows client

2015-11-16 Thread Kern Sibbald
Hello,

The message below is completely true if you are using Bacula community.

I don't want to get commercial on this list, but please be aware that if
you need a full BMR for Windows, a number of vendors including Bacula
Systems offers quite an advance Windows BMR which will bring up a full
Windows system using only a VSS enabled backup without any special VSS
plugins or NTBackup.  However, in order to correctly and fully restore
many Windows applications such as MSSQL or Exchange typically involving
a database, and you want incremental backup, you will also need some
very special VSS programs (or NTBackup), which of course, Bacula Systems
offers.

Backing up and restoring Windows OS and Windows applications, particular
including bare metal recovery, is a very complicated process full of
many pitfalls.

Best regards,
Kern

On 11/16/2015 06:55 AM, More, Ankush wrote:
>
> Hi Team,
>
>  
>
> We are taking backup of windows client with VSS enable.
>
> Is it mandatory to take  NTBackup to backup the system state
> separately, for successful ( with all windows services) restoration of
> client backup.
>
>  
>
> Thank you,
>
> Ankush More
>
>  
>
>
>
> --
> Presto, an open source distributed SQL query engine for big data, initially
> developed by Facebook, enables you to easily query your data on Hadoop in a 
> more interactive manner. Teradata is also now providing full enterprise
> support for Presto. Download a free open source copy now.
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS API failure

2014-07-29 Thread Radosław Korzeniewski
Hello,

2014-07-28 13:57 GMT+02:00 Alain Devarieux alain.devari...@sib.fr:

  Hi,

 First I apologize for my approximative english.

 Since yesterday (sunday) I have an error on a Windows 2008 R2 SP1 Backup.
 This is the first time the problem appears and backups on this bacula
 client used to succeed.

 Now, I have this error :

 2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VSS API failure 
 calling CoInitialize. ERR=Unexpected error. The error code is logged in the 
 error log file.
 2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VSS was not 
 initialized properly. ERR=operation succeed

 2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VssOject is NULL.

 I thought the Volume Shadow Copy service was not running so I tried to
 launch it but I can't find it in services.exe.

 DIR, SD and FD are running version 6.6.3

 Client:ClientXXX 6.6.3 (09Dec13) Microsoft Windows Server 2008 R2 Standard 
 Edition Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64

 How could I solve this problem?


If you are absolutely sure that your Bacula Director is running at version
6.6.3 that you should ask Bacula Systems support about an issue above.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS API failure

2014-07-29 Thread Alain Devarieux

Hello,

Actually, we found it's a problem coming from Windows itself.
Thank you for your time.

Regards,

Le 29/07/2014 10:34, Radosław Korzeniewski a écrit :

Hello,

2014-07-28 13:57 GMT+02:00 Alain Devarieux alain.devari...@sib.fr 
mailto:alain.devari...@sib.fr:


Hi,

First I apologize for my approximative english.

Since yesterday (sunday) I have an error on a Windows 2008 R2 SP1
Backup.
This is the first time the problem appears and backups on this
bacula client used to succeed.

Now, I have this error :

2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VSS API failure calling 
CoInitialize. ERR=Unexpected error. The error code is logged in the error log 
file.
2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VSS was not 
initialized properly. ERR=operation succeed

2014-07-27 21:04:19 ClientXXX JobId 6052: Fatal error: VssOject is NULL.

I thought the Volume Shadow Copy service was not running so I
tried to launch it but I can't find it in services.exe.

DIR, SD and FD are running version 6.6.3

Client:ClientXXX 6.6.3 (09Dec13) Microsoft Windows Server 2008 R2 
Standard Edition Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64

How could I solve this problem?


If you are absolutely sure that your Bacula Director is running at 
version 6.6.3 that you should ask Bacula Systems support about an 
issue above.


best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net mailto:rados...@korzeniewski.net


--
*Alain Devarieux
*Département Hébergement et Infrastructure – Supervision / Editique*
**
**Syndicat Interhospitalier de Bretagne (SIB)**
**
*4, rue du Professeur Jean Pecker - CS 76513
35065 Rennes Cedex*

**Pour formuler ou suivre vos demandes d’assistance *:*
*- connectez vous sur le portail : *www.sib.fr* http://www.sib.fr/* 
Espace membre  Vos demandes d’assistance

*- contactez le Centre d’Appels et de Support (CAS) au *02.99.54.75.75*

www.sib.fr http://www.sib.fr***– tel *standard : 02.99.54.75.10

***//**N'imprimez ce message que si vous en avez l'utilité*
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Snapshot failing - Windows 2008R2

2014-03-25 Thread Chris Whittington
 Oddly enough what I found fixed it was removing the 5.2.10, x64 client 
 version and installing the old 5.02 x64 one, now each of those clients 
 work fine.  So the VSS issue is with the newer 5.2 version I tried. I 
 had also tried 5.2.6.
 
 -Original Message-
 From: James Harper [mailto:james.har...@bendigoit.com.au]
 Sent: Thursday, March 20, 2014 10:28 PM
 To: Chris Whittington; bacula-users@lists.sourceforge.net
 Subject: RE: VSS Snapshot failing - Windows 2008R2
 
 
  Tried this one 3 different servers, all fail.  This worked when we 
  were using director version 5.0.2.  We are now using 5.2.13 , the 
  client is 5.2.10, x64. The OS is 64-bit.  If I use the x32 bit 
  client I get a more clear error that indicates I must use the x64 bit 
  client.
  The VSS service is enabled and running. VSS is working on the clients.
 
 
 Anything in the windows event log at that time?
 
 James


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on 2008 R2 64bits

2012-01-26 Thread Konstantin Khomoutov
On Thu, 26 Jan 2012 10:58:07 -0200
Henrique Machado henri@gmail.com wrote:

 About some days ago, i'm getting this error on a client:
 
 25-Jan 02:00 fss-fd JobId 928: Fatal error: VSS was not initialized
 properly. ERR=The operation completed successfully.
[...]

Just for information, I've once got this same error on a client
running Windows 2003 R2.  The error was completely sporadic (no
apparent reconfigurations took place, the client has been backed up OK
before and after the error).

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Microsoft Exchange 2010 SP1 - logs not flushed?

2011-11-09 Thread Fahrer, Julian
Hey Henrik,

 

I don't think that exchange cares about the snapshot created by bacula. You 
could use a script to backup the database - see 
http://adsm.org/lists/html/Bacula-users/2011-10/msg00142.html

 

Kind regards

 

Julian

 

Von: Henrik Zawischa - SONIC Performance Support 
[mailto:henrik.zawis...@sonic-ps.de] 
Gesendet: Mittwoch, 9. November 2011 15:06
An: bacula-users@lists.sourceforge.net
Betreff: [Bacula-users] VSS Microsoft Exchange 2010 SP1 - logs not flushed?

 

Hi,

 

Being pretty new to bacula I'd first like to apologize for probably stupiod 
questions. But I couldn't find proper answers yet:

 

· The Exchange Plugin does not support 2010 yet, correct? Is it going 
to be developed further?

· I assume I should be able to backup Exchange 2010 SP1 using VSS. I do 
indeed get a backup, but the transaction logs aren't flushed, though I set the 
backup-level to full. What am I missing here?

 

Thanks

Henrik

 



Henrik  Zawischa
Senior System Engineer 

 

SONIC Performance Support GmbH
Wandsbeker Königstraße 19 - D22041 Hamburg

Tel.: +49 40 300 600 34
Fax: +49 40 300 600 18
E-Mail: henrik.zawis...@sonic-ps.de

Web: www.sonic-performance-support.com 
http://www.sonic-performance-support.com/ 
Twitter: www.twitter.com/VideoTraining 

SONIC's Instant Learning Server - shortlisted for the Learning Technologies 
Solution of the Year Award 2011, IITT

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Microsoft Exchange 2010 SP1 - logs not flushed?

2011-11-09 Thread James Harper
 
 Being pretty new to bacula I'd first like to apologize for probably
stupiod
 questions. But I couldn't find proper answers yet:
 
 * The Exchange Plugin does not support 2010 yet, correct? Is
it going to be
 developed further?
 
 * I assume I should be able to backup Exchange 2010 SP1 using
VSS. I do
 indeed get a backup, but the transaction logs aren't flushed, though I
set the
 backup-level to full. What am I missing here?
 

The existing bacula Exchange plugin uses the esebcli2.dll api, which is
not supported under Exchange 2010. Exchange 2010 can only use VSS to do
backups, and while Bacula supports VSS in the bacula.org edition, it
doesn't involve the writers in the backup so you effectively only get a
'crash consistent' backup, rather than all the bells and whistles of the
VSS writers like transaction log flushing etc.

So you either need to do the backup another way to a file, or use
circular logging, making sure you understand what circular logging takes
away from you in terms of exposure to crashes etc.

James


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-08 Thread Avery Ceo
On Tue, 2011-11-08 at 01:13 +, Joseph L. Casale wrote:
 Yes, MySQL is running on this server.  To the best of my knowledge, no
 VSS writer exists for MySQL.
 
 MySQL? How the heck is windows VSS supposed to quiesce MySQL?
 
 Methinks you are sol with that approach, you'd probably have better luck
 using a run before script and a mysql supported method...
 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

I don't expect MySQL to be in a quiesced state.  The client is
responsible for scheduling mysqldumps.  What I do expect is that the
inconsistent database files be read rather than causing the remainder of
the backup to fail.  If it were our server rather than a client's, then
running a mysqldump in the run before is exactly how I would handle
consistent database backups, but that still doesn't solve the problem of
the unreadable snapshots.

-- 
Regards,

Avery Ceo
Systems Administrator
Enterprise Hosting


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-08 Thread Avery Ceo
On Tue, 2011-11-08 at 10:17 +1100, James Harper wrote:
 
 Are there any other messages in the event logs about the vss snapshot
 process?
 

I didn't see anything else significant, but I will look again in a few
hours.

 What you describe would indicate that the problem is Windows rather than
 Bacula. Can you try the following suggestions, in no particular order:
 
 While the backup is running, does the command 'vssadmin list writers'
 show any writers with errors? The way Bacula uses VSS is fairly
 simplistic and doesn't involve the writers, but it does give a 'crash
 consistent' copy of the drive. A writer in an error status would be an
 indication of a problem though.

Didn't notice any, but will retest.

 Is the MySQL very heavily used? VSS likes to try and find a period of
 'idle time' to do its work. Whatever happens, the outcome should never
 be a corrupt snapshot but maybe you've discovered a bug. Is it possible
 to make MySQL idle (or stop it altogether but ideally you'd test with
 the files still in use) and see if the problem persists?

Most of our backups are of VMs, so we cloned a production machine for
our test and put it on its own VLAN.  With no outside traffic, the
database should be pretty quiet.  I do not have the DB password to
flush_tables_with_read_lock, but I should be able to stop the DB.

 Do a chkdsk /f on the drive where the database is. Probably best to do
 it on reboot rather than force a dismount of the drive. Obviously the
 volume is working well enough but there could be some latent corruption
 or something that only comes out in the snapshot.

Already tried this one.

 Create a snapshot manually. This guy blogs about how to do it
 http://blogs.msdn.com/b/adioltean/archive/2005/01/20/357836.aspx and map
 it to a drive letter. The vshadow tool that he talks about is part of
 the VSS SDK... newer versions are available but I assume this version
 http://www.microsoft.com/download/en/details.aspx?displaylang=enid=2349
 0 might do the trick on 2003. Once you've created the snapshot, see if
 you can access the files just by copying them to somewhere else. At
 least then you'll know if you have a general VSS problem or if it is
 specific to Bacula.

Definitely a promising approach.  I will let you know what I find.

 Good luck!
 
 James

-- 
Regards,

Avery Ceo
Systems Administrator
Enterprise Hosting


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-08 Thread Avery Ceo
The answers will make more sense if I rearrange the questions:

On Tue, 2011-11-08 at 08:07 -0500, Avery Ceo wrote:
 On Tue, 2011-11-08 at 10:17 +1100, James Harper wrote:
 Create a snapshot manually. This guy blogs about how to do it
 http://blogs.msdn.com/b/adioltean/archive/2005/01/20/357836.aspx and
map
  it to a drive letter. The vshadow tool that he talks about is part
of
  the VSS SDK... newer versions are available but I assume this
version
 
http://www.microsoft.com/download/en/details.aspx?displaylang=enid=2349
  0 might do the trick on 2003. Once you've created the snapshot, see
if
  you can access the files just by copying them to somewhere else. At
  least then you'll know if you have a general VSS problem or if it is
  specific to Bacula.
 
 Definitely a promising approach.  I will let you know what I find.
 

No question now - this is a VSS issue with Windows, not Bacula.  I ran
his other script to copy individual files out of the VSS instead of
mapping a persistent snapshot, first against one of the .rar files and
then against one of the .MYD files - both came up corrupt.

  Is the MySQL very heavily used? VSS likes to try and find a period
of
  'idle time' to do its work. Whatever happens, the outcome should
never
  be a corrupt snapshot but maybe you've discovered a bug. Is it
possible
  to make MySQL idle (or stop it altogether but ideally you'd test
with
  the files still in use) and see if the problem persists?
 

I stopped the MySQL service and reran the copy against both files.  Both
reported as corrupt.

  
  Are there any other messages in the event logs about the vss snapshot
  process?
  
 
 I didn't see anything else significant, but I will look again in a few
 hours.
 

Only the standard messages about the service starting and stopping.

  While the backup is running, does the command 'vssadmin list writers'
  show any writers with errors? The way Bacula uses VSS is fairly
  simplistic and doesn't involve the writers, but it does give a 'crash
  consistent' copy of the drive. A writer in an error status would be an
  indication of a problem though.
 
 Didn't notice any, but will retest.
 

I modified the script to pause and hold the shadow copy in place.  No
writers report errors.

  Do a chkdsk /f on the drive where the database is. Probably best to do
  it on reboot rather than force a dismount of the drive. Obviously the
  volume is working well enough but there could be some latent corruption
  or something that only comes out in the snapshot.
 
 Already tried this one.
 

Ran it again anyway, and chkdsk found no errors.  Boy, this is a
stumper.

 
  Good luck!
  
  James
 

-- 
Regards,

Avery Ceo
Systems Administrator
Enterprise Hosting


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread Konstantin Khomoutov
On Mon, 07 Nov 2011 11:40:18 -0500
Avery Ceo a...@enterprisehostinginc.com wrote:

 We have been running Bacula on Windows with VSS disabled, but would
 like to turn it on for disaster recovery purposes.  In our tests on a
 fully patched version of Windows Server 2003, we are running into a
 problem where files that can be backed up without VSS are being
 reported as corrupted or unreadable when VSS is enabled.  I posted
 a sample log to http://pastebin.com/NRYgmRQy
 
 This does appear to be a Windows VSS problem rather than an issue with
 the Bacula client, as the system logs report an ntfs error when it
 occurs.  A chkdsk did not help.
 
 Has anybody seen this issue before?  Any suggestions on how to resolve
 it?
 
 Client OS: Microsoft Windows Server 2003, Standard Edition (32 bit)
 Bacula version: 5.0.3
Do you run any sort of antivirus software on the server?
I have identical setup for a bunch of servers and did not ever seen
anything like what you described.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread Avery Ceo
On Mon, 2011-11-07 at 21:59 +0400, Konstantin Khomoutov wrote:
 On Mon, 07 Nov 2011 11:40:18 -0500
 Avery Ceo a...@enterprisehostinginc.com wrote:
 
  We have been running Bacula on Windows with VSS disabled, but would
  like to turn it on for disaster recovery purposes.  In our tests on a
  fully patched version of Windows Server 2003, we are running into a
  problem where files that can be backed up without VSS are being
  reported as corrupted or unreadable when VSS is enabled.  I posted
  a sample log to http://pastebin.com/NRYgmRQy
  
  This does appear to be a Windows VSS problem rather than an issue with
  the Bacula client, as the system logs report an ntfs error when it
  occurs.  A chkdsk did not help.
  
  Has anybody seen this issue before?  Any suggestions on how to resolve
  it?
  
  Client OS: Microsoft Windows Server 2003, Standard Edition (32 bit)
  Bacula version: 5.0.3
 Do you run any sort of antivirus software on the server?
 I have identical setup for a bunch of servers and did not ever seen
 anything like what you described.

This server is not running antivirus.  vssadmin also showed no shadow
copies other than Bacula's when I ran the test that generated that
sample log.

It does seem to be an unusual issue.  Searching online, I was only able
to find references to anything similar on pre-SP1 machines.

-- 
Regards,

Avery Ceo
Systems Administrator
Enterprise Hosting


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread Joseph L. Casale
Has anybody seen this issue before?  Any suggestions on how to resolve
it?

So, when you enable a writer in VSS, if for example you only manually snapshot
one drive while components under the control of that writer exist on another, 
VSS
will exclude the writer.

I see you're trying to backup db's for sql? I dont have a lot of experience 
with bacula's
VSS implementation but you might need to set inclusions on all drives that have 
*ANY*
sql data on them, even its an empty file.

HTH,
jlc
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread Avery Ceo
On Mon, 2011-11-07 at 18:52 +, Joseph L. Casale wrote:
 Has anybody seen this issue before?  Any suggestions on how to resolve
 it?
 
 So, when you enable a writer in VSS, if for example you only manually snapshot
 one drive while components under the control of that writer exist on another, 
 VSS
 will exclude the writer.
 
 I see you're trying to backup db's for sql? I dont have a lot of experience 
 with bacula's
 VSS implementation but you might need to set inclusions on all drives that 
 have *ANY*
 sql data on them, even its an empty file.
 
 HTH,
 jlc

Yes, MySQL is running on this server.  To the best of my knowledge, no
VSS writer exists for MySQL.   The current table state may not have been
flushed to disk, but attempts to back up the files should not cause
errors.  Also, the first error file is actually a RAR archive and not
one of the tables, so I think there is something else going on here.

In my initial tests I was snapshotting and backing up all drives, and
seeing the same errors.  The errors are only on the second (data) drive,
and I thought it might be related to the time lag from when the snapshot
was taken to when those files were hit.  The log I linked to was
generated from the test I ran on just the problem drive to decrease the
time between snapshot and read.  The errors started with the same file
on both tests.

-- 
Regards,

Avery Ceo
Systems Administrator
Enterprise Hosting


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread James Harper
 
 We have been running Bacula on Windows with VSS disabled, but would
like
 to turn it on for disaster recovery purposes.  In our tests on a fully
patched
 version of Windows Server 2003, we are running into a problem where
files
 that can be backed up without VSS are being reported as corrupted or
 unreadable when VSS is enabled.  I posted a sample log to
 http://pastebin.com/NRYgmRQy
 
 This does appear to be a Windows VSS problem rather than an issue with
the
 Bacula client, as the system logs report an ntfs error when it occurs.
A chkdsk
 did not help.
 

Are there any other messages in the event logs about the vss snapshot
process?

What you describe would indicate that the problem is Windows rather than
Bacula. Can you try the following suggestions, in no particular order:

While the backup is running, does the command 'vssadmin list writers'
show any writers with errors? The way Bacula uses VSS is fairly
simplistic and doesn't involve the writers, but it does give a 'crash
consistent' copy of the drive. A writer in an error status would be an
indication of a problem though.

Is the MySQL very heavily used? VSS likes to try and find a period of
'idle time' to do its work. Whatever happens, the outcome should never
be a corrupt snapshot but maybe you've discovered a bug. Is it possible
to make MySQL idle (or stop it altogether but ideally you'd test with
the files still in use) and see if the problem persists?

Do a chkdsk /f on the drive where the database is. Probably best to do
it on reboot rather than force a dismount of the drive. Obviously the
volume is working well enough but there could be some latent corruption
or something that only comes out in the snapshot.

Create a snapshot manually. This guy blogs about how to do it
http://blogs.msdn.com/b/adioltean/archive/2005/01/20/357836.aspx and map
it to a drive letter. The vshadow tool that he talks about is part of
the VSS SDK... newer versions are available but I assume this version
http://www.microsoft.com/download/en/details.aspx?displaylang=enid=2349
0 might do the trick on 2003. Once you've created the snapshot, see if
you can access the files just by copying them to somewhere else. At
least then you'll know if you have a general VSS problem or if it is
specific to Bacula.

Good luck!

James

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS reporting files corrupted or unreadable

2011-11-07 Thread Joseph L. Casale
Yes, MySQL is running on this server.  To the best of my knowledge, no
VSS writer exists for MySQL.

MySQL? How the heck is windows VSS supposed to quiesce MySQL?

Methinks you are sol with that approach, you'd probably have better luck
using a run before script and a mysql supported method...
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS for volumes without drive letter?!?

2011-06-15 Thread James Harper
 
 Dear all,
 
 I have problems with the following fileset:
 File = C:/
 File = D:/
 File = D:/windvsw1/DATEV/DATEN
 
 
 The latter is a volume without a drive letter.
 How can I tell bacula that this is a volume for which VSS should be
used?
 I get the expected cannont backup because file is opened error on
all
 the database files on that volume.
 

I think the best you could do at this stage is to add a drive letter to
the volume (in addition to the mount point you already have) and back
that up instead of the mount point.

James

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problem

2010-11-13 Thread Ali Reza Sajedi
James, Thank you for your time.

The exact translation would be: There are more data.

Unfortunately, at the moment I have no access to the client to look for the 
event log entry of this specific event.

This is the second time which is happend within last month.

As far as I have searched the net for this problem, this is apparently a 
windows specific problem. However, there is no clear answer to this problem. 
Any idea?

Best regards

Ali

- Original Message - 
From: James Harper james.har...@bendigoit.com.au
To: Ali Reza Sajedi arsaj...@khanehjou.com; 
bacula-users@lists.sourceforge.net
Sent: Saturday, November 13, 2010 2:40 AM
Subject: RE: [Bacula-users] VSS Problem


 Hello All,

 Has anyone encountered the following error:

 12-Nov 14:16 C011-fd JobId 471: Fatal error: Generate VSS snapshots 
 failed.
 ERR=Es sind mehr Daten verfügbar.

 where the error message is in German and means There are more files.

 The client is WinXP.

 I appreciate your hints.


I can't find any test in the docs for the snapshot routines in VSS that 
might give an error that might translate to there are more files.

Is there anything in your event log? Does this happen every time?

James 


--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Problem

2010-11-12 Thread James Harper
 Hello All,
 
 Has anyone encountered the following error:
 
 12-Nov 14:16 C011-fd JobId 471: Fatal error: Generate VSS snapshots failed.
 ERR=Es sind mehr Daten verfügbar.
 
 where the error message is in German and means There are more files.
 
 The client is WinXP.
 
 I appreciate your hints.
 

I can't find any test in the docs for the snapshot routines in VSS that might 
give an error that might translate to there are more files.

Is there anything in your event log? Does this happen every time?

James

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS error event 12302

2010-10-01 Thread Machiel van Veen
On Thursday 30 September 2010 11:13:33 pm Jeroen van Meeuwen wrote:
 Machiel van Veen wrote:
  Hello list,
 
  I've noticed event 12302  being reported on several Windows 2003 servers.
 
  Volume Shadow Copy Service error: An internal inconsistency was detected
  in trying to contact shadow copy service writers.  Please check to see
  that the Event Service and Volume Shadow Copy Service are operating
  properly.
 
  Even though this does not seem to be a Bacula specific issue but rather a
  VSS issue. I would like to hear if anyone encountered this problem before
  and knows how to solve it.
 
  Also, bacula reports the backups to be OK even though the VSS error
  states the data is inconsistent. Does this mean the backups are actually
  fine or do I have corrupted files in the backup now?
 
 Actually the report says there was an inconsistency detected internally; it
 doesn't say the data backed up is inconsistent -even though it is not
  entirely unreasonable to assume the data is in fact inconsistent. For all
  we know, the internal inconsistency detected had to do with what error
  number to throw ;-)
 
 If in fact the data is inconsistent, VSS should fail since it's purpose is
 data consistency. That said, it should fail in ways that made everything on
 the data consuming side of VSS (such as Bacula) aware of such failure.
 
 FWIW, the symbolic name for this event seems to suggest that it is a write
 operation that fails, maintaining data consistency on the consuming side.
 
 Kind regards,
 
 Jeroen van Meeuwen
 

I ran some tests and noticed while backing up a single file with a test job 
the same errors came up while the file was perfectly fine after restoring it. 
I agree with your conclusion, the data in the backup should be fine. Either 
way I will try and fix the problem. There are quite a lot of possible 
solutions for me to try so it should be fine.

Thanks, Machiel.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS and Windows

2010-05-06 Thread Gavin McCullagh
On Thu, 06 May 2010, Carlo Filippetto wrote:

 Hi all,
 I have a problem with VSS, I receive this:
 
   Warning: VSS was not initialized properly. VSS support is
 disabled. ERR=Overlapped I/O operation is in progress.

One cause of VSS problems like this is running 32-bit Bacula-fd on a 64-bit
Windows install.  Might that be the case here?

Gavin



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS and Windows

2010-05-06 Thread Carlo Filippetto
No,
mine are all 32bit




2010/5/6 Gavin McCullagh gavin.mccull...@gcd.ie:
 On Thu, 06 May 2010, Carlo Filippetto wrote:

 Hi all,
 I have a problem with VSS, I receive this:

       Warning: VSS was not initialized properly. VSS support is
 disabled. ERR=Overlapped I/O operation is in progress.

 One cause of VSS problems like this is running 32-bit Bacula-fd on a 64-bit
 Windows install.  Might that be the case here?

 Gavin



 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS and Windows

2010-05-06 Thread Joseph L. Casale
No,
mine are all 32bit

Look through your system logs, I am willing to bet there
is an error that explains this in there somewhere recent.

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-18 Thread Henrik Johansen
Hi,

On 02/17/10 11:26 PM, Kevin Keane wrote:


 -Original Message- From: Bob Hetzel [mailto:b...@case.edu]
 Sent: Wednesday, February 17, 2010 1:30 PM To:
 bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] VSS
 Windows Backups


 2) I couldn't get far enough for this to be an issue but I
 believe bacula's handling of Junction Points--it gripes but
 doesn't back them up, will break many things too.  Can
 anybody shed light on whether these will be auto-created by
 the OS if they're missing?

 No idea... yet.

 Junction points are Windows equivalent of soft links. They are used
 for Side-by-side assemblies (SxS). Most people actually come across
 the same issue not because of junction points, but because the WinSxS
 directory starts filling up their hard disk. Windows XP actually also
 had junction points and WinSxS in certain cases, but with Vista,
 Microsoft rearchitected the whole operating system to rely heavily on
 SxS.

 Side-by-side allows you to have multiple versions of the same DLL
 installed at the same time.

 These junction points are not (and cannot be) auto-created, and they
 are critical to Windows Vista/2008 and later. Without the junction
 points, you basically have a huge tangle of files but not a correctly
 working operating system.

Junctions are NTFS reparse points *specifically* for linking 
directories, not individual files.

 From Vista and upwards NTFS actually has support real symlinks (both 
files and directories) in order to provide *some* compatability with 
POSIX OS'es.

Most of the non-fatal FD errors I am seeing on W2K8 are related to 
directory junctions.

 Windows is installed in the C:\Windows drive (by default).
 Traditionally, in Windows, most the files that make up Windows are
 installed into the various subdirectories - most of them into the
 well known System32. With SxS assemblies, all files are installed
 into C:\Windows\WinSxS. The junction points point to these files from
 where older versions of Windows used to have these files.

 When you download one of Microsoft's software updates, they get
 installed into the WinSxS directory, as well, and never overwrite
 anything. Then the respective junction points are updated. That makes
 uninstalling software updates easier.

 Another side effect is that you usually no longer need the Windows
 DVD to install or remove components - all files are simply copied to
 the WinSxS folder, and installing/removing features is as simple as
 adding or removing the correct junction points.

 But Windows probably won't even boot (I haven't tried, but that's my
 guess) without the correct junction points in place - and Windows has
 no way of knowing which ones should be in place. Worse, after a
 restore, the new correct files might be in place, but the junction
 points may still point to the old incorrect ones.



 http://blog.tiensivu.com/aaron/archives/1306-Demystifying-the-WinSxS-directory-in-Windows-XP,-Vista-and-Server-20032008.html


 http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/450e0396-6ba6-4078-8ca0-b16bf4e22ccf
 (look for the post from Debbie that explains a lot)



 The Metabase is windows speak for the IIS config.  Sadly, I
 believe that's not included by default as part of the system state.
 Ditto with the keys needed for it.

 http://support.microsoft.com/kb/269586

 Be aware that this article is about Windows 2000. In Windows 2003,
 ntbackup does back up the Metabase as part of the systemstate (at
 least according to Wikipedia http://en.wikipedia.org/wiki/NTBackup -
 I haven't tested it and couldn't find a Microsoft reference for
 that).

 IIS 7.0 no longer has a metabase in the first place.


 --


Download Intelreg; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance. See
 why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___ Bacula-users mailing
 list Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Med venlig hilsen / Best Regards

Henrik Johansen
hen...@scannet.dk
Tlf. 75 53 35 00

ScanNet Group
A/S ScanNet

--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-18 Thread Arno Lehmann
Hi,

17.02.2010 22:29, Bob Hetzel wrote:
 From: Arno Lehmann a...@its-lehmann.de
 Subject: Re: 
 To: bacula-users@lists.sourceforge.net
 Message-ID: 4b7bc766.4040...@its-lehmann.de
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi,

 16.02.2010 16:48, Bob Hetzel wrote:

 Last year I tried some experimentation with bare-metal restore using 
 bacula 
 and bart-pe of a Windows boot volume and I never did get it to work 
 properly.  I believe there are least two pitfalls, probably more:

 1) How to make it bootable?  You can restore all the important files but 
 getting it to boot is another matter.
...
 Are there any files which specifically should NOT be restored... perhaps I 
 overwrote a boot file that was created by diskpart?

Well, my recent testing was done with the simplest possible fileset - 
include c: and everything below it. No exceptions.

I don't care too much for the space wasted by backing up, for example, 
  pagefile.sys in my test scenario :-)

I'll re-test with a really blank (virtual) disk... done.

You're right. With a really blank disk you need to set up the master 
boot record, which is is not done by diskpart or format.

Unfortunately, fixmbr is not part of a standard BartPE boot disk - I 
actually don't know how I created the original partition table to be 
bootable, but, thanks to Henrik, I can now point to 
http://www.sysint.no/nedlasting/mbrfix.htm for a tool that does all 
you need :-)

 2) I couldn't get far enough for this to be an issue but I believe 
 bacula's 
 handling of Junction Points--it gripes but doesn't back them up, will 
 break many things too.  Can anybody shed light on whether these will be 
 auto-created by the OS if they're missing?
 No idea... yet.

 Has anybody actually documented fully the steps to get a Windows Server 
 2003 bare-metal bart-pe restore working like this?
 I'm working on it right now...
 
 I'm sure I'll not be the only one that will be very indebted to you on that.

Don't hold your breath, but I should have something for the Wiki, for 
Server 2003, in a few days. Server 2008 will follow.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-17 Thread Arno Lehmann
Hi,

16.02.2010 16:48, Bob Hetzel wrote:

 Last year I tried some experimentation with bare-metal restore using bacula 
 and bart-pe of a Windows boot volume and I never did get it to work 
 properly.  I believe there are least two pitfalls, probably more:
 
 1) How to make it bootable?  You can restore all the important files but 
 getting it to boot is another matter.

This is about Windows 2k3 -
using diskpart I never had a problem getting the system bootable.
The simple case - one partition only - is rather straightforward:
run diskpart on the recovery system, select the (only) disk to work 
with, clean, create partition primary, active, assign letter=c.
Quit diskpart. Format the disk with NTFS.
Restore
Reboot
handle all the other things to be considered - typically, boot into 
Directory Service Restore Mode or what that's called, apply the system 
state backup you hopefully have.
You might need more reboots and more steps in between, depending on 
the applications you need to handle. I don't know about IIS, but SQL 
server, for example, typically also needs manual restores of data 
backups and log replays.

 2) I couldn't get far enough for this to be an issue but I believe bacula's 
 handling of Junction Points--it gripes but doesn't back them up, will 
 break many things too.  Can anybody shed light on whether these will be 
 auto-created by the OS if they're missing?

No idea... yet.

 Has anybody actually documented fully the steps to get a Windows Server 
 2003 bare-metal bart-pe restore working like this?

I'm working on it right now...

 Regarding the IIS metabase, if you go into the IIS Manager app, then right 
 click on Properties for the local computer, then tick the setting to 
 Enable Direct Metabase Edit you should be able to just back up the 
 metabase folder as regular files.  If you stop IIS then restore the files 
 MBSchema.xml and MetaBase.xml as regular files you should be back to where 
 you were with the IIS config at least.  All the web content, and CGI 
 applications, and dll's is another matter, of course.

The latter would - hopefully - be handled by the normal backup and 
system state backup. The Metabase... well, I don't even know what 
that's good for, but seeing that you can force that to exist as 
regular files is already good!

Cheers,

Arno

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-17 Thread Bob Hetzel

 From: Arno Lehmann a...@its-lehmann.de
 Subject: Re: 
 To: bacula-users@lists.sourceforge.net
 Message-ID: 4b7bc766.4040...@its-lehmann.de
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Hi,
 
 16.02.2010 16:48, Bob Hetzel wrote:
 
  Last year I tried some experimentation with bare-metal restore using 
  bacula 
  and bart-pe of a Windows boot volume and I never did get it to work 
  properly.  I believe there are least two pitfalls, probably more:
  
  1) How to make it bootable?  You can restore all the important files but 
  getting it to boot is another matter.
 
 This is about Windows 2k3 -
 using diskpart I never had a problem getting the system bootable.
 The simple case - one partition only - is rather straightforward:
 run diskpart on the recovery system, select the (only) disk to work 
 with, clean, create partition primary, active, assign letter=c.
 Quit diskpart. Format the disk with NTFS.
 Restore
 Reboot
 handle all the other things to be considered - typically, boot into 
 Directory Service Restore Mode or what that's called, apply the system 
 state backup you hopefully have.
 You might need more reboots and more steps in between, depending on 
 the applications you need to handle. I don't know about IIS, but SQL 
 server, for example, typically also needs manual restores of data 
 backups and log replays.

Are there any files which specifically should NOT be restored... perhaps I 
overwrote a boot file that was created by diskpart?

 
  2) I couldn't get far enough for this to be an issue but I believe 
  bacula's 
  handling of Junction Points--it gripes but doesn't back them up, will 
  break many things too.  Can anybody shed light on whether these will be 
  auto-created by the OS if they're missing?
 
 No idea... yet.
 
  Has anybody actually documented fully the steps to get a Windows Server 
  2003 bare-metal bart-pe restore working like this?
 
 I'm working on it right now...

I'm sure I'll not be the only one that will be very indebted to you on that.

 
  Regarding the IIS metabase, if you go into the IIS Manager app, then right 
  click on Properties for the local computer, then tick the setting to 
  Enable Direct Metabase Edit you should be able to just back up the 
  metabase folder as regular files.  If you stop IIS then restore the files 
  MBSchema.xml and MetaBase.xml as regular files you should be back to where 
  you were with the IIS config at least.  All the web content, and CGI 
  applications, and dll's is another matter, of course.
 
 The latter would - hopefully - be handled by the normal backup and 
 system state backup. The Metabase... well, I don't even know what 
 that's good for, but seeing that you can force that to exist as 
 regular files is already good!
 

The Metabase is windows speak for the IIS config.  Sadly, I believe that's 
not included by default as part of the system state.  Ditto with the keys 
needed for it.

http://support.microsoft.com/kb/269586

 Cheers,
 
 Arno
 
 -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabr?ck 
 www.its-lehmann.de 



--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-17 Thread Kevin Keane


 -Original Message-
 From: Bob Hetzel [mailto:b...@case.edu]
 Sent: Wednesday, February 17, 2010 1:30 PM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] VSS Windows Backups


   2) I couldn't get far enough for this to be an issue but I believe 
   bacula's
   handling of Junction Points--it gripes but doesn't back them up, will
   break many things too.  Can anybody shed light on whether these will be
   auto-created by the OS if they're missing?
 
  No idea... yet.

Junction points are Windows equivalent of soft links. They are used for 
Side-by-side assemblies (SxS). Most people actually come across the same issue 
not because of junction points, but because the WinSxS directory starts filling 
up their hard disk. Windows XP actually also had junction points and WinSxS in 
certain cases, but with Vista, Microsoft rearchitected the whole operating 
system to rely heavily on SxS.

Side-by-side allows you to have multiple versions of the same DLL installed at 
the same time.

These junction points are not (and cannot be) auto-created, and they are 
critical to Windows Vista/2008 and later. Without the junction points, you 
basically have a huge tangle of files but not a correctly working operating 
system.

Windows is installed in the C:\Windows drive (by default). Traditionally, in 
Windows, most the files that make up Windows are installed into the various 
subdirectories - most of them into the well known System32. With SxS 
assemblies, all files are installed into C:\Windows\WinSxS. The junction points 
point to these files from where older versions of Windows used to have these 
files.

When you download one of Microsoft's software updates, they get installed into 
the WinSxS directory, as well, and never overwrite anything. Then the 
respective junction points are updated. That makes uninstalling software 
updates easier.

Another side effect is that you usually no longer need the Windows DVD to 
install or remove components - all files are simply copied to the WinSxS 
folder, and installing/removing features is as simple as adding or removing the 
correct junction points.

But Windows probably won't even boot (I haven't tried, but that's my guess) 
without the correct junction points in place - and Windows has no way of 
knowing which ones should be in place. Worse, after a restore, the new correct 
files might be in place, but the junction points may still point to the old 
incorrect ones.

http://blog.tiensivu.com/aaron/archives/1306-Demystifying-the-WinSxS-directory-in-Windows-XP,-Vista-and-Server-20032008.html

http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/450e0396-6ba6-4078-8ca0-b16bf4e22ccf
 (look for the post from Debbie that explains a lot)



 The Metabase is windows speak for the IIS config.  Sadly, I believe
 that's
 not included by default as part of the system state.  Ditto with the
 keys
 needed for it.
 
 http://support.microsoft.com/kb/269586

Be aware that this article is about Windows 2000. In Windows 2003, ntbackup 
does back up the Metabase as part of the systemstate (at least according to 
Wikipedia http://en.wikipedia.org/wiki/NTBackup - I haven't tested it and 
couldn't find a Microsoft reference for that).

IIS 7.0 no longer has a metabase in the first place.


--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-16 Thread Bob Hetzel
 
 Hello,
 
 15.02.2010 20:15, Joseph L. Casale wrote:
  For such a full backup, you need some secondary windows installation 
  for the resore itself - for Server 2003 and XP, BartPE is a convenient 
  way to get such a thing. For newer Windows versions, you probably best 
  use Microsoft's PE system (I haven't actually built such a beast yet).
  
  I cant say that wont work, but I would strongly recommend not to approach
  this that way, I would put money on an installation plagued with issues.
 
 I tend to disagree - but I admit you seem to know what you're talking 
 about  :-) 
 
 Anyway, my scenario in more detail - I'd be happy to see any hidden 
 pitfalls!
 Use a secondary windows /typically PE-based) to boot. Create the 
 partitions you originally had on the system in question (I'm aware of 
 Server 2k8's service partition...)
 Assign drive letters as before, and format as before.
 Start FD, and restore a complete backup to it's original location.
 Make sure you've got the partitions activated, boot loader in place, etc.
 Reboot the restored system.
 
 Both theory and my experience tell me that you'll end up with a 
 complete windows, happily running where it was backed up.
 For sanity#s sake, you next apply the system state backup you - 
 hopefully - captured during your regular backups, following 
 Microsoft's procedures.
 
 After three reboots, you should have your system in a consistent, 
 mostly up-to-date state.
 
 Be aware that some applications - typically everything based on 
 databases - may require additional steps, for example to replay 
 transaction logs written and backed up after the last regular back up.
 
  Reinstall windows, reinstall apps with appropriate methods (like exchange
  cant just be re-installed new, setup needs switch's),
 
 That alone can be a problem - only identifying everything you had 
 before requires a full-blown configuration and deployment management 
 system, in my experience  :-( 
 
  then add in only
  applicable data.
 
 This is even worse (though getting better at least with Microsoft's 
 applications) as it's really hard to determine wat is applicable data.
 
  You are *will* break all sorts of things pulling the rug
  out from under complicated applications like AD/Exchange etc...
 
 True, but with the combination of VSS and system state backup / 
 restore plus the things you (should) know about managing AD you get to 
 an up-to-date, restored, system quite quickly - much faster than 
 reinstalling tons of applications, updates, patches, service packs, 
 bug fixes and the like one by one.
 
  I would expect problems when, for whatever reasons, you need to 
  restore for example IIS (meta)data only, as I'm pretty sure that doing 
  this in a running windows will not result in a merge of the data in 
  the live system and the restored data, but only in an error (more 
  likely) or loss of the current data by overwriting with backed up 
  files (less likely).
  
  Yup, Metabase is involved, AFAIK it best done from a system state or using
  the provided scripts which you can script with a runbeforejob and let 
  Bacula
  snag it after. See msdn and technet, you'll see all that's involved in that
  ugly one.
  
  http://technet.microsoft.com/en-us/library/cc783795%28WS.10%29.aspx
 
 Actually, the stuff Microsoft has in its libraries is quite complete 
 and provides a good way to spend lots of time for windows admins 
 thinking about backup and recovery  ;-) 
 
 Not really being a windows admin myself and needing that stuff makes 
 me spend even more time with it...
 
 Thanks for your insight!
 
 Arno
 
 -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabr?ck 
 www.its-lehmann.de 

Last year I tried some experimentation with bare-metal restore using bacula 
and bart-pe of a Windows boot volume and I never did get it to work 
properly.  I believe there are least two pitfalls, probably more:

1) How to make it bootable?  You can restore all the important files but 
getting it to boot is another matter.

2) I couldn't get far enough for this to be an issue but I believe bacula's 
handling of Junction Points--it gripes but doesn't back them up, will 
break many things too.  Can anybody shed light on whether these will be 
auto-created by the OS if they're missing?

Has anybody actually documented fully the steps to get a Windows Server 
2003 bare-metal bart-pe restore working like this?

Regarding the IIS metabase, if you go into the IIS Manager app, then right 
click on Properties for the local computer, then tick the setting to 
Enable Direct Metabase Edit you should be able to just back up the 
metabase folder as regular files.  If you stop IIS then restore the files 
MBSchema.xml and MetaBase.xml as regular files you should be back to where 
you were with the IIS config at least.  All the web content, and CGI 
applications, and dll's is another matter, of course.





--

Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Arno Lehmann
Hi,

15.02.2010 13:47, Chris Knipe wrote:
 Hi All,
  
 I am successfully backing up a rather large deployment of Linux as well 
 as Windows (2003 / 2008) systems.  All the Windows machines are being 
 backed up using VSS, and everything is running good.

Good start :-)

  From what I can see under the backups, VSS is successfully being used, 
 backing up files (open or closed), MSDE, IIS, and various other things - 
 just like I would like to expect.  Please correct me if this is 
 incorrect and I am missing the point...
  
 SNIP
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): System 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:45 wa-cpt-bacula01-sd JobId 60: Job write elapsed time = 
 00:04:28, Transfer rate = 2.123 K bytes/second
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): Registry 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): Event Log 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): 
 MSDEWriter, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): COM+ REGDB 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): BITS 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): WMI 
 Writer, State: 0x1 (VSS_WS_STABLE)
 15-Feb 14:46 win24-fd JobId 60: VSS Writer (BackupComplete): IIS 
 Metabase Writer, State: 0x1 (VSS_WS_STABLE)

That, indeed, looks good.

...
 What I would like to know however, is how to restore these VSS 
 snapshots?  For example, how can I instruct bacula to restore IIS and 
 MSDE, or only the Event Log which was backed up through VSS, but not 
 restore any physical files and/or the entire system?

The key thing is to know which files to restore... which I don't in 
detail, not really being a windows person.

However, I'm pretty sure that, at least for desaster recovery 
purposes, backing up NOT to a running windows instance, you should 
have everything you need.

For such a full backup, you need some secondary windows installation 
for the resore itself - for Server 2003 and XP, BartPE is a convenient 
way to get such a thing. For newer Windows versions, you probably best 
use Microsoft's PE system (I haven't actually built such a beast yet).

 Am I understanding this correct, doing something incorrectly, missing 
 out somewhere?

I would expect problems when, for whatever reasons, you need to 
restore for example IIS (meta)data only, as I'm pretty sure that doing 
this in a running windows will not result in a merge of the data in 
the live system and the restored data, but only in an error (more 
likely) or loss of the current data by overwriting with backed up 
files (less likely).

The good thing is, however, that all those data sets - as far as I can 
tell - are most relevant in disaster recovery situations, and 
Microsoft itself has ways to store data from the affected systems for 
later review, where applicable (event log and WMI data, for example).

My approach here is simply to not care for those data sets for 
single-file restores, as I would need to dig too deeply into where 
Windows keeps which data, and what you need to get a consistent 
restore. Instead, I consider all those VSS generated subsystem data 
sets just the base for an eventual bare-metal restore of the whole system.

 Thank you kindly for your time and responces.

I just hope my comments are useful for you :-)

Cheers,

Arno


 
 
 -- 
 
 Regards,
 Chris Knipe
 
 
 
 
 --
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-dev2dev
 
 
 
 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Joseph L. Casale
From what I can see under the backups, VSS is successfully being used,
backing up files (open or closed), MSDE, IIS, and various other things
- just like I would like to expect.

Looks fine to me...
 
What I would like to know however, is how to restore these VSS snapshots?

What to understand here is you have bypassed the user tools to backup things
like database's when you use vss. Not that is a problem, it just presents some
additional considerations.

MSDE doesn't have a mgmt interface, so you use osql to interact with it. When 
you
snap the file system with a db on it (someone who knows comment here) you need 
to
snap *all* drives that contain data related to the writer, for example, I have 
an
Exchange 2003 server with db's and logs on two arrays, if I only snap the db 
drive
the exchange writer gets disabled as it cant quiesce the logs as well... I 
suppose
baculas client knows this?

Anyway, you don't have a dump from that MSDE db, you have basically detached a 
copy.
So you need the mdf/ldf file restored to a temp location, then you would need to
re-attach the copy: http://support.microsoft.com/kb/325003 SQL BOL shall inform 
you
of the nuances surrounding this, I presume you would detach the existing copy, 
move
the files away, move your backups in place, then re-attach.

Etc...

For example, how can I instruct bacula to restore IIS and MSDE, or only the 
Event Log
which was backed up through VSS, but not restore any physical files and/or the 
entire system?
 
You don't/cant :)

This method of doing things requires some manual intervention and knowledge as 
you are
not using native backup/restore tools that the application vendor provides, 
there's no
click-click way here. I suggest as always you test this!

hth,
jlc

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Joseph L. Casale
For such a full backup, you need some secondary windows installation 
for the resore itself - for Server 2003 and XP, BartPE is a convenient 
way to get such a thing. For newer Windows versions, you probably best 
use Microsoft's PE system (I haven't actually built such a beast yet).

I cant say that wont work, but I would strongly recommend not to approach
this that way, I would put money on an installation plagued with issues.

Reinstall windows, reinstall apps with appropriate methods (like exchange
cant just be re-installed new, setup needs switch's), then add in only
applicable data. You are *will* break all sorts of things pulling the rug
out from under complicated applications like AD/Exchange etc...

I would expect problems when, for whatever reasons, you need to 
restore for example IIS (meta)data only, as I'm pretty sure that doing 
this in a running windows will not result in a merge of the data in 
the live system and the restored data, but only in an error (more 
likely) or loss of the current data by overwriting with backed up 
files (less likely).

Yup, Metabase is involved, AFAIK it best done from a system state or using
the provided scripts which you can script with a runbeforejob and let Bacula
snag it after. See msdn and technet, you'll see all that's involved in that
ugly one.

http://technet.microsoft.com/en-us/library/cc783795%28WS.10%29.aspx



--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Arno Lehmann
Hello,

15.02.2010 20:15, Joseph L. Casale wrote:
 For such a full backup, you need some secondary windows installation 
 for the resore itself - for Server 2003 and XP, BartPE is a convenient 
 way to get such a thing. For newer Windows versions, you probably best 
 use Microsoft's PE system (I haven't actually built such a beast yet).
 
 I cant say that wont work, but I would strongly recommend not to approach
 this that way, I would put money on an installation plagued with issues.

I tend to disagree - but I admit you seem to know what you're talking 
about :-)

Anyway, my scenario in more detail - I'd be happy to see any hidden 
pitfalls!
Use a secondary windows /typically PE-based) to boot. Create the 
partitions you originally had on the system in question (I'm aware of 
Server 2k8's service partition...)
Assign drive letters as before, and format as before.
Start FD, and restore a complete backup to it's original location.
Make sure you've got the partitions activated, boot loader in place, etc.
Reboot the restored system.

Both theory and my experience tell me that you'll end up with a 
complete windows, happily running where it was backed up.
For sanity#s sake, you next apply the system state backup you - 
hopefully - captured during your regular backups, following 
Microsoft's procedures.

After three reboots, you should have your system in a consistent, 
mostly up-to-date state.

Be aware that some applications - typically everything based on 
databases - may require additional steps, for example to replay 
transaction logs written and backed up after the last regular back up.

 Reinstall windows, reinstall apps with appropriate methods (like exchange
 cant just be re-installed new, setup needs switch's),

That alone can be a problem - only identifying everything you had 
before requires a full-blown configuration and deployment management 
system, in my experience :-(

 then add in only
 applicable data.

This is even worse (though getting better at least with Microsoft's 
applications) as it's really hard to determine wat is applicable data.

 You are *will* break all sorts of things pulling the rug
 out from under complicated applications like AD/Exchange etc...

True, but with the combination of VSS and system state backup / 
restore plus the things you (should) know about managing AD you get to 
an up-to-date, restored, system quite quickly - much faster than 
reinstalling tons of applications, updates, patches, service packs, 
bug fixes and the like one by one.

 I would expect problems when, for whatever reasons, you need to 
 restore for example IIS (meta)data only, as I'm pretty sure that doing 
 this in a running windows will not result in a merge of the data in 
 the live system and the restored data, but only in an error (more 
 likely) or loss of the current data by overwriting with backed up 
 files (less likely).
 
 Yup, Metabase is involved, AFAIK it best done from a system state or using
 the provided scripts which you can script with a runbeforejob and let Bacula
 snag it after. See msdn and technet, you'll see all that's involved in that
 ugly one.
 
 http://technet.microsoft.com/en-us/library/cc783795%28WS.10%29.aspx

Actually, the stuff Microsoft has in its libraries is quite complete 
and provides a good way to spend lots of time for windows admins 
thinking about backup and recovery ;-)

Not really being a windows admin myself and needing that stuff makes 
me spend even more time with it...

Thanks for your insight!

Arno

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Joseph L. Casale
I tend to disagree - but I admit you seem to know what you're talking 
about :-)

I tend to disagree with that:) Heh...

Anyway, my scenario in more detail - I'd be happy to see any hidden 
pitfalls!
Use a secondary windows /typically PE-based) to boot. Create the 
partitions you originally had on the system in question (I'm aware of 
Server 2k8's service partition...)
Assign drive letters as before, and format as before.
Start FD, and restore a complete backup to it's original location.
Make sure you've got the partitions activated, boot loader in place, etc.
Reboot the restored system.

Ok, if the server is a dc, once it restarts you just caused a USN Rollback.

Don't do that this way, use the method I outlined, and use OE provided tools
like dcpromo and ntdsutil to cleanup after yourself.

If the server was an Exchange server, you probably just casued other AD related
issues, things aren't always simple, exchange is tied to ad heavily. It's not
a postfix daemon with 3-4 text files.

Both theory and my experience tell me that you'll end up with a 
complete windows, happily running where it was backed up.
For sanity#s sake, you next apply the system state backup you - 
hopefully - captured during your regular backups, following 
Microsoft's procedures.

After three reboots, you should have your system in a consistent, 
mostly up-to-date state.

Maybe, depends on what it was doing before... Remember, hardly anything
in Windows (unlike Linux) is just a txt file:) Windows networks in the
simplest form are fairly complex with the complexity hidden from the
casual admin. A single server setup at a company of 4 users probably
_is_ simple. A multi DC infrastructure w/ Exchange, Sharepoint and other
application servers distributed or not, is _not_ simple.

Be aware that some applications - typically everything based on 
databases - may require additional steps, for example to replay 
transaction logs written and backed up after the last regular back up.

Well some errors can't be fixed after easily.

That alone can be a problem - only identifying everything you had 
before requires a full-blown configuration and deployment management 
system, in my experience :-(

Well, now we digress. Hypothetically speaking, this said admin is incharge
of the Enterprise's DR without this knowledge? Huh...

 then add in only
 applicable data.

This is even worse (though getting better at least with Microsoft's 
applications) as it's really hard to determine wat is applicable data.

Well, what can I say, you gotta know what you're doing:) technet/msdn are
great resources, and nothing beats lab'ing up a procedure to validate!

 You are *will* break all sorts of things pulling the rug
 out from under complicated applications like AD/Exchange etc...

True, but with the combination of VSS and system state backup / 
restore plus the things you (should) know about managing AD you get to 
an up-to-date, restored, system quite quickly - much faster than 
reinstalling tons of applications, updates, patches, service packs, 
bug fixes and the like one by one.

Well, wrt to AD, you just can't do some things that way w/o breaking it
all, severely! Remember, FOSS isn't the only software you get to keep the
pieces if you break it:) The OP would be most inclined to read technet,
document, then validate. DR w/o validation is barely any better than no
DR at all IMHO.

Thanks for your insight!

And yours!
jlc

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS Windows Backups

2010-02-15 Thread Arno Lehmann
Hi,

15.02.2010 21:28, Joseph L. Casale wrote:
 I tend to disagree - but I admit you seem to know what you're talking 
 about :-)
 
 I tend to disagree with that:) Heh...
 
 Anyway, my scenario in more detail - I'd be happy to see any hidden 
 pitfalls!
 Use a secondary windows /typically PE-based) to boot. Create the 
 partitions you originally had on the system in question (I'm aware of 
 Server 2k8's service partition...)
 Assign drive letters as before, and format as before.
 Start FD, and restore a complete backup to it's original location.
 Make sure you've got the partitions activated, boot loader in place, etc.
 Reboot the restored system.
 
 Ok, if the server is a dc, once it restarts you just caused a USN Rollback.

Hmm... I'd need to look that up in detail, but it shouldn't disturb 
anything. Newer data, as far as I know, should not be affected at least.

 Don't do that this way, use the method I outlined, and use OE provided tools
 like dcpromo and ntdsutil to cleanup after yourself.

Those are steps I included below - you next apply the system state 
backup you - hopefully - captured during your regular backups, 
following Microsoft's procedures.

 If the server was an Exchange server, you probably just casued other AD 
 related
 issues, things aren't always simple, exchange is tied to ad heavily. It's not
 a postfix daemon with 3-4 text files.

I admit I haven't tried this with Exchange in the system - I never 
needed to :-)

 Both theory and my experience tell me that you'll end up with a 
 complete windows, happily running where it was backed up.
 For sanity#s sake, you next apply the system state backup you - 
 hopefully - captured during your regular backups, following 
 Microsoft's procedures.

 After three reboots, you should have your system in a consistent, 
 mostly up-to-date state.
 
 Maybe, depends on what it was doing before... Remember, hardly anything
 in Windows (unlike Linux) is just a txt file:) Windows networks in the
 simplest form are fairly complex with the complexity hidden from the
 casual admin. A single server setup at a company of 4 users probably
 _is_ simple. A multi DC infrastructure w/ Exchange, Sharepoint and other
 application servers distributed or not, is _not_ simple.

Fortunately, Windows' AD is quite resistant against the procedures 
outlined - in most complex cases, you won't see your restored data 
becoming active immediately, but rather have to manually use some 
tool to eventually decide what to do - make the restored information 
authoritative again, just joind the domain as secondary server, 
syncronize with the other AD servers and manually make a selected set 
of restored data authoritative... there are lots of options, and - as 
you point out - it's quite important to actually read Microsofts 
documentation, find the procedures you'll need, go through them in a 
test environment, and clearly document what you have to do in case of 
disaster.

 Be aware that some applications - typically everything based on 
 databases - may require additional steps, for example to replay 
 transaction logs written and backed up after the last regular back up.
 
 Well some errors can't be fixed after easily.

But those are the domain of the responsible application administrator :-)

 That alone can be a problem - only identifying everything you had 
 before requires a full-blown configuration and deployment management 
 system, in my experience :-(
 
 Well, now we digress. Hypothetically speaking, this said admin is incharge
 of the Enterprise's DR without this knowledge? Huh...

Yup. Not even hypothetically speaking here :-) Fortunately, most of my 
customers who run windows domains either
a) have the needed knowledge in their company, or
b) don't care enough about all that to require me to provide detailed 
solutions to all those problems.
(That's why I have to know only a bit of that stuff.)

 then add in only
 applicable data.
 This is even worse (though getting better at least with Microsoft's 
 applications) as it's really hard to determine wat is applicable data.
 
 Well, what can I say, you gotta know what you're doing:) technet/msdn are
 great resources, and nothing beats lab'ing up a procedure to validate!

Right, but what I experience - especially with smaller organizations - 
is that they run a windows domain completely managed with Microsoft's 
wizards, and when they actually need to restore anything they hardly 
know which application it belongs to. Don't even ask if they know how 
to, for example, restore an Exchange mailbox or something related to 
Sharepoint services...

 You are *will* break all sorts of things pulling the rug
 out from under complicated applications like AD/Exchange etc...
 True, but with the combination of VSS and system state backup / 
 restore plus the things you (should) know about managing AD you get to 
 an up-to-date, restored, system quite quickly - much faster than 
 reinstalling tons of applications, updates, patches, 

Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread John Drescher
 I don't think it's recommended but I don't think you'll have any problems
 installing a 3.0.2 fd and using it with a 2.4.4 dir+sd.

 I'm pretty sure I had a problem doing that.  Off the top of my head there's
 some complaint about a hello not getting responded to properly.  Possibly
 the v3 bacula-fd doesn't like talking to a v2 bacula-sd, I'm not sure.

 I'd love to be wrong on this, if someone can point out that I am.


You can not do this. There was a change in the messages sent between
director and fd that prevents older directors with 3.X clients.

John

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Gavin McCullagh
Hi John

On Wed, 05 Aug 2009, John Drescher wrote:

  I'm pretty sure I had a problem doing that.  Off the top of my head there's
  some complaint about a hello not getting responded to properly.  Possibly
  the v3 bacula-fd doesn't like talking to a v2 bacula-sd, I'm not sure.
 
  I'd love to be wrong on this, if someone can point out that I am.
 
 You can not do this. There was a change in the messages sent between
 director and fd that prevents older directors with 3.X clients.

Thanks for clarifying that.  So, unless corrected my understanding is that
using VSS with 64-Bit Windows effectively requires v3 bacula director,
storage and file daemons now.

Has anyone looked into compiling a 64-bit v2.4 package?

Gavin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Shawn
Yes, the problem is the Hello command which was introduced in 3.x

On a 2.x director, it will simply state Hello command rejected as the
failure in connecting to the FD from the director, I've tested this
before and go the same results regardless of the platform (Mac OS X
PPC/Intel, Fedora 6 i386, Fedora 10 i386, Vista x64, Win2k8 x64, Win2k3
x64 / 32-bit) - so, no, it seems I'm stuck either praying I can install
a properly updated Bacula director on my amd64 Ubuntu server, or hope
that someone moves the packages on Ubuntu/Fedora's repository to
something more than 2.4.4


On Wed, 2009-08-05 at 09:47 +0100, Gavin McCullagh wrote:

 Hi,
 
 On Wed, 05 Aug 2009, James Harper wrote:
 
   We're primarily a 95% linux desktop and server environment, with some
   Macs, but we have a couple of pain in the necks we need to back up and I'm
   concerned about VSS.  One is a Windows Server 2008 64-bit, and another is
   Vista 64-bit.  Some things back up fine, but, I get the following VSS 
   error on
   both jobs:
   
   Warning: VSS was not initialized properly. VSS support is disabled. ERR=An
   attempt was made to reference a token that does not exist.
   
   This using version 2.4.4 across the entire network, using Ubuntu 
   Jaunty
   amd64 server for director - which is also 2.4.4.  I've found bits and 
   pieces
   out there about Oh blah blah x64 VSS support doesn't work with 32-bit 
   whine
   whine - but, no resolutions - was this fixed already in later versions?
   Sorry if this is redundant.
   
   It doesn't seem to matter if I put Enable VSS = yes, or no - in this
   FileSet after the Name = field.
   
  
  Not sure about 2.4.x but 3.0.[012] has a 64 bit windows binary available
  which works fine for me with VSS on a Windows 2008 x64 server (two of
  them). The 64 bit windows binary is only the fd and it is a royal pain to
  install alongside the 32 bit sd and director on the same machine, but you
  just want to install the fd so you shouldn't have any problems at all.
  Uninstall the 32 bit version first though as it will get upset about the
  installation directories.
 
 I asked a similar question some time back.  It appears that VSS on 64-bit
 windows doesn't like being initialised by a 32-bit app so you have to run
 a 64-bit bacula-fd and that's only available for v3+.
 
   http://www.adsm.org/lists/html/Bacula-users/2009-07/msg00029.html
 
  I don't think it's recommended but I don't think you'll have any problems
  installing a 3.0.2 fd and using it with a 2.4.4 dir+sd.
 
 I'm pretty sure I had a problem doing that.  Off the top of my head there's
 some complaint about a hello not getting responded to properly.  Possibly
 the v3 bacula-fd doesn't like talking to a v2 bacula-sd, I'm not sure.
 
 I'd love to be wrong on this, if someone can point out that I am.
 
 Gavin
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Shawn
Would that resolve this? I'm also trying the hotfix mentioned in another
response, will see if that does the trick first.


On Wed, 2009-08-05 at 14:29 +0100, Gavin McCullagh wrote:

 Hi John
 
 On Wed, 05 Aug 2009, John Drescher wrote:
 
   I'm pretty sure I had a problem doing that.  Off the top of my head 
   there's
   some complaint about a hello not getting responded to properly.  Possibly
   the v3 bacula-fd doesn't like talking to a v2 bacula-sd, I'm not sure.
  
   I'd love to be wrong on this, if someone can point out that I am.
  
  You can not do this. There was a change in the messages sent between
  director and fd that prevents older directors with 3.X clients.
 
 Thanks for clarifying that.  So, unless corrected my understanding is that
 using VSS with 64-Bit Windows effectively requires v3 bacula director,
 storage and file daemons now.
 
 Has anyone looked into compiling a 64-bit v2.4 package?
 
 Gavin
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Gavin McCullagh
Hi,

On Wed, 05 Aug 2009, Shawn wrote:

  Has anyone looked into compiling a 64-bit v2.4 package?

 Would that resolve this? I'm also trying the hotfix mentioned in another
 response, will see if that does the trick first.

If these posts are to be believed, it might.

http://www.adsm.org/lists/html/Bacula-users/2009-01/msg00542.html

http://www.nabble.com/VSS-failure-backing-up-Exchange-on-Windows-Server-2008-64bit-td18743108.html
http://www.adsm.org/lists/html/Bacula-users/2009-01/msg00552.html

I'm really not qualified to say though.  Apparently the reason v3 works is
that there's a 64-bit build for win32 so if a 64-bit build of v2.4 for
win32 were possible, one might hope it would work.  I've no idea how much
trouble that might be to achieve though.

Gavin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Shawn
Thanks,


On Wed, 2009-08-05 at 17:54 +0100, Gavin McCullagh wrote:

 Hi,
 
 On Wed, 05 Aug 2009, Shawn wrote:
 
   Has anyone looked into compiling a 64-bit v2.4 package?
 
  Would that resolve this? I'm also trying the hotfix mentioned in another
  response, will see if that does the trick first.
 
 If these posts are to be believed, it might.
 
   http://www.adsm.org/lists/html/Bacula-users/2009-01/msg00542.html
   
 http://www.nabble.com/VSS-failure-backing-up-Exchange-on-Windows-Server-2008-64bit-td18743108.html
   http://www.adsm.org/lists/html/Bacula-users/2009-01/msg00552.html
 
 I'm really not qualified to say though.  Apparently the reason v3 works is
 that there's a 64-bit build for win32 so if a 64-bit build of v2.4 for
 win32 were possible, one might hope it would work.  I've no idea how much
 trouble that might be to achieve though.
 
 Gavin
 


Yep, I've hit those posts before.  

Alright - since I don't see any winbacula 2.4.4 64-bit builds that
exist, it looks like my only options are to either compile 2.4.4 against
64-bit Vista/Win2k8, or upgrade the Director and the 64-bit clients to
3.0.2 - curious why there's still a package maintenance issue after
2.4.4 on Ubuntu/Fedora repos?

By the way, the hotfixes are a no-go on my version 2.4.4, but, I
think they would be acceptable if I had issues using 3.0.2 and not
2.4.4 - so, they're probably still useful, thank you kindly!

Shawn Q
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Steve Ellis

On 8/5/2009 9:34 AM, Shawn wrote:

Yes, the problem is the Hello command which was introduced in 3.x

On a 2.x director, it will simply state Hello command rejected as 
the failure in connecting to the FD from the director, I've tested 
this before and go the same results regardless of the platform (Mac OS 
X PPC/Intel, Fedora 6 i386, Fedora 10 i386, Vista x64, Win2k8 x64, 
Win2k3 x64 / 32-bit) - so, no, it seems I'm stuck either praying I can 
install a properly updated Bacula director on my amd64 Ubuntu server, 
or hope that someone moves the packages on Ubuntu/Fedora's repository 
to something more than 2.4.4


I haven't tried to install it, but Fedora rawhide has bacula 3.0.2--so 
it seems that F12 is going to get 3.0.2, at least.  If the RPMs that 
Scott (?) builds include one for your release, they work quite well, but 
even if the binary RPMs aren't available for your release, it isn't that 
hard to build from the source RPM--I've been doing that for various 
reasons over the last couple of years--but you may have to lie to 
rpmbuild about what version you are building for (I tell rpmbuild I'm 
building for f10, when I'm actually running f11, for example).


Hope this helps,

-se
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-05 Thread Shawn



On Wed, 2009-08-05 at 10:48 -0700, Steve Ellis wrote:

 On 8/5/2009 9:34 AM, Shawn wrote: 
 
  Yes, the problem is the Hello command which was introduced in 3.x
  
  On a 2.x director, it will simply state Hello command rejected as
  the failure in connecting to the FD from the director, I've tested
  this before and go the same results regardless of the platform (Mac
  OS X PPC/Intel, Fedora 6 i386, Fedora 10 i386, Vista x64, Win2k8
  x64, Win2k3 x64 / 32-bit) - so, no, it seems I'm stuck either
  praying I can install a properly updated Bacula director on my amd64
  Ubuntu server, or hope that someone moves the packages on
  Ubuntu/Fedora's repository to something more than 2.4.4
  
  
 
 I haven't tried to install it, but Fedora rawhide has bacula 3.0.2--so
 it seems that F12 is going to get 3.0.2, at least.  If the RPMs that
 Scott (?) builds include one for your release, they work quite well,
 but even if the binary RPMs aren't available for your release, it
 isn't that hard to build from the source RPM--I've been doing that for
 various reasons over the last couple of years--but you may have to lie
 to rpmbuild about what version you are building for (I tell rpmbuild
 I'm building for f10, when I'm actually running f11, for example).
 
 Hope this helps,
 
 -se



This is great news!  I also heard they are working on an up to date
Ubuntu repo version, as well.

If there's one thing we've learned, it is Patience :)

I'm not against building from source, I actually was doing that at
first - and that's when I stumbled upon the Hello command rejected
issue since the director was at version 2.4.4 and the source builds were
at 3.0.1 (at the time).

I also spoke to Dan Langille in Canada briefly, and according to
legend, the director is the meat and potatoes when concerning Bacula, so
you can have a Bacula Director version 3.0.2, and still run ancient FD's
against it with no problem, because by design - the director is always
backward compatible with FD's of lower versions, for administrative
purposes.  

This helps when dealing with overhead, since you only have to
upgrade the Director, and you don't have to upgrade a pile of FD's at
the same time, and worry about them later.

- Shawn Q

attachment: face-smile.png--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS on Vista/Win2008 x64

2009-08-04 Thread James Harper
 Hello folk,
 
 We're primarily a 95% linux desktop and server environment, with some
 Macs, but we have a couple of pain in the necks we need to back up and I'm
 concerned about VSS.  One is a Windows Server 2008 64-bit, and another is
 Vista 64-bit.  Some things back up fine, but, I get the following VSS error on
 both jobs:
 
 Warning: VSS was not initialized properly. VSS support is disabled. ERR=An
 attempt was made to reference a token that does not exist.
 
 This using version 2.4.4 across the entire network, using Ubuntu Jaunty
 amd64 server for director - which is also 2.4.4.  I've found bits and pieces
 out there about Oh blah blah x64 VSS support doesn't work with 32-bit whine
 whine - but, no resolutions - was this fixed already in later versions?
 Sorry if this is redundant.
 
 It doesn't seem to matter if I put Enable VSS = yes, or no - in this
 FileSet after the Name = field.
 

Not sure about 2.4.x but 3.0.[012] has a 64 bit windows binary available which 
works fine for me with VSS on a Windows 2008 x64 server (two of them). The 64 
bit windows binary is only the fd and it is a royal pain to install alongside 
the 32 bit sd and director on the same machine, but you just want to install 
the fd so you shouldn't have any problems at all. Uninstall the 32 bit version 
first though as it will get upset about the installation directories.

I don't think it's recommended but I don't think you'll have any problems 
installing a 3.0.2 fd and using it with a 2.4.4 dir+sd.

James
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS snapshot errors

2009-05-13 Thread James Harper
 I have a recently installed v2.4.5 client on a fresh WinXP SP3 system
and
 getting these errors in the director's log:
 
 11-May 19:56 kiff-fd JobId 24679: Generate VSS snapshots. Driver=VSS
WinXP,
 Drive(s)=CD
 11-May 19:56 kiff-fd JobId 24679: Warning: Generate VSS snapshot of
drive
 c:\
 failed. VSS support is disabled on this drive.
 11-May 19:56 kiff-fd JobId 24679: Warning: Generate VSS snapshot of
drive
 d:\
 failed. VSS support is disabled on this drive.
 

Is the Volume Shadow Copy service enabled (set to manual)?

Run vssadmin at a command prompt - what does it say?

Are you definitely using NTFS and not FAT or anything?

James

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS snapshot errors

2009-05-13 Thread Ivan Adzhubey
Hi James,

Thanks for your suggestions, you were right (scroll down).

On Wednesday 13 May 2009 02:35:17 am James Harper wrote:
  I have a recently installed v2.4.5 client on a fresh WinXP SP3 system

 and

  getting these errors in the director's log:
  failed. VSS support is disabled on this drive.
  11-May 19:56 kiff-fd JobId 24679: Warning: Generate VSS snapshot of
 drive d:\ failed. VSS support is disabled on this drive.

 Is the Volume Shadow Copy service enabled (set to manual)?

This was it, VSS service was set to Manual and not running. I've set it to 
Auto, is it right thing to do?

 Run vssadmin at a command prompt - what does it say?

 Are you definitely using NTFS and not FAT or anything?

It's NTFS. I do not understand why I've never encountered this problem before. 
The user told me he did not change any defaults while installing WinXP. 
Perhaps, SP3 had the defaults changed for VSS service. I am not an expert in 
Windows administration I should admit...

--Ivan


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS snapshot errors

2009-05-13 Thread James Harper
 Hi James,
 
 Thanks for your suggestions, you were right (scroll down).
 
 On Wednesday 13 May 2009 02:35:17 am James Harper wrote:
   I have a recently installed v2.4.5 client on a fresh WinXP SP3
system
 
  and
 
   getting these errors in the director's log:
   failed. VSS support is disabled on this drive.
   11-May 19:56 kiff-fd JobId 24679: Warning: Generate VSS snapshot
of
  drive d:\ failed. VSS support is disabled on this drive.
 
  Is the Volume Shadow Copy service enabled (set to manual)?
 
 This was it, VSS service was set to Manual and not running. I've set
it to
 Auto, is it right thing to do?

Manual is correct, Windows just starts the service when it needs it. I'm
not sure if setting it to Auto will have any negative effect but it
should be Manual.

 
  Run vssadmin at a command prompt - what does it say?
 
  Are you definitely using NTFS and not FAT or anything?
 
 It's NTFS. I do not understand why I've never encountered this problem
before.
 The user told me he did not change any defaults while installing
WinXP.
 Perhaps, SP3 had the defaults changed for VSS service. I am not an
expert in
 Windows administration I should admit...
 

SP3 shouldn't have changed anything.

Any messages in the event logs?

James

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS snapshot errors

2009-05-13 Thread Ivan Adzhubey
Hi James,

On Wednesday 13 May 2009 07:38:37 pm James Harper wrote:
  Hi James,
 
  Thanks for your suggestions, you were right (scroll down).
   drive d:\ failed. VSS support is disabled on this drive.
  
   Is the Volume Shadow Copy service enabled (set to manual)?
 
  This was it, VSS service was set to Manual and not running. I've set

 it to Auto, is it right thing to do?

 Manual is correct, Windows just starts the service when it needs it. I'm
 not sure if setting it to Auto will have any negative effect but it
 should be Manual.

Run another backup today after manually starting VSS service and still getting 
the same errors. Guess it's time to search Microsoft Knowledge Base...

   Run vssadmin at a command prompt - what does it say?
  
   Are you definitely using NTFS and not FAT or anything?
 
  It's NTFS. I do not understand why I've never encountered this problem

 before. The user told me he did not change any defaults while installing
 WinXP.

  Perhaps, SP3 had the defaults changed for VSS service. I am not an

 expert in

  Windows administration I should admit...

 SP3 shouldn't have changed anything.

 Any messages in the event logs?

On Windows computer? I have no idea where to look for events log. Frankly, I 
haven't booted Windows a single time for the last 3 years (neither I was 
exactly a Windows user before that). I guess this discussion is veering off 
topic so I would rather try to investigate the issue myself before proceeding 
with more questions. Just was surprised to receive this error, VSS always 
worked smooth for me...

--Ivan


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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

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 Error MSDEWriter - State: 0x8

2007-08-02 Thread Hederer Jean-Sébastien

it is due to MSDEWriter on this PC:

http://msdn2.microsoft.com/en-us/library/Aa384979.aspx

solve it by retrying or restarting this PC.

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





Efren Bravo a écrit le 02/08/2007 18:05 :

Hi,

I'd been having the error: Warning: VSS Writer (BackupComplete): 
MSDEWriter, State: 0x8 (VSS_WS_FAILED_AT_PREPARE_SNAPSHOT) only in 1 of 12 
PCs. They all have Windows XP Pro ESP.


What does it mean?
How do I solve it?

Thanks in advance...



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS restores

2007-07-30 Thread Jean-Sébastien Hederer
you can only restore on a windows OS compatible  with version that has 
been backed up

some interesting things are here and around for VSS: 
http://msdn2.microsoft.com/en-us/library/aa384593.aspx

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





Dan Langille a écrit le 29/07/2007 22:10 :
 I've seen how to backup using VSS.

 Is there anything special to doing a VSS restore?  Indeed, is there 
 such an animal?

 In short, if you've done a backup using VSS, is there anything 
 special involved in restoring that backup?

   


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS restores

2007-07-29 Thread Malcolm Hunter
Hi Dan,

 I've seen how to backup using VSS.
 
 Is there anything special to doing a VSS restore?  Indeed, is there 
 such an animal?
 
 In short, if you've done a backup using VSS, is there anything 
 special involved in restoring that backup?

Volume Snapshot is just a way for backup software to be able to backup all of 
the files, even if they are in use by other programs. It doesn't apply to 
restores.

Regards,
Malcolm
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS issues?

2007-02-09 Thread Brian Debelius
Philip W. Dalrymple III wrote:
 We run AVG and do not turn it off during backup. It happened on only one 
 system (one of our few
 windows server, Ghost) and as that system was Win 2000 and did not 
 support VSS turning it off was the
 right thing to do.

 Arno Lehmann wrote:

   
 Hi,

 On 2/8/2007 4:42 PM, Philip W. Dalrymple III wrote:
 ...
  

 
 in one case where we had a Win 2000 box and set
 Enable VSS = yes
 we got a lot of files not seen by the fd. (Enable VSS is on the job 
 record) removing
 it made the backup work (files in use could not be backed up of course, 
 that is just windows)


   
 I'm finding that problem here, too. I'm quite sure it has to do with my 
 antivirus package. Do you run one, which one, and what happens when you 
 tun the antivirus software off while running VSS backups?

 Arno

  

 
Hello,

We run ESET's NOD32 anti-virus.  Its the fastest, most accurate, and 
smallest footprint of all the AV's, imnsho.  www.eset.com .  I have had 
no vss issues with it.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] vss config issue

2006-09-15 Thread Arno Lehmann
Hi,

On 9/15/2006 11:38 AM, Mantas Marčiulaitis wrote:
 
 
 Hello everybody,
 
  
 
 Im having problems with bacula director config. As shown in many 
 examples all over internet, the “Enable VSS = yes” statement should be 
 placed in the FileSet recource, and _/not/_ in ‘include’ or ‘options’ 
 sections. I have done just that, that’s what my FileSet looks like:

Which Bacula version do you run?

Arno

  
 
 FileSet {
 
 Name = Wintest
 
 Enable VSS = yes
 
 Include {
 
 Options {
 
 wildfile = *.o
 
 wildfile = *.exe
 
 Exclude = yes
 
 }
 
 File = c:/Documents and Settings/mnt/My Documents
 
 }
 
 }
 
  
 
 Anyway, I still get this message whenever I try to launch bacula director:
 
  
 
 15-Sep 12:24 tuvalu-dir: ERROR TERMINATION at parse_conf.c:821
 
 Config error: Keyword EnableVSS not permitted in this resource.
 
 Perhaps you left the trailing brace off of the previous resource.
 
 : line 160, col 12 of file ./bacula-dir.conf
 
   Enable VSS = yes
 
  
 
 With the VSS setting removed, the director starts normally.
 
 Is it something I’m doing wrogn?
 
  
 
 Thanks,
 
 Mantas
 
  
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] vss config issue

2006-09-15 Thread Mantas Marčiulaitis

Im running v1.36.2 on debian sarge 2.6.8-1-686. 
Is there any way of making this work without upgrading to a newer version? 

Mantas




On 9/15/2006 11:38 AM, Mantas Marčiulaitis wrote:
 
 
 Hello everybody,
 
  
 
 Im having problems with bacula director config. As shown in many 
 examples all over internet, the Enable VSS = yes statement should be 
 placed in the FileSet recource, and _/not/_ in 'include' or 'options' 
 sections. I have done just that, that's what my FileSet looks like:

Which Bacula version do you run?

Arno

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] vss config issue

2006-09-15 Thread Kern Sibbald
On Friday 15 September 2006 17:09, Mantas Marčiulaitis wrote:
 
 Im running v1.36.2 on debian sarge 2.6.8-1-686. 
 Is there any way of making this work without upgrading to a newer version? 

I don't think we had VSS support until 1.38.0, but you would have to check the 
logs to verify that.

 
 Mantas
 
 
 
 
 On 9/15/2006 11:38 AM, Mantas Marčiulaitis wrote:
  
  
  Hello everybody,
  
   
  
  Im having problems with bacula director config. As shown in many 
  examples all over internet, the Enable VSS = yes statement should be 
  placed in the FileSet recource, and _/not/_ in 'include' or 'options' 
  sections. I have done just that, that's what my FileSet looks like:
 
 Which Bacula version do you run?
 
 Arno
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] vss config issue

2006-09-15 Thread Kern Sibbald
On Friday 15 September 2006 17:46, William Baker wrote:
 
 In a word: No.  The docs indicate:
 
 In version 1.37.30 and greater, you can turn on Microsoft's Volume 
 Shadow Copy Service (VSS).

Ah, nice, someone who is much more precise than I am   :-)


 
 bbaker
 
 Im running v1.36.2 on debian sarge 2.6.8-1-686. 
 Is there any way of making this work without upgrading to a newer version? 
 
 Mantas
 
 
 
 
 On 9/15/2006 11:38 AM, Mantas Marčiulaitis wrote:
   
 
 Hello everybody,
 
  
 
 Im having problems with bacula director config. As shown in many 
 examples all over internet, the Enable VSS = yes statement should be 
 placed in the FileSet recource, and _/not/_ in 'include' or 'options' 
 sections. I have done just that, that's what my FileSet looks like:
 
 
 
 Which Bacula version do you run?
 
 Arno
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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