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 <mehrdad.ravan...@ampfield.se>
Envoyé : mercredi 24 avril 2024 10:22
À : Radosław Korzeniewski <rados...@korzeniewski.net>
Cc : bacula-users <bacula-users@lists.sourceforge.net>
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

Reply via email to