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  
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] CRC ERROR on volume what possible to do

2024-03-05 Thread Lionel PLASSE
Ok thanks for the infos,

Il will look for this script too

-Message d'origine-
De : Bill Arlofski via Bacula-users  
Envoyé : lundi 4 mars 2024 17:41
À : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] CRC ERROR on volume what possible to do

On 3/4/24 09:00, Lionel PLASSE wrote:
> Hello,
> 
> I have this error while reading a volume for virtualfull consolidating 
> job
> 
> Error: block_util.c:521 Volume data error at 0:0!
> Block checksum mismatch in block=11755301 len=64512: calc=dfb5486f 
> blk=9eafdf1a
> 
> It seems the volume file is definitively corrupted,  nothing is 
> possible for this block I think . ( The error occurs twice for the 
> same job at the same
> block)
> 
> But ,
> is this possible to continue reading the volume by bypassing or 
> "marking" the error and proceed with consolidating the remaining data?
> Can we blacklist the block in error (along with the corresponding 
> files) to complete the consolidation job, even if the result will be 
> an incomplete fileset?
> Or Bacula definitively kill the job in error. I don't recall seeing an 
> option to bypass I/O errors .
> 
> What to do in such kind of hardware I/O problems.

Hello Lionel,

I have no idea if this would work, but it may be possible to start the SD with 
the `-p` (Proceed despite I/O errors), then try the restore. I have never tried 
this, and would typically revert to using the low-level `bextract` tool, which 
also has the `-p` command line option.

If starting the SD with `-p`:

# sudo -u bacula /path/to/bacula-sd -p -f(just start the SD in foreground 
with ignore errors etc)

... And performing a VFull does not get you a good* virtual full, you may have 
to use `bextract` against the volumes used in the last Full/VirtualFull to 
restore the data from the volumes.

*In this sentence, the word "good" is relative. I mean, with hardware I/O 
errors, the data recovered during the VFull will surely be missing data... The 
same thing goes for using bextract set to ignore I/O errors.

Personally, unless this were a critical restore situation, and I were just 
trying to "get what I can" back, I would abandon the last Full/VirtualFull and 
perform a new, good real Full immediately since you have surely lost some data 
in your backup chain due to this hardware issue.

I'd also recommend implementing Verify jobs in some manner (ie: Automatically 
restore and/or Verify (level=data) critical jobs when they finish with a 
RunsWhen = after script, or implement some Admin job that pseudo-randomly picks 
a recent, Good backup job and performs a restore and/or Verify job against it)

Here's an all-in-one™, overkill™ example script that I wrote as a 
proof-of-concept a while ago which performs a restore, then all three Verify 
levels against a backup job when it completes.  You can pick and choose parts 
of this that you need and abandon the rest. :)

https://github.com/waa/AutoRestoreAndVerify


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com



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


[Bacula-users] CRC ERROR on volume what possible to do

2024-03-04 Thread Lionel PLASSE
Hello,

I have this error while reading a volume for virtualfull consolidating job

Error: block_util.c:521 Volume data error at 0:0!
Block checksum mismatch in block=11755301 len=64512: calc=dfb5486f 
blk=9eafdf1a

It seems the volume file is definitively corrupted,  nothing is possible for 
this block I think . ( The error occurs twice for the same job at the same 
block)

But ,
is this possible to continue reading the volume by bypassing or "marking" the 
error and proceed with consolidating the remaining data?
Can we blacklist the block in error (along with the corresponding files) to 
complete the consolidation job, even if the result will be an incomplete 
fileset?
Or Bacula definitively kill the job in error. I don't recall seeing an option 
to bypass I/O errors .

What to do in such kind of hardware I/O problems.



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] Recovery point browser for Bacula ?

2024-01-16 Thread Lionel PLASSE
No mounting but you can make (with the baculum restore wizard ) a restore  job 
by  grouping backup jobs in order  to have an explorer-like view and then 
navigate through directories for selecting  a specific file/dir and then choose 
which version you want to backup (according the fact you have different backup 
jobs for a file/dir at different dates)

The Web Interface tool : Baculum – Bacularis (Online demo: 
https://demo.bacularis.app ) – (Bacula-web & Bacula-API) 

But with the bconsole tool  you can do a lot of things (like creating a backup 
job for specific file)

The experts here might explain much better.



Lionel PLASSE | Networks & Systems Administrator 
Cofiem Electronics
221 Allée de Fétan
01600 Trévoux, France
https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45.9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2!3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!8m2!3d45.9444281!4d4.7578088?hl=fr

Tel : +33(0)4 37 49 91 39
pla...@cofiem.fr

https://www.cofiem.fr | https://www.cofiem-robotics.fr





 






De : MylesDearBusiness via Bacula-users  
Envoyé : mardi 16 janvier 2024 01:54
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] Recovery point browser for Bacula ?

Hello, 
The Bacula community edition I'm running gives me lists of files that were 
backed up as part of a job.

I am looking for capabilities like Acronis has where I can mount a backup and 
peruse the contents of specific backed-up files.

If not available as a file browser extension/mount, I'm hoping for at least an 
automated way to pull out individual backed up files from a backup archive file 
and view them on a web interface.

Does such a tool exist ?

Thanks,



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] Any suggestions for fail2ban jail for Bacula Director ?

2023-12-05 Thread Lionel PLASSE
Fail2ban use  log system to detect incoming entries with regex filter

You have to use a filter file in filter.d  dir to filter on journald logs (or 
specific log file ) to specify what log entry you want to use to identify 
Bacula-dir entry and then link action.d to ban IP in jail.conf

There is a lot of default filter in filter.d dir  that you can look for similar 
work using some other daemons.

In jail.conf to activate the filter by adding a [Bacula] section with filter, 
action etc...

It's not easy to use. Hope it can help

But allowing only  your white ip's  in an iptables rules can be the simplest 
way (or blocking from everywhere)

-Message d'origine-
De : Martin Simmons  
Envoyé : mardi 5 décembre 2023 14:18
À : MylesDearBusiness 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Any suggestions for fail2ban jail for Bacula 
Director ?

AFAIK, incoming director connections only come from bconsole, monitors and 
clients that use "Client Initiated Backup" or "Client Behind NAT" (Connect To
Director) in bacula-fd.conf.

So maybe you don't need to allow incoming connections from everywhere?

__Martin


> On Mon, 04 Dec 2023 17:22:29 +, MylesDearBusiness via Bacula-users 
> said:
> 
> Hello,
> 
> I just installed Bacula director on one of my cloud servers.
> 
> I have set the firewall to allow traffic in/out of port 9101 to allow 
> it to be utilized to orchestrate remote backups as well.
> 
> What I want to do is to identify the potential attack surface and 
> create a fail2ban jail configuration.
> 
> Does anybody have an exemplar that I can work with?
> 
> Also, is there a way to simulate a failed login attempt with a tool 
> such as netcat?  I could possibly use PostMan and dig into the REST 
> API spec, but I was hoping the community would be able to shortcut this 
> effort.
> 
> What say you?
> 
> Thanks,
> 
> 
> 
> 
> 
> 
> ___
> 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


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] Migration Job - Volume data deletion

2023-11-29 Thread Lionel PLASSE
Ok I meant recreating volume cause I am not using autolabel, I will activate it 
in order to be sure having an append volume ready for further jobs.

But it is not the most important, the principal is not to over use diskspace 
for backups, so deleting expired volumes, yes It rules. (y) 

Just have to specify what  pool to look after in the script cause the INCR/DIFF 
and FULL pools are well rotated by schedule and even if expired should not be 
deleted for restoring. Only migrated vols use space for nothing,  because data 
are, de facto,  in the next pool’s volume  now. 

 

In fact I was not sure that bconsole have a direct way to do it,  cause the 
“PurgeMigrationJob” purge the catalog but not the  data on disk

Well, I see how you works with your script , so I think I am able to write mine 
樂. But If you find time to send me yours It will be appreciable and it will 
save me time :) 

 

 

 

 

De : Chris Wilkinson  
Envoyé : mercredi 29 novembre 2023 15:40
À : Lionel PLASSE 
Cc : bacula-users 
Objet : Re: [Bacula-users] Migration Job - Volume data deletion

 

The script will purge expired volumes if that's what you mean by clean.

 

It doesn't recreate any volumes. It simply deletes those volumes that are no 
longer needed because the catalog entry has gone, for whatever reason. 

-Chris-

 

On Wed, 29 Nov 2023, 13:13 Lionel PLASSE, mailto:pla...@cofiem.fr> > wrote:

Yes, it's this kind of thing as I'm looking for the first part of the 
optimization I want to achieve, I would have preferred to have something that 
cleans the volume (RAZ clean) instead of removing, but that could be a 
solution. 

Are you using auto-labeling to recreate the deleted volume on demand, or does 
your script do it for you?  By a bconsole commands script maybe ?  or a bash 
script? Cause I asked myself If I should query the database by sql query  and 
then delete volumes in consequence or if bconsole could be able to do it with 
inner commands.

 

But I’d happy to adapt it to my conf.

My mail address is open for sharing if you want. (zip, gz or even wetransfer)

 

Great thanks,

Lionel

 

De : Chris Wilkinson mailto:winstonia...@gmail.com> > 
Envoyé : mercredi 29 novembre 2023 13:03
À : Lionel PLASSE mailto:pla...@cofiem.fr> >
Cc : bacula-users mailto:bacula-users@lists.sourceforge.net> >
Objet : Re: [Bacula-users] Migration Job - Volume data deletion

 

I have a script that deletes physical disc and cloud volumes that are not 
present in the catalog, perhaps because a job was manually deleted or migrated. 
Is that what you want to achieve?

 

It's part of a collection of Bacula scripts that I use. It's too big to post 
here but I'd be happy to share it. It's somewhat customised to my setup so 
you'd likely need to modify it for your own purposes.

-Chris-

 

On Wed, 29 Nov 2023, 11:46 Lionel PLASSE, mailto:pla...@cofiem.fr> > wrote:

Hello,

I question regarding migration job and volume cleaning : 

For migration job, old jobs from migrated volume to next pool's volume are 
deleted from the catalog, but the migrated volume file still contains data (I 
use File volume on disk ).  So the data amount is doubled. (The catalog is well 
cleaned)
The volume might be cleaned in a future scheduled job  if it passes  from 
"used" to "append" regarding retention periods.

Is there a simple way to delete those data when the volume is used once or 
contain only the migrated job's data. Effectively after the migration   there 
is no more catalogued job for this volume but the volume still contains data 
physically.  
Is it possible to clean the migrated volume (like a backup job do prior to the 
backup operation when passing from "used" to "append") but at the end of the 
migration that there is not twice as much the physical data.

Should I use I bconsole script in a after run script ?



By similar way, when a job went on fatal error for whatever cause. However , 
the "Vol.Jobs" is already incremented so when the job is rescheduled (or 
manually re-run)  the max.vol.jobs <http://max.vol.jobs>  can be reached and 
thus can block the future schedule for backup for 1 missing  Max vol job.  How 
to decrease the job count in order not to be in "used"  state , when fatal 
error occurs , with a bconsole script or a bash script,  but I don't want to 
increase the max.vol.jobs <http://max.vol.jobs>  like I do now, because I 
should remember I have done so and decrease after days the max.vol.jobs 
<http://max.vol.jobs> .

If someone understand what I say.

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



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] Migration Job - Volume data deletion

2023-11-29 Thread Lionel PLASSE
Yes, it's this kind of thing as I'm looking for the first part of the 
optimization I want to achieve, I would have preferred to have something that 
cleans the volume (RAZ clean) instead of removing, but that could be a solution.

Are you using auto-labeling to recreate the deleted volume on demand, or does 
your script do it for you?  By a bconsole commands script maybe ?  or a bash 
script? Cause I asked myself If I should query the database by sql query  and 
then delete volumes in consequence or if bconsole could be able to do it with 
inner commands.



But I’d happy to adapt it to my conf.

My mail address is open for sharing if you want. (zip, gz or even wetransfer)



Great thanks,

Lionel



De : Chris Wilkinson 
Envoyé : mercredi 29 novembre 2023 13:03
À : Lionel PLASSE 
Cc : bacula-users 
Objet : Re: [Bacula-users] Migration Job - Volume data deletion



I have a script that deletes physical disc and cloud volumes that are not 
present in the catalog, perhaps because a job was manually deleted or migrated. 
Is that what you want to achieve?



It's part of a collection of Bacula scripts that I use. It's too big to post 
here but I'd be happy to share it. It's somewhat customised to my setup so 
you'd likely need to modify it for your own purposes.

-Chris-



On Wed, 29 Nov 2023, 11:46 Lionel PLASSE, 
mailto:pla...@cofiem.fr>> wrote:

   Hello,

   I question regarding migration job and volume cleaning :

   For migration job, old jobs from migrated volume to next pool's volume are 
deleted from the catalog, but the migrated volume file still contains data (I 
use File volume on disk ).  So the data amount is doubled. (The catalog is well 
cleaned)
   The volume might be cleaned in a future scheduled job  if it passes  from 
"used" to "append" regarding retention periods.

   Is there a simple way to delete those data when the volume is used once or 
contain only the migrated job's data. Effectively after the migration   there 
is no more catalogued job for this volume but the volume still contains data 
physically.
   Is it possible to clean the migrated volume (like a backup job do prior to 
the backup operation when passing from "used" to "append") but at the end of 
the migration that there is not twice as much the physical data.

   Should I use I bconsole script in a after run script ?



   By similar way, when a job went on fatal error for whatever cause. However , 
the "Vol.Jobs" is already incremented so when the job is rescheduled (or 
manually re-run)  the max.vol.jobs<http://max.vol.jobs> can be reached and thus 
can block the future schedule for backup for 1 missing  Max vol job.  How to 
decrease the job count in order not to be in "used"  state , when fatal error 
occurs , with a bconsole script or a bash script,  but I don't want to increase 
the max.vol.jobs<http://max.vol.jobs> like I do now, because I should remember 
I have done so and decrease after days the max.vol.jobs<http://max.vol.jobs>.

   If someone understand what I say.

   ___
   Bacula-users mailing list
   Bacula-users@lists.sourceforge.net<mailto: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


[Bacula-users] Migration Job - Volume data deletion

2023-11-29 Thread Lionel PLASSE
Hello,

I question regarding migration job and volume cleaning : 

For migration job, old jobs from migrated volume to next pool's volume are 
deleted from the catalog, but the migrated volume file still contains data (I 
use File volume on disk ).  So the data amount is doubled. (The catalog is well 
cleaned)
The volume might be cleaned in a future scheduled job  if it passes  from 
"used" to "append" regarding retention periods.

Is there a simple way to delete those data when the volume is used once or 
contain only the migrated job's data. Effectively after the migration   there 
is no more catalogued job for this volume but the volume still contains data 
physically.  
Is it possible to clean the migrated volume (like a backup job do prior to the 
backup operation when passing from "used" to "append") but at the end of the 
migration that there is not twice as much the physical data.

Should I use I bconsole script in a after run script ?



By similar way, when a job went on fatal error for whatever cause. However , 
the "Vol.Jobs" is already incremented so when the job is rescheduled (or 
manually re-run)  the max.vol.jobs can be reached and thus can block the future 
schedule for backup for 1 missing  Max vol job.  How to decrease the job count 
in order not to be in "used"  state , when fatal error occurs , with a bconsole 
script or a bash script,  but I don't want to increase the max.vol.jobs like I 
do now, because I should remember I have done so and decrease after days the 
max.vol.jobs.

If someone understand what I say.

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


Re: [Bacula-users] fd lose connection

2023-11-15 Thread Lionel PLASSE
Going further, I check my remote machine provider and it seems that  there tcp  
services monitoring was the real problem for my brutal connection termination
So they won't now perturbate my connections.

I too  activated tcp_bbr  and sfq for queuing, and I reactivated psk passphrase 
and tls verify peer.

I now have a  stable backup 

So, sorry for all the issues I mentioned, which seem to be coming from the 
cloud services provider that has apparently been the source of these issues

Be aware too  that /sys/class/net/enp1s0/power/control is "auto" by default in 
Debian 12 and should be set  to "on" to prevent device  from being power 
managed during backup (even in linux ; ) (my eth device is not IEEE802.3az 
compliant but it could be a problem if it is)
 
thanks


-Message d'origine-
De : Josh Fisher via Bacula-users  
Envoyé : jeudi 9 novembre 2023 01:16
À : Martin Simmons 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] fd lose connection


On 11/8/23 13:32, Martin Simmons wrote:
>>>>>> On Wed, 8 Nov 2023 11:09:44 -0500, Josh Fisher via Bacula-users said:
>> On 11/7/23 19:26, Lionel PLASSE wrote:
>>> I’m sorry but no wi-fi nor 5G in our factory, and don't use my phone too to 
>>> backup my servers :) .
>>> I was talking about ssh (scp) transfer just to Just to show out  I have no 
>>> problem when uploading big continuous data using other tools through this 
>>> wan. The wan connection is quite stable.
>>>
>>> "So it is fine when the NIC is up. Since this is Windows,"
>>> no windows. I discarder windows problem hypothesis by using a 
>>> migration job, so from linux sd to linux sd
>> OK. I see that now. You also tried without compression and without 
>> encryption. Have you tried reducing Maximum Network Buffer Size back 
>> to the default 32768?
> Are you sure it is 32768?
>
> I thought the default comes from this in bacula/src/baconfig.h:
>
> #define DEFAULT_NETWORK_BUFFER_SIZE (64 * 1024)


In the docs it says the default is 32768, but if it's in the source, then 
that's what it is. :)





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


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] fd lose connection

2023-11-08 Thread Lionel PLASSE
Ok , Without encryption (TlsPskEnable = false  and TlsVerifyPeer=false)  and 
lzo-md5 the job  finished well  and all job that were in error gone ok too 
today.
Just to say , on Debian 12 , libssl  is on the new v3.0 version so I have to 
retroport  it  from the bullseye repo in order to install Bacula which depends 
on libssl1.1
Perhaps it could be why I encounter this problem. 
(for info too, the ethernet card is  :  

> OK. I see that now. You also tried without compression and without 
> encryption. Have you tried reducing Maximum Network Buffer Size back 
> to the default 32768?
I also have  tested with 32768 max net buffer size, but it was from window's  
fd to Debian 12 remote sd and it went in error (but really not sure  if at this 
time  all my confs were properly set in  both side) : 
  Error: lib/bsock.c:397 Wrote 32772 bytes to Storage 
daemon:192.168.0.18:9103, but only 32768 accepted.

I now use without encr (and with  lzo-md5 comp for data), Its ok, I can work 
like this.
As the last past jobs are now ok I won't go further.

Thank you for considering my problem. 
Great thanks for the Bacula and bbr explanation I will study this with great 
attention. Sure it could give me much more efficience. 


-Message d'origine-
De : Martin Simmons  
Envoyé : mercredi 8 novembre 2023 19:32
À : Josh Fisher 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] fd lose connection

>>>>> On Wed, 8 Nov 2023 11:09:44 -0500, Josh Fisher via Bacula-users said:
> 
> On 11/7/23 19:26, Lionel PLASSE wrote:
> > I’m sorry but no wi-fi nor 5G in our factory, and don't use my phone too to 
> > backup my servers :) .
> > I was talking about ssh (scp) transfer just to Just to show out  I have no 
> > problem when uploading big continuous data using other tools through this 
> > wan. The wan connection is quite stable.
> >
> > "So it is fine when the NIC is up. Since this is Windows,"
> > no windows. I discarder windows problem hypothesis by using a 
> > migration job, so from linux sd to linux sd
> 
> OK. I see that now. You also tried without compression and without 
> encryption. Have you tried reducing Maximum Network Buffer Size back 
> to the default 32768?

Are you sure it is 32768?

I thought the default comes from this in bacula/src/baconfig.h:

#define DEFAULT_NETWORK_BUFFER_SIZE (64 * 1024)

>There must be some reason why the client seems to 
> be sending 30 bytes more than its Maximum Network Buffer Size. Bacula 
> first tries the Maximum Network Buffer Size, but if the OS does not 
> accept that size, then it adjusts the value down until the OS accepts 
> it. Maybe the actual buffer size gets calculated differently on Debian 
> 12? Why is the send size exceeding the buffer size? Or could there be 
> a typo in the Maximum Network Buffer Size setting on one side?

It's an interesting question.  OTOH, if the connection is using TLS, then the 
underlying number of bytes transmitted doesn't match the application layer 
anyway.

Also, can you explain why the network buffer size would cause data loss on a 
TCP connection?

> 
> 
> >
> > Thanks for all, I will find out a solution Best regards
> >
> > PLASSE Lionel | Networks & Systems Administrator
> > 221 Allée de Fétan
> > 01600 TREVOUX - FRANCE
> > Tel : +33(0)4.37.49.91.39
> > pla...@cofiem.fr
> > www.cofiem.fr | www.cofiem-robotics.fr
> >
> >   
> >
> >
> >
> >
> >
> > -Message d'origine-
> > De : Josh Fisher via Bacula-users 
> > 
> > Envoyé : mardi 7 novembre 2023 18:01 À : 
> > bacula-users@lists.sourceforge.net
> > Objet : Re: [Bacula-users] fd lose connection
> >
> >
> > On 11/7/23 04:34, Lionel PLASSE wrote:
> >> Hello ,
> >>
> >> Could  Encryption have any impact in my problem.
> >>
> >> I am testing without any encryption between SD/DIR/BConsole or FD 
> >> and it seems to be more stable. (short sized  job right done , 
> >> longest job already running : 750Gb to migrate)
> >>
> >> My WAN connection seems  to be quite good,  I  achieve transferring big 
> >> and small  raw files by scp ssh and don't have ping latency or troubles 
> >> with the ipsec connection.
> >
> > So it is fine when the NIC is up. Since this is Windows, the first thing to 
> > do is turn off power saving for the network interface device in Device 
> > Manager. Make sure that the NIC doesn't ever power down its PHY.
> > If any switch, router, or VPN doesn't handle energy-efficient internet in 
> > the same way, then it can look like a dropped connection to the other side.
> >
> > Also, you don't s

Re: [Bacula-users] fd lose connection

2023-11-07 Thread Lionel PLASSE
I’m sorry but no wi-fi nor 5G in our factory, and don't use my phone too to 
backup my servers :) . 
I was talking about ssh (scp) transfer just to Just to show out  I have no 
problem when uploading big continuous data using other tools through this wan. 
The wan connection is quite stable.

"So it is fine when the NIC is up. Since this is Windows,"
no windows. I discarder windows problem hypothesis by using a migration job, so 
from linux sd to linux sd

Thanks for all, I will find out a solution 
Best regards

PLASSE Lionel | Networks & Systems Administrator 
221 Allée de Fétan
01600 TREVOUX - FRANCE 
Tel : +33(0)4.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 





-Message d'origine-
De : Josh Fisher via Bacula-users  
Envoyé : mardi 7 novembre 2023 18:01
À : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] fd lose connection


On 11/7/23 04:34, Lionel PLASSE wrote:
> Hello ,
>
> Could  Encryption have any impact in my problem.
>
> I am testing without any encryption between SD/DIR/BConsole or FD and 
> it seems to be more stable. (short sized  job right done , longest job 
> already running : 750Gb to migrate)
>
> My WAN connection seems  to be quite good,  I  achieve transferring big and 
> small  raw files by scp ssh and don't have ping latency or troubles with the 
> ipsec connection.


So it is fine when the NIC is up. Since this is Windows, the first thing to do 
is turn off power saving for the network interface device in Device Manager. 
Make sure that the NIC doesn't ever power down its PHY. 
If any switch, router, or VPN doesn't handle energy-efficient internet in the 
same way, then it can look like a dropped connection to the other side.

Also, you don't say what type of WAN connection this is. Many wireless 
services, 5G, etc. can and will drop open sockets due to inactivity (or 
perceived inactivity) to free up channels.


>
> I tried too with NAT,  by not using IPSEC and setting  Bacula SD & DIR  
> directly in front of the WAN.
> And the same occurs  (wrote X byte  but only Y accepted)
>
> I Tried too to make a migration job to migrate from  SD  to SD through WAN  
> instead of SD-> FD through WAN and the result was the same. (to see if win32 
> FD could be involved)
>   - DIR and SD in the same LAN.
>   - Backup remote  FD through  remote SD, the two are in the same LAN to fast 
> backup : step OK .
> - Then  migration from remote SD to the SD that is in the DIR area 
> through WAN to outsource volumes physical support : step nok The final goal: 
> outsourcing volumes.
> I then discard the gzip compression (just in case)
>
> The errors are quite disturbing :
> *   Error: lib/bsock.c:397 Wrote 65566 bytes to client:192.168.0.4:9102, 
> but only 65536 accepted
>  Fatal error: filed/backup.c:1008 Network send error to SD. 
> ERR=Input/output error Or  (when increasing MaximumNetworkBuffer)
> *   Error: lib/bsock.c:397 Wrote 130277 bytes to 
> client:192.168.0.17:9102, but only 98304 accepted.
>  Fatal error: filed/backup.c:1008 Network send error to SD. 
> ERR=Input/output error Or (Migration job)
> *   Fatal error: append.c:319 Network error reading from FD. ERR=Erreur 
> d'entrée/sortie
>  Error: bsock.c:571 Read expected 131118 got 114684 from 
> Storage daemon:192.168.10.54:9103
>
> It's look like there is a gap between send and receive buffer and looking at 
> the source code, encryption could affect buffer size due to encryption.
> So I  think Bacula-SD could be in cause (maybe).
> Could it be a bug?
> What could I do to determine the problem (activating debug in sd 
> daemon ? )
>
> I use Bacula 13.0.3 on Debian 12 , with ssl 1.1
>
> Thank for helping. Backup scenarios must have an a step of relocating the 
> backup media to be reliable.
>
> ___
> 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

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


Re: [Bacula-users] fd lose connection

2023-11-07 Thread Lionel PLASSE
Hello ,

Could  Encryption have any impact in my problem.

I am testing without any encryption between SD/DIR/BConsole or FD and it seems 
to be more stable. (short sized  job right done , longest job already running : 
750Gb to migrate)

My WAN connection seems  to be quite good,  I  achieve transferring big and 
small  raw files by scp ssh and don't have ping latency or troubles with the 
ipsec connection.

I tried too with NAT,  by not using IPSEC and setting  Bacula SD & DIR  
directly in front of the WAN.
And the same occurs  (wrote X byte  but only Y accepted)

I Tried too to make a migration job to migrate from  SD  to SD through WAN  
instead of SD-> FD through WAN and the result was the same. (to see if win32 FD 
could be involved)
 - DIR and SD in the same LAN.
 - Backup remote  FD through  remote SD, the two are in the same LAN to fast 
backup : step OK .
- Then  migration from remote SD to the SD that is in the DIR area through WAN 
to outsource volumes physical support : step nok
The final goal: outsourcing volumes.
I then discard the gzip compression (just in case)

The errors are quite disturbing :
*   Error: lib/bsock.c:397 Wrote 65566 bytes to client:192.168.0.4:9102, 
but only 65536 accepted
Fatal error: filed/backup.c:1008 Network send error to SD. 
ERR=Input/output error
Or  (when increasing MaximumNetworkBuffer)
*   Error: lib/bsock.c:397 Wrote 130277 bytes to client:192.168.0.17:9102, 
but only 98304 accepted.
Fatal error: filed/backup.c:1008 Network send error to SD. 
ERR=Input/output error
Or (Migration job)
*   Fatal error: append.c:319 Network error reading from FD. ERR=Erreur 
d'entrée/sortie
Error: bsock.c:571 Read expected 131118 got 114684 from Storage 
daemon:192.168.10.54:9103

It's look like there is a gap between send and receive buffer and looking at 
the source code, encryption could affect buffer size due to encryption.
So I  think Bacula-SD could be in cause (maybe).
Could it be a bug?
What could I do to determine the problem (activating debug in sd daemon ? )

I use Bacula 13.0.3 on Debian 12 , with ssl 1.1

Thank for helping. Backup scenarios must have an a step of relocating the 
backup media to be reliable.

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


Re: [Bacula-users] fd lose connection

2023-11-05 Thread Lionel PLASSE
Job lost connection ...

-Message d'origine-
De : Lionel PLASSE 
Envoyé : dimanche 5 novembre 2023 08:00
À : Lionel PLASSE ; Bill Arlofski ; 
bacula-users@lists.sourceforge.net
Objet : RE: [Bacula-users] fd lose connection

I upgraded net device drivers to last version
I change some network adapters conf (Broadcom netxtrem2) and gain some Mb/s (up 
to 10 now)
Backup still running.

Will see if it achieve job well

-Message d'origine-
De : Lionel PLASSE 
Envoyé : vendredi 3 novembre 2023 22:02
À : Bill Arlofski ; bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] fd lose connection

Yes , you're right

But the job work well for an other machine through the same vpn  and the job 
last 9hours .
And from the hardware vpn gateway,  I don't have much configuration choice.  It 
could be a direction.

Could it be a problem of Debian 12 which seems not to be official for Bacula 
v13 ?

"SD calls Client" directive was activated , don't know why ( I tried so many 
conf to solve it :).  I will re-test without

And for the slow rate I am trying the Network buffer size directive on FD and 
SD  but not really conclusive.
But :   Error: lib/bsock.c:397 Wrote 65566 bytes to client:192.168.0.4:9102, 
but only 65536 accepted
Tells me to look after the send and receive buffer on network drivers 

Bacula doc :
Note, on certain Windows machines, there are reports that the transfer rates 
are very slow and this seems to be related to the default 65,536 size. On 
systems where the transfer rates seem abnormally slow compared to other 
systems, you might try setting the Maximum Network Buffer Size to 32,768 in 
both the File daemon and in the Storage daemon ...
The default size was chosen to be relatively large but not too big in the case 
that you are transmitting data over Internet. It is clear that on a high speed 
local network, you can increase this number and improve performance. For 
example, some users have found that if you use a value of 65,536 bytes they get 
five to ten times the throughput. Larger values for most users don’t seem to 
improve performance. If you are interested in improving your backup speeds, 
this is definitely a place to experiment. You will probably also want to make 
the corresponding change in each of your File daemons conf files.

I'm disappointed, and made so many inoperant conf changes , that I will try to 
with v9.6.6 ( I used before on my lan)  to see if the problem is the same .

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


Re: [Bacula-users] fd lose connection

2023-11-05 Thread Lionel PLASSE
I upgraded net device drivers to last version
I change some network adapters conf (Broadcom netxtrem2) and gain some Mb/s (up 
to 10 now)
Backup still running.

Will see if it achieve job well

-Message d'origine-
De : Lionel PLASSE  
Envoyé : vendredi 3 novembre 2023 22:02
À : Bill Arlofski ; bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] fd lose connection

Yes , you're right 

But the job work well for an other machine through the same vpn  and the job 
last 9hours .
And from the hardware vpn gateway,  I don't have much configuration choice.  It 
could be a direction.

Could it be a problem of Debian 12 which seems not to be official for Bacula 
v13 ?

"SD calls Client" directive was activated , don't know why ( I tried so many 
conf to solve it :).  I will re-test without  

And for the slow rate I am trying the Network buffer size directive on FD and 
SD  but not really conclusive.  
But :   Error: lib/bsock.c:397 Wrote 65566 bytes to client:192.168.0.4:9102, 
but only 65536 accepted   
Tells me to look after the send and receive buffer on network drivers 

Bacula doc : 
Note, on certain Windows machines, there are reports that the transfer rates 
are very slow and this seems to be related to the default 65,536 size. On 
systems where the transfer rates seem abnormally slow compared to other 
systems, you might try setting the Maximum Network Buffer Size to 32,768 in 
both the File daemon and in the Storage daemon ...
The default size was chosen to be relatively large but not too big in the case 
that you are transmitting data over Internet. It is clear that on a high speed 
local network, you can increase this number and improve performance. For 
example, some users have found that if you use a value of 65,536 bytes they get 
five to ten times the throughput. Larger values for most users don’t seem to 
improve performance. If you are interested in improving your backup speeds, 
this is definitely a place to experiment. You will probably also want to make 
the corresponding change in each of your File daemons conf files.

I'm disappointed, and made so many inoperant conf changes , that I will try to 
with v9.6.6 ( I used before on my lan)  to see if the problem is the same .


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] fd lose connection

2023-11-03 Thread Lionel PLASSE
Yes , you're right 

But the job work well for an other machine through the same vpn  and the job 
last 9hours .
And from the hardware vpn gateway,  I don't have much configuration choice.  It 
could be a direction.

Could it be a problem of Debian 12 which seems not to be official for Bacula 
v13 ?

"SD calls Client" directive was activated , don't know why ( I tried so many 
conf to solve it :).  I will re-test without  

And for the slow rate I am trying the Network buffer size directive on FD and 
SD  but not really conclusive.  
But :   Error: lib/bsock.c:397 Wrote 65566 bytes to client:192.168.0.4:9102, 
but only 65536 accepted   
Tells me to look after the send and receive buffer on network drivers 

Bacula doc : 
Note, on certain Windows machines, there are reports that the transfer rates 
are very slow
and this seems to be related to the default 65,536 size. On systems where the 
transfer
rates seem abnormally slow compared to other systems, you might try setting the 
Maximum
Network Buffer Size to 32,768 in both the File daemon and in the Storage daemon
...
The default size was chosen to be relatively large but not too big in the case 
that you are
transmitting data over Internet. It is clear that on a high speed local 
network, you can
increase this number and improve performance. For example, some users have 
found that
if you use a value of 65,536 bytes they get five to ten times the throughput. 
Larger values
for most users don’t seem to improve performance. If you are interested in 
improving your
backup speeds, this is definitely a place to experiment. You will probably also 
want to
make the corresponding change in each of your File daemons conf files.

I'm disappointed, and made so many inoperant conf changes , that I will try to 
with v9.6.6 ( I used before on my lan)  to see if the problem is the same .


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


[Bacula-users] fd lose connection

2023-11-03 Thread Lionel PLASSE
Hello ,

I am losing connection between sd and windows fd  and  I don't understand
why.
The  machine lose every time the connection, sometimes after an hour  and
often after 2 hours of job.
And the transfer rate is so slow around 3 to 5 Mb/s (instead of up to 50 in
other configurations)

I tried many Network Maximum Rate values (32768 and higher and smaller) but
every time I have more byte written to client (65566 > 65536) and connection
fall down.

The server is in win2019 version  with bacula-fd  win32 v13 and the Bacula
Dir is in v13.0.3 on  a Debian 12 (with libssl1.1 and 6.1.0-13-amd kernel)

I before was using bacula v9.6 and all wad good through my Lan network  when
backing up this same windows server.

I am now using a Debian server  in a different place, through a site to site
permanent ipsec VPN ( general upload wan bandwith  80Mb/s)
The jobs are good for the other machines (win2012-r2 & Debian 10) which
reach a rate of 10 up to 30 Mb/s depending the time and size of files backed
up.

But for this one (and another one in win2008-r2) :
serv-dc-01-fd JobId 122: Fatal error: filed/backup.c:1008 Network send error
to SD. ERR=Input/output error
serv-dc-01-fd JobId 122: Error: lib/bsock.c:397 Wrote 65566 bytes to
client:192.168.0.4:9102, but only 65536 accepted

I check full duplex, opened firewall port, tcp_keep_alive & heartbeat,
changed net buffer size,installed last driver . 

Any suggestion ? 


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] Windows filesets setup...

2023-10-27 Thread Lionel PLASSE
I meant : You don't need exclude block  just include c:/program files* like D:/ 
do

-Message d'origine-
De : Marco Gaiarin 
Envoyé : jeudi 26 octobre 2023 13:29
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] Windows filesets setup...


Still there's some things in Bacula that i really dont't understand, evidently. 
;-)


I need to backup a windows box; i need to backup entirely the D: drive and 
partially the C: drive. Following documentation and examples, i've wrote:

 FileSet {
   Name = ArmeoStd
   Description = "Backup dati Hocoma/Armeo"
   Enable VSS = yes

   Include {
 File = "C:/"

 Options {
   Signature = MD5
   Ignore Case = yes

   WildDir = "C:/Program Files*/Hocoma"
 }

 Options {
   Exclude = yes

   WildDir = "C:/*"
 }
   }

   Include {
 File = "D:/"

 Options {
   Signature = MD5
   Ignore Case = yes
 }
   }
 }


Backup on D: works as expected, on C: i got:

 cwd is: /
 $ dir
 drwxrwx--T   1 root root   12288  2023-10-23 08:45:20  C:/
 drwxrwx--T   1 root root4096  2023-10-23 08:45:17  D:/
 cd C:/
 cwd is: C:/
 dir:/
 -rwxrwxrwx   1 root root1024  2023-10-18 13:09:20  C:/.rnd
 -rwxrwx--T   1 root root  3126231040  2023-10-26 11:41:44  
C:/hiberfil.sys
 -rwxrwx--T   1 root root  4168310784  2023-10-26 11:41:44  
C:/pagefile.sys

What i'm doing wrong?!


Thanks...

--
  Sai come fanno i Serbi ad abbattere i caccia americani?
  Disegnando una funivia sul terreno...




___
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] Windows filesets setup...

2023-10-27 Thread Lionel PLASSE
Will wildir c:/* on exclude  options remove all files from backup, won't it?
I think you have to look on the include/exlude wildcards   use wild files nor 
wild dir ?

-Message d'origine-
De : Marco Gaiarin  
Envoyé : jeudi 26 octobre 2023 13:29
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] Windows filesets setup...


Still there's some things in Bacula that i really dont't understand, evidently. 
;-)


I need to backup a windows box; i need to backup entirely the D: drive and 
partially the C: drive. Following documentation and examples, i've wrote:

 FileSet {
   Name = ArmeoStd
   Description = "Backup dati Hocoma/Armeo"
   Enable VSS = yes
 
   Include {
 File = "C:/"
 
 Options {
   Signature = MD5
   Ignore Case = yes
 
   WildDir = "C:/Program Files*/Hocoma"
 }
 
 Options {
   Exclude = yes
 
   WildDir = "C:/*"
 }
   }
 
   Include {
 File = "D:/"
 
 Options {
   Signature = MD5
   Ignore Case = yes
 }
   }
 }


Backup on D: works as expected, on C: i got:

 cwd is: /
 $ dir
 drwxrwx--T   1 root root   12288  2023-10-23 08:45:20  C:/
 drwxrwx--T   1 root root4096  2023-10-23 08:45:17  D:/
 cd C:/
 cwd is: C:/
 dir:/
 -rwxrwxrwx   1 root root1024  2023-10-18 13:09:20  C:/.rnd
 -rwxrwx--T   1 root root  3126231040  2023-10-26 11:41:44  
C:/hiberfil.sys
 -rwxrwx--T   1 root root  4168310784  2023-10-26 11:41:44  
C:/pagefile.sys

What i'm doing wrong?!


Thanks...

--
  Sai come fanno i Serbi ad abbattere i caccia americani?
  Disegnando una funivia sul terreno...




___
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


[Bacula-users] FD windows server 2019 - VSS

2023-10-24 Thread Lionel PLASSE
Hello ,

 

Do some of you have some error during initialization of the VSS Create
snapshot on Windows server 2019, 

 

Mine often have an error and don’t know why it’s sometimes ok sometimes non
ok

I look at the vssagent on the server and even none are in default or in
running state the failure become.

 

SERV-fd JobId 10248: Error: VSS API failure calling "BackupComplete".
ERR=Object is not initialized; called during restore or not called in
correct sequence.

SERV-fd JobId 10248: Fatal error: vss.cpp:509 Backup is not Initialized

SERV-fd JobId 10248: Fatal error: vss.cpp:509 Backup is not Initialized

SERV-fd JobId 10248: Fatal error: vss.cpp:451 Backup is not Initialized

SERV-fd JobId 10248: Fatal error: VSS CreateSnapshots failed.
ERR=L’opération a réussi.

SERV-fd JobId 10248: Generate VSS snapshots. Driver="Win64 VSS"

 

I have no windows backup running ..

 

I’m still in 9.6.6 (dir and fd)



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] Restore job forward space volume - usb file volume

2023-09-05 Thread Lionel PLASSE
Yes you right I reload the volume with bscan. And the bsr is created at the 
restore stage.

I've now  understood the high value of the bsr file. That's why some of my 
restore are quicker than other. 
And big volumes don't help it.

Thanks a lot.



-Message d'origine-
De : Martin Simmons  
Envoyé : lundi 4 septembre 2023 19:16
À : Lionel PLASSE 
Cc : rados...@korzeniewski.net; bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restore job forward space volume - usb file volume

I think the problem is the VolAddr=0-1239074631492 line in the bsr file.
Normally it would be a more precise range, but that range will be slow.

Was bscan used to reload data into the catalog for this volume some in the 
past?  That can cause this problem with VolAddr.

__Martin


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


Re: [Bacula-users] Restore job forward space volume - usb file volume

2023-08-28 Thread Lionel PLASSE
You're right, I say it was slow from my own apreciation. 
The Volume file is 1 TB. And the restoration job  was 65 GB. 

And unfortunately, I don't have the exact timing for each steps , but I was 
stuck in the "forwarding spacing " for half an hour before I stopped watching.

Elapsed time:   1 hour 16 mins 30 secs
  Files Expected: 26
  Files Restored: 26
  Bytes Restored: 63,581,189,026 (63.58 GB)
  Rate:   13852.1 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK
BUSTER_BKP-sd JobId 9784: Elapsed time=01:11:20, Transfer rate=14.85 M 
Bytes/second
BUSTER_BKP-sd JobId 9784: Forward spacing Volume "T1" to addr=249122650420

Ok, But in my memories this step o was much faster to perform ?

So, as I understand it, it depends on the position of the data in the restore 
job in the volume. 
Can it be faster if I use smaller but more numerous volumes (if a smaller 
volume contains all the data of the restore job at once of course)

The overall Rate is good for me.

Thank for informations,


-Message d'origine-
De : Martin Simmons  
Envoyé : vendredi 25 août 2023 18:05
À : Lionel PLASSE 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restore job forward space volume - usb file volume

>>>>> On Thu, 24 Aug 2023 09:32:38 +, Lionel PLASSE said:
> 
> Hello,
> 
> For usb harddrive and file media volume,   when I do a restore job I get a 
> long waiting  step : "Forward spacing Volume "T1" to addr=249122650420" 
> I remember I managed to configure the storage resource to quickly restore sdd 
> drives.
> 
> Should I use fastforward, blockpositionning and HardwareEndOfFile for USB 
> disks and file volume?
> How to avoid this long forwarding when not a tape device?

How do you know it is slow in the forwarding?  It might have done that quickly 
and is slow in the next operation.

How much data are you restoring?

You can try using 'status storage' and 'status client' a few times in bconsole 
to monitor the progress of the restore.

__Martin


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


[Bacula-users] Restore job forward space volume - usb file volume

2023-08-24 Thread Lionel PLASSE
Hello,

For usb harddrive and file media volume,   when I do a restore job I get a long 
waiting  step : "Forward spacing Volume "T1" to addr=249122650420" 
I remember I managed to configure the storage resource to quickly restore sdd 
drives.

Should I use fastforward, blockpositionning and HardwareEndOfFile for USB disks 
and file volume?
How to avoid this long forwarding when not a tape device?




PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45.9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2!3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!8m2!3d45.9444281!4d4.7578088?hl=fr
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/






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


Re: [Bacula-users] Baculum and disable job...

2023-08-24 Thread Lionel PLASSE
In baculum there is an "enabled" checkbox for jobs.

It's possible to disable schedules too



-Message d'origine-
De : Marco Gaiarin  
Envoyé : mardi 22 août 2023 14:00
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] Baculum and disable job...


I'm using Bacula 9.5 with baculum 9.6.6.3.

I don't see and options to disable the jobs, equivalent to the 'disable'
console command.


I'm missing something? Thanks.

-- 
  ...il ponte di Messina unirà «non due coste ma due cosche».
(Niki Vendola)




___
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


[Bacula-users] TR: Copying jobs from one SD to another

2023-08-21 Thread Lionel PLASSE
hello
wouldn't   the bcopy tool and a tweaked  bsr file have done the job? 

 (just a question don't have the answer :)  )



PLASSE Lionel | Networks & Systems Administrator 
221 Allée de Fétan
01600 TREVOUX - FRANCE | Acces map
Tel : +33(0)4.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr





-Message d'origine-
De : Dan Langille  
Envoyé : dimanche 20 août 2023 22:54
À : bacula-users 
Objet : [Bacula-users] Copying jobs from one SD to another

Hello,

I've started work on migrating backups from one SD with 45TB of backups (of 
which 18TB are just Catalog).

My goals:

* copy over the latest backup for each job - some may be old for jobs no longer 
run
* copy over the past 12 months of full backups.

I'm doing this via SQL query. There will be overlap between the above two 
goals, however, the query caters for that.

Details at: 
https://dan.langille.org/2023/08/20/bacula-copying-the-latest-jobs-over-from-one-sd-to-another/

I've been estimating space required, and have some ideas to reduce the number 
of Catalog backups I keep on hand.

At 160GB for each catalog backup, it may be time for me to run dbcheck in batch 
mode.

— 
Dan Langille
http://langille.org/







___
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] Backup windows client fail

2023-07-03 Thread Lionel PLASSE
Hello,

Go into services.msc console and restart the Bacula-fd service.
And retest.

But I would rather say that it is on the side of the server that is the problem 
(restart too  the Bacula-sd and bacula-dir service with systemctl restart 
bacula-sd Bacula-dir)





De : Gina Costa 
Envoyé : lundi 3 juillet 2023 13:10
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] Backup windows client fail

Hi,

I have a windows client which backup always run fine. A few days ago, the 
backup doesn’t work.
The comunication between diretor and client is OK, as shown in this log message:


vsantoantao-fd Version: 5.2.10 (28 June 2012)  VSS Linux Cross-compile Win32
Daemon started 03-Jul-23 10:55. Jobs: run=0 running=0.
Microsoft Windows Server 2003 R2 Standard Edition Service Pack 2 (build 3790)
 Heap: heap=0 smbytes=32,299 max_bytes=34,815 bufs=65 max_bufs=91
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1
Running Jobs:
Director connected at: 03-Jul-23 11:56
No Jobs running.


When the backup job ran, the following error occurs:

==
03-Jul 11:27 vsantoantao-fd JobId 6989: Fatal error: lib/bsock.c:138 Unable to 
connect to Storage daemon on 192.168.0.164:9103. ERR=The operation completed 
successfully.
03-Jul 11:27 vsantoantao-fd JobId 6989: Fatal error: Failed to connect to 
Storage daemon: 192.168.0.164:9103
03-Jul 11:31 bacula-dir JobId 6989: Fatal error: Bad response to Storage 
command: wanted 2000 OK storage, got 2902 Bad storage
==

Can anyone help me?

Universidade de Coimbra • Administração
SGSIIC-Serviço de Gestão de Sistemas e Infraestruturas de Informação e 
Comunicação
Divisão de Infraestruturas de TIC
Rua do Arco da Traição | 3000-056 COIMBRA • PORTUGAL
Tel.: +351 239 242 870
E-mail: gina.co...@uc.pt
www.uc.pt/administracao


[cid:image001.png@01D9ADB6.977EC120]

Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir!
This e-mail is environment friendly. Please think twice before printing it!


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


Re: [Bacula-users] Baculum UI tweak : adding columns to volume page view

2023-05-02 Thread Lionel PLASSE
Ok cool,

great thanks,


De : Marcin Haba 
Envoyé : lundi 1 mai 2023 13:54
À : Lionel PLASSE 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Baculum UI tweak : adding columns to volume page view

Hello Lionel,

I added this function to Bacularis.

Later I ported it to Baculum:

https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/f867ed2732d10cbb0e789341fd37a3f905b7db51

Now in the application settings (under gearwheel icon at the top left part of 
the interface) are three radio options to set preserving table settings:

1) No time limit (persistent settings)
2) Until end of web browser session
3) For specific time
Keep table settings for: [2][V hours]

Default is selected option 3) with predefined value 2 hours. Users can set in 
the input own time setting or use option 1) for keeping settings all the time 
or use option 2) to keep it until closing the web browser.

Best regards,
Marcin Haba (gani)

On Sun, 30 Apr 2023 at 10:45, Marcin Haba 
mailto:ganius...@gmail.com>> wrote:
Hello Lionel,

The table settings are remembered for 2 hours.

I think that your idea is good to have an option to switch table settings to 
persistent.

I will try to add it in the near future. I will let know in this thread too 
when it is ready.

Thanks.

Best regards,
Marcin Haba (gani)

On Fri, 28 Apr 2023 at 12:27, Lionel PLASSE 
mailto:pla...@cofiem.fr>> wrote:
Hello,


I have not found a way to add a column by default in the Volume page of 
Baculum. I often need to view the "when-expire" column and I'm bored of adding 
it manually eachtime :)

Where can I add  it by default (maybe on php files of baculum but... ). A 
config is possible?

Best regards,


PLASSE Lionel | Administrateur systŠmes et r‚seaux
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr<mailto:pla...@cofiem.fr>
www.cofiem.fr<http://www.cofiem.fr> | 
www.cofiem-robotics.fr<http://www.cofiem-robotics.fr>







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


--
"Greater love hath no man than this, that a man lay down his life for his 
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za 
przyjaciół swoich." Jezus Chrystus


--
"Greater love hath no man than this, that a man lay down his life for his 
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za 
przyjaciół swoich." Jezus Chrystus
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Baculum UI tweak : adding columns to volume page view

2023-04-28 Thread Lionel PLASSE
Hello,


I have not found a way to add a column by default in the Volume page of 
Baculum. I often need to view the "when-expire" column and I'm bored of adding 
it manually eachtime :)

Where can I add  it by default (maybe on php files of baculum but... ). A 
config is possible?

Best regards,


PLASSE Lionel | Administrateur systŠmes et r‚seaux 
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 





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


Re: [Bacula-users] Bacula Differential and Incremental Backup not working

2023-04-21 Thread Lionel PLASSE
Don’ t forget to have performed One Full Job at least one time before doing any 
differential or incremental job

If Bacula don’t find any full backup it starts a full job instead of 
incremental or differential

I got the problem before

-


De : Dr. Thorsten Brandau  
Envoyé : vendredi 21 avril 2023 11:09
À : Justin Case 
Cc : bacula-users 
Objet : Re: [Bacula-users] Bacula Differential and Incremental Backup not 
working

Hi J/C
Thank you.
The configuration is:
Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st fri at 23:05
  Run = Differential 2nd-5th fri at 23:05
#  Run = Incremental sat-thu at 23:05
}
So how should it be configured if that does not work?
Mit freundlichen Grüßen/Best regards/よろしくお願いします
BRACE GmbH

Dr. Thorsten Brandau



Justin Case schrieb am 21.04.23 um 10:53:
Hi Thorsten,

the mechanisms for full and incremental backups works for me. It is more likely 
a matter of your settings. 

also the schedules influence whether a backup is done as a full or as an 
incremental, so I would look there, if this is configured correctly.

Hope it helps,
j/c


On 21. Apr 2023, at 09:10, Dr. Thorsten Brandau 
 wrote:

Hi
I am running Bacula with a tape drive on an Autoloader. As the full Backup 
takes about 70 h (it is a larger filesystem to backup) I want to do 
differential and incremental backups. However, all Differential and Incremental 
are performed as full backups.
I am running also an Rsync script with hardlinks, where it is no problem to 
have differential backups.
It seems as the file checking of Bacula is not correct.
Any idea how to finetune? Is it possible to understand WHY a file is considered 
new? Is there any way to control this?
We have several backup strategies, with Rsync on different computers, but also 
symmetric synching with remote hosts.
Would a blockwise differential backup be possible?
Or at last ignoring things like ACL or so?
Thanks
Cheers
Thorsten
___
Bacula-users mailing list
mailto:Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
+ This Document is confidential + Dieses Dokument ist vertraulich +

->->-> Please register at https://www.brace.de for getting always the latest 
news and best informations! <-<-<-
* FOCUS Business Innovationschampion 2023, for development, prozesses, business 
model and organisation *
* Awarded as "Employer of the Future"
* WINNER OF THE EXPORT AWARD BAVARIA 2021 *
 Please visit us at those events:
* Food Ingredients Europe, Nov 28-Nov30, 2023, Frankfurt, Germany *
* Industral Convention on Microencapsuatlon, Oct. 9-12, 2023, Chicago, USA *
* Bearer of the "High Commendation" at the FI Innovation Award 2019 *
* Finalist of the FI Innovation Award 2019 - Instant Process *


BRACE GmbH
Dr. Thorsten Brandau (mailto:thorsten.bran...@brace.de)
President
Am Mittelberg 5
D-63791 Karlstein
Germany
Tel: +49 6188 991757
Fax: +49 6188 991759
https://www.brace.de

HRB5004 (Amtsgericht Aschaffenburg), VAT DE151299833, Managing Directors: Dr. 
Thorsten Brandau

IMPORTANT NOTICE:
This email may be confidential, may be legally privileged, and is for the 
intended recipient only. 
Access, disclosure, copying, distribution, or reliance on any of it by anyone 
else is prohibited 
and may be a criminal offence. Please delete if obtained in error and email 
confirmation to the sender. 

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


[Bacula-users] Bacula-cloud

2023-03-23 Thread Lionel PLASSE
Hello,

I've read that Bacula cloud is compliant with S3 cloud buckets so amazon ones.


Is there a compliance with OneDrive other than mounting local directory to 
OneDrive cloud space ? It actually  works good with OneDrive --synchronize 
after a backup as post script . 

But it could be cool for me accessing directly OneDrive “Bucket". 
Is it possible or maybe planned in further version ?

Best regards

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


Re: [Bacula-users] Baculum 11.6 Adding new section block or File/Dir Field error

2023-03-13 Thread Lionel PLASSE
Ok thanks,


PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45.9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2!3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!8m2!3d45.9444281!4d4.7578088?hl=fr
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/

 



De : Marcin Haba  
Envoyé : vendredi 10 mars 2023 19:54
À : Lionel PLASSE 
Cc : bacula-users 
Objet : Re: [Bacula-users] Baculum 11.6 Adding new section block or File/Dir 
Field error

Hello Lionel,

This is a bug that is fixed in Branch-13.0 starting from version 13.0.0.

https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/b706fe1929ae5655eb0899392101f93713e4dffc

Best regards,
Marcin Haba (gani)

On Fri, 10 Mar 2023 at 10:16, Lionel PLASSE <mailto:pla...@cofiem.fr> wrote:
Hello,

I'm testing baculum 11.6 with Bacula 13.0.1 on Debian bullseye , php v 8.2.3 , 
mysql Ver 15.1 Distrib 10.10.3-MariaDB, apache2  

All works good except when I want to add an  option block  or include/exlude 
block in a fileset or add a new single file/directory
  it always focus on the last current field or block and don't create new 
fields or blocks

It is the same in job section when adding a runscript block

In firefox (but don't works on edge/chromium too)
TypeError with message "method_exists(): Argument #1 ($object_or_class) must be 
of type object|string, null given" in 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37)
Stack trace:
  #0 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37):
 undefined->method_exists()
  #1 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(108): 
DirectiveControlTemplate->getCmdParam()
  #2 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(190): 
DirectiveTemplate->saveValue()
  #3 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTextBox.php(46): 
DirectiveTemplate->getDirectiveValue()
  #4 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(129): 
DirectiveTextBox->createDirective()
  #5 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(88): 
DirectiveRenderer->createItem()
  #6 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(82): 
DirectiveRenderer->createItemInternal()
  #7 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1681):
 DirectiveRenderer->loadState()
  #8 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1250):
 Prado\Web\UI\TControl->loadStateRecursive()
  #9 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlCollection.php(65):
 Prado\Web\UI\TControl->addedControl()
  #10 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Collections/TList.php(144):
 Prado\Web\UI\TControlCollection->insertAt()
  #11 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(473):
 Prado\Collections\TList->add()
  #12 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(637):
 Prado\Web\UI\WebControls\TRepeater->createItemInternal()
  #13 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(606):
 Prado\Web\UI\WebControls\TRepeater->restoreItemsFromViewState()
  #14 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlAdapter.php(71):
 Prado\Web\UI\WebControls\TRepeater->loadState()
  #15 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1679):
 Prado\Web\UI\TControlAdapter->loadState()
  #16 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #17 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #18 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #19 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #20 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #21 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #22 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(7

[Bacula-users] Baculum 11.6 Adding new section block or File/Dir Field error

2023-03-10 Thread Lionel PLASSE
Hello,

I'm testing baculum 11.6 with Bacula 13.0.1 on Debian bullseye , php v 8.2.3 , 
mysql Ver 15.1 Distrib 10.10.3-MariaDB, apache2  

All works good except when I want to add an  option block  or include/exlude 
block in a fileset or add a new single file/directory
  it always focus on the last current field or block and don't create new 
fields or blocks

It is the same in job section when adding a runscript block

In firefox (but don't works on edge/chromium too)
TypeError with message "method_exists(): Argument #1 ($object_or_class) must be 
of type object|string, null given" in 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37)
Stack trace:
  #0 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37):
 undefined->method_exists()
  #1 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(108): 
DirectiveControlTemplate->getCmdParam()
  #2 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(190): 
DirectiveTemplate->saveValue()
  #3 /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTextBox.php(46): 
DirectiveTemplate->getDirectiveValue()
  #4 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(129): 
DirectiveTextBox->createDirective()
  #5 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(88): 
DirectiveRenderer->createItem()
  #6 
/usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(82): 
DirectiveRenderer->createItemInternal()
  #7 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1681):
 DirectiveRenderer->loadState()
  #8 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1250):
 Prado\Web\UI\TControl->loadStateRecursive()
  #9 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlCollection.php(65):
 Prado\Web\UI\TControl->addedControl()
  #10 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Collections/TList.php(144):
 Prado\Web\UI\TControlCollection->insertAt()
  #11 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(473):
 Prado\Collections\TList->add()
  #12 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(637):
 Prado\Web\UI\WebControls\TRepeater->createItemInternal()
  #13 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(606):
 Prado\Web\UI\WebControls\TRepeater->restoreItemsFromViewState()
  #14 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlAdapter.php(71):
 Prado\Web\UI\WebControls\TRepeater->loadState()
  #15 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1679):
 Prado\Web\UI\TControlAdapter->loadState()
  #16 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #17 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #18 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #19 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #20 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #21 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667):
 Prado\Web\UI\TControl->loadStateRecursive()
  #22 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(794):
 Prado\Web\UI\TControl->loadStateRecursive()
  #23 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(340):
 Prado\Web\UI\TPage->loadPageState()
  #24 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(203):
 Prado\Web\UI\TPage->processCallbackRequest()
  #25 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/Services/TPageService.php(528):
 Prado\Web\UI\TPage->run()
  #26 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/Services/TPageService.php(465):
 Prado\Web\Services\TPageService->runPage()
  #27 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/TApplication.php(1190):
 Prado\Web\Services\TPageService->run()
  #28 
/usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/TApplication.php(382):
 Prado\TApplication->runService()
  #29 /usr/share/baculum/htdocs/index.php(32): Prado\TApplication->run()
Apache/2.4.54 (Debian) 4.0.1 2023-03-10 08:28



___
Bacula-users mailing list

[Bacula-users] Catalog cleanup

2022-12-08 Thread Lionel PLASSE
Hello,

I want to clean my Catalog because I see old FileSet resources  prior the last 
2years and there is no Job attached. 
So When I run a restore wizard I have to choose between multiple FileSet 
resource (in the mode ) which are not 
operational. 
I want to delete these entry manually in the FileSet mysql table, but there 
might be some other tables linked to those entries?

Is there a script or a walkthrough I can follow to properly clean these entry 
in the catalog.


Thanks for help

PLASSE Lionel | Administrateur systŠmes et r,seaux 
221 All,e de F,tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 





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


Re: [Bacula-users] surrounding @@ on menus and field names

2022-12-05 Thread Lionel PLASSE
 You right,

the link to the baculum-web.mo file was not accessible to my www-data user 
because  it is a symlink. The original folder was protected .

I made a copy with proper name, owner and rights.

Thanks a lot .



De : Marcin Haba  
Envoyé : dimanche 4 décembre 2022 08:54
À : Lionel PLASSE 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] surrounding @@ on menus and field names

Hello Lionel,

The "@@" marker is displayed around texts if the translation file for your 
language is not available. You need to copy the translation file (messages.mo) 
to the proper location. It is the following relative destination path:

For API:

protected/API/Lang//

For Web:

protected/Web/Lang//

Good luck!

Best regards,
Marcin Haba (gani)

On Wed, 30 Nov 2022 at 17:17, Lionel PLASSE <mailto:pla...@cofiem.fr> wrote:
Hello,

I just made a new installation of bacula 9.6.7 and Bacula web  baculum in order 
to make some extra production tests

I was suprised to see in the bauculum interface some @@ before and after menus 
names , surrounding each field names

Like @@Welcome@@ or @@Pools@@ or @@Clients:@@

I don't remember having have such a problem in my former installation.

Some help needed :-)


PLASSE Lionel | Administrateur systŠmes et r,seaux 
221 All,e de F,tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
mailto:pla...@cofiem.fr
http://www.cofiem.fr | http://www.cofiem-robotics.fr







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



-- 
"Greater love hath no man than this, that a man lay down his life for his 
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za 
przyjaciół swoich." Jezus Chrystus

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


[Bacula-users] surrounding @@ on menus and field names

2022-11-30 Thread Lionel PLASSE
Hello,

I just made a new installation of bacula 9.6.7 and Bacula web  baculum in order 
to make some extra production tests

I was suprised to see in the bauculum interface some @@ before and after menus 
names , surrounding each field names

Like @@Welcome@@ or @@Pools@@ or @@Clients:@@

I don't remember having have such a problem in my former installation.

Some help needed :-)


PLASSE Lionel | Administrateur systŠmes et r,seaux 
221 All,e de F,tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 





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


Re: [Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Lionel PLASSE
Ok sorry for this thread.  The problem (which wasn't) is solved .

 All the options for positioning and reading volume file  properly were 
disabled.
 It works well now,  like before. 

I feel better and still think Bacula is a great project and really powerfull 
tool  for the reliability of the data.

Thank Martin to remind me where  to start finding the solution.

 And  I want to say too that the documentation is really well written !  all is 
in the doc (tools and main)
.  
Nice job Kern Sibbald and your dev team. 

-Message d'origine-
De : Lionel PLASSE  
Envoyé : mercredi 13 avril 2022 17:46
À : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

oK the
HardwareEndOfFile:
HardwareEndOfMedium:
BackwardSpaceRecord:
BackwardSpaceFile:
BsfAtEom:
ForwardSpaceRecord:
ForwardSpaceFile:
FastForwardSpaceFile:
BlockPositioning:
BlockChecksum:
UseMtiocGet:

Were  all unmarked on the device configuration.

 I don't know why nor who ( ^^ ) done this ... I willl test with those options 
activated and check if it is better now...




-Message d'origine-
De : Lionel PLASSE 
Envoyé : mercredi 13 avril 2022 17:32
À : bacula-users@lists.sourceforge.net
Cc : Martin Simmons  Objet : Re: [Bacula-users] 
Restoration stuck with bconsole - bextract or baculum wizard

Why my bootstrap file does not figure out  the VolFile and VolBlock directive.?
Why the restore command read now my Volume sequentialy bock afeter block?

 I thought It was possible to position much more faster to the right block 
address on the file volume.
 Maybe I have modified the configuration of my device ressource. 
It's like it must now read block after block to find the good files to restore. 
Or the bootstrop file is not generated properly and some informations are 
missing; 

Something went wrong;

 the volume is a usb disk  with a file volume ...

 



-Message d'origine-
De : Lionel PLASSE 
Envoyé : mercredi 13 avril 2022 14:09
À : Martin Simmons  Cc : 
bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Yes, It's what I thought, because I do the same test with the FULL2 volume, and 
the same appears.

I'm now running a bls -k   since this morning (France) and it's still running 
and now listing the address  367136933614 , 4 hours later, maybe I just need to 
wait the voladdr 1295408902248 , but's so slow !

My bsr for the Full2 I am testing this time

# 05-févr.-2022 07:07:13 - Backup_Serv_dc_01_SYS.2022-02-04_20.30.00_37 - Full 
Volume="FULL2"
MediaType="USB"
VolSessionId=248
VolSessionTime=1642266413
VolAddr=1295408902248-1314271625530
FileIndex=1-192133

Really strange, the backup size is not much more important than before, and  it 
was not so difficult to achieve the voladdress.  

PLASSE Lionel | Administrateur systŠmes et r‚seaux
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 



-Message d'origine-
De : Martin Simmons  Envoyé : mercredi 13 avril 2022 
12:55 À : Lionel PLASSE  Cc : 
bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Maybe it is just running very slowly?

Can you post the bsr file here?

__Martin


>>>>> On Wed, 13 Apr 2022 08:48:35 +, Lionel PLASSE said:
> 
> Hello,
> 
> I was testing my Backup support  (every 3month I test it). And was surprised 
> for one backup job only on the same volume is stuck. 
> I explain, when I restore the other data server all is right. And Every time  
> for one job a can not restore, it blocks on the "Ready to read from volume" 
> message .
> 
> I have a good bsr file. I can list file in the backup job result. But can't 
> read volume for this job.
> 
> So I supress the volume (logicaly and physicaly) recreate it, relabel and 
> redo the full backup job. The same problem appears. 
> The bls command block too.
> Before It was good, and I was happy to test my full restoration of windows 
> 2012R2 c: server ! Why now it blocks?
> 
> Ex:
> 
> bextract  -b /BKP/bacubak/SERV_DC_01-fd-SYS.bsr -c 
> /etc/bacula/bacula-sd.conf -v -V FULL1 BACKUP /RESTAURATIONS-BACULA/
> bextract: butil.c:292-0 Using device: "BACKUP" for reading.
> 13-avril 10:26 bextract JobId 0: Ready to read from volume "FULL1" on File 
> device "BACKUP" (/BKP/bacubak). 
> 
> 
> Can provide more info if needed to help me Bacula 9.6.6.3 with mysql 
> (volume file support) And I just have seen that  bextract is still in
> 9.4.2 version!
> 
> Thanks for reading
> 
> 
> 
> PLASSE Lionel | Administrateur systèmes et réseaux
> 221 Allée de Fétan
> 01600 TREVOUX |
> https://www.google.fr/maps/place/221+Allée+de+Fétan,+016

Re: [Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Lionel PLASSE
oK the 
HardwareEndOfFile:
HardwareEndOfMedium:
BackwardSpaceRecord:
BackwardSpaceFile:
BsfAtEom:
ForwardSpaceRecord:
ForwardSpaceFile:
FastForwardSpaceFile:
BlockPositioning:
BlockChecksum:
UseMtiocGet:

Were  all unmarked on the device configuration.

 I don't know why nor who ( ^^ ) done this ... I willl test with those options 
activated and check if it is better now...




-Message d'origine-
De : Lionel PLASSE  
Envoyé : mercredi 13 avril 2022 17:32
À : bacula-users@lists.sourceforge.net
Cc : Martin Simmons 
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Why my bootstrap file does not figure out  the VolFile and VolBlock directive.?
Why the restore command read now my Volume sequentialy bock afeter block?

 I thought It was possible to position much more faster to the right block 
address on the file volume.
 Maybe I have modified the configuration of my device ressource. 
It's like it must now read block after block to find the good files to restore. 
Or the bootstrop file is not generated properly and some informations are 
missing; 

Something went wrong;

 the volume is a usb disk  with a file volume ...

 



-Message d'origine-
De : Lionel PLASSE 
Envoyé : mercredi 13 avril 2022 14:09
À : Martin Simmons  Cc : 
bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Yes, It's what I thought, because I do the same test with the FULL2 volume, and 
the same appears.

I'm now running a bls -k   since this morning (France) and it's still running 
and now listing the address  367136933614 , 4 hours later, maybe I just need to 
wait the voladdr 1295408902248 , but's so slow !

My bsr for the Full2 I am testing this time

# 05-févr.-2022 07:07:13 - Backup_Serv_dc_01_SYS.2022-02-04_20.30.00_37 - Full 
Volume="FULL2"
MediaType="USB"
VolSessionId=248
VolSessionTime=1642266413
VolAddr=1295408902248-1314271625530
FileIndex=1-192133

Really strange, the backup size is not much more important than before, and  it 
was not so difficult to achieve the voladdress.  

PLASSE Lionel | Administrateur systŠmes et r‚seaux
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 



-Message d'origine-
De : Martin Simmons  Envoyé : mercredi 13 avril 2022 
12:55 À : Lionel PLASSE  Cc : 
bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Maybe it is just running very slowly?

Can you post the bsr file here?

__Martin


>>>>> On Wed, 13 Apr 2022 08:48:35 +, Lionel PLASSE said:
> 
> Hello,
> 
> I was testing my Backup support  (every 3month I test it). And was surprised 
> for one backup job only on the same volume is stuck. 
> I explain, when I restore the other data server all is right. And Every time  
> for one job a can not restore, it blocks on the "Ready to read from volume" 
> message .
> 
> I have a good bsr file. I can list file in the backup job result. But can't 
> read volume for this job.
> 
> So I supress the volume (logicaly and physicaly) recreate it, relabel and 
> redo the full backup job. The same problem appears. 
> The bls command block too.
> Before It was good, and I was happy to test my full restoration of windows 
> 2012R2 c: server ! Why now it blocks?
> 
> Ex:
> 
> bextract  -b /BKP/bacubak/SERV_DC_01-fd-SYS.bsr -c 
> /etc/bacula/bacula-sd.conf -v -V FULL1 BACKUP /RESTAURATIONS-BACULA/
> bextract: butil.c:292-0 Using device: "BACKUP" for reading.
> 13-avril 10:26 bextract JobId 0: Ready to read from volume "FULL1" on File 
> device "BACKUP" (/BKP/bacubak). 
> 
> 
> Can provide more info if needed to help me Bacula 9.6.6.3 with mysql 
> (volume file support) And I just have seen that  bextract is still in
> 9.4.2 version!
> 
> Thanks for reading
> 
> 
> 
> PLASSE Lionel | Administrateur systèmes et réseaux
> 221 Allée de Fétan
> 01600 TREVOUX |
> https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45
> .9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33
> a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2
> !3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!
> 8m2!3d45.9444281!4d4.7578088?hl=fr
> Tel : 04.37.49.91.39
> mailto:pla...@cofiem.fr
> https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/
> 
> 
> 
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

___
Bacula-users mailing list
Bacula-user

Re: [Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Lionel PLASSE
Why my bootstrap file does not figure out  the VolFile and VolBlock directive.?
Why the restore command read now my Volume sequentialy bock afeter block?

 I thought It was possible to position much more faster to the right block 
address on the file volume.
 Maybe I have modified the configuration of my device ressource. 
It's like it must now read block after block to find the good files to restore. 
Or the bootstrop file is not generated properly and some informations are 
missing; 

Something went wrong;

 the volume is a usb disk  with a file volume ...

 



-Message d'origine-
De : Lionel PLASSE  
Envoyé : mercredi 13 avril 2022 14:09
À : Martin Simmons 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Yes, It's what I thought, because I do the same test with the FULL2 volume, and 
the same appears.

I'm now running a bls -k   since this morning (France) and it's still running 
and now listing the address  367136933614 , 4 hours later, maybe I just need to 
wait the voladdr 1295408902248 , but's so slow !

My bsr for the Full2 I am testing this time

# 05-févr.-2022 07:07:13 - Backup_Serv_dc_01_SYS.2022-02-04_20.30.00_37 - Full 
Volume="FULL2"
MediaType="USB"
VolSessionId=248
VolSessionTime=1642266413
VolAddr=1295408902248-1314271625530
FileIndex=1-192133

Really strange, the backup size is not much more important than before, and  it 
was not so difficult to achieve the voladdress.  

PLASSE Lionel | Administrateur systŠmes et r‚seaux
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 



-Message d'origine-
De : Martin Simmons  Envoyé : mercredi 13 avril 2022 
12:55 À : Lionel PLASSE  Cc : 
bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Maybe it is just running very slowly?

Can you post the bsr file here?

__Martin


>>>>> On Wed, 13 Apr 2022 08:48:35 +, Lionel PLASSE said:
> 
> Hello,
> 
> I was testing my Backup support  (every 3month I test it). And was surprised 
> for one backup job only on the same volume is stuck. 
> I explain, when I restore the other data server all is right. And Every time  
> for one job a can not restore, it blocks on the "Ready to read from volume" 
> message .
> 
> I have a good bsr file. I can list file in the backup job result. But can't 
> read volume for this job.
> 
> So I supress the volume (logicaly and physicaly) recreate it, relabel and 
> redo the full backup job. The same problem appears. 
> The bls command block too.
> Before It was good, and I was happy to test my full restoration of windows 
> 2012R2 c: server ! Why now it blocks?
> 
> Ex:
> 
> bextract  -b /BKP/bacubak/SERV_DC_01-fd-SYS.bsr -c 
> /etc/bacula/bacula-sd.conf -v -V FULL1 BACKUP /RESTAURATIONS-BACULA/
> bextract: butil.c:292-0 Using device: "BACKUP" for reading.
> 13-avril 10:26 bextract JobId 0: Ready to read from volume "FULL1" on File 
> device "BACKUP" (/BKP/bacubak). 
> 
> 
> Can provide more info if needed to help me Bacula 9.6.6.3 with mysql 
> (volume file support) And I just have seen that  bextract is still in
> 9.4.2 version!
> 
> Thanks for reading
> 
> 
> 
> PLASSE Lionel | Administrateur systèmes et réseaux
> 221 Allée de Fétan
> 01600 TREVOUX |
> https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45
> .9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33
> a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2
> !3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!
> 8m2!3d45.9444281!4d4.7578088?hl=fr
> Tel : 04.37.49.91.39
> mailto:pla...@cofiem.fr
> https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/
> 
> 
> 
> 
> 
> 
> 
> ___
> 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

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


Re: [Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Lionel PLASSE
Yes, It's what I thought, because I do the same test with the FULL2 volume, and 
the same appears.

I'm now running a bls -k   since this morning (France) and it's still running 
and now listing the address  367136933614 , 4 hours later, maybe I just need to 
wait the voladdr 1295408902248 , but's so slow !

My bsr for the Full2 I am testing this time

# 05-févr.-2022 07:07:13 - Backup_Serv_dc_01_SYS.2022-02-04_20.30.00_37 - Full
Volume="FULL2"
MediaType="USB"
VolSessionId=248
VolSessionTime=1642266413
VolAddr=1295408902248-1314271625530
FileIndex=1-192133

Really strange, the backup size is not much more important than before, and  it 
was not so difficult to achieve the voladdress.  

PLASSE Lionel | Administrateur systŠmes et r‚seaux 
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 



-Message d'origine-
De : Martin Simmons  
Envoyé : mercredi 13 avril 2022 12:55
À : Lionel PLASSE 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restoration stuck with bconsole - bextract or 
baculum wizard

Maybe it is just running very slowly?

Can you post the bsr file here?

__Martin


>>>>> On Wed, 13 Apr 2022 08:48:35 +, Lionel PLASSE said:
> 
> Hello,
> 
> I was testing my Backup support  (every 3month I test it). And was surprised 
> for one backup job only on the same volume is stuck. 
> I explain, when I restore the other data server all is right. And Every time  
> for one job a can not restore, it blocks on the "Ready to read from volume" 
> message .
> 
> I have a good bsr file. I can list file in the backup job result. But can't 
> read volume for this job.
> 
> So I supress the volume (logicaly and physicaly) recreate it, relabel and 
> redo the full backup job. The same problem appears. 
> The bls command block too.
> Before It was good, and I was happy to test my full restoration of windows 
> 2012R2 c: server ! Why now it blocks?
> 
> Ex:
> 
> bextract  -b /BKP/bacubak/SERV_DC_01-fd-SYS.bsr -c 
> /etc/bacula/bacula-sd.conf -v -V FULL1 BACKUP /RESTAURATIONS-BACULA/
> bextract: butil.c:292-0 Using device: "BACKUP" for reading.
> 13-avril 10:26 bextract JobId 0: Ready to read from volume "FULL1" on File 
> device "BACKUP" (/BKP/bacubak). 
> 
> 
> Can provide more info if needed to help me Bacula 9.6.6.3 with mysql 
> (volume file support) And I just have seen that  bextract is still in 
> 9.4.2 version!
> 
> Thanks for reading
> 
> 
> 
> PLASSE Lionel | Administrateur systèmes et réseaux
> 221 Allée de Fétan
> 01600 TREVOUX | 
> https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45
> .9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33
> a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2
> !3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!
> 8m2!3d45.9444281!4d4.7578088?hl=fr
> Tel : 04.37.49.91.39
> mailto:pla...@cofiem.fr
> https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/
> 
> 
> 
> 
> 
> 
> 
> ___
> 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


[Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Lionel PLASSE


Hello,

I was testing my Backup support  (every 3month I test it). And was surprised 
for one backup job only on the same volume is stuck. 
I explain, when I restore the other data server all is right. And Every time  
for one job a can not restore, it blocks on the "Ready to read from volume" 
message .

I have a good bsr file. I can list file in the backup job result. But can't 
read volume for this job.

So I supress the volume (logicaly and physicaly) recreate it, relabel and redo 
the full backup job. The same problem appears. 
The bls command block too.
Before It was good, and I was happy to test my full restoration of windows 
2012R2 c: server ! Why now it blocks?

Ex:

bextract  -b /BKP/bacubak/SERV_DC_01-fd-SYS.bsr -c /etc/bacula/bacula-sd.conf 
-v -V FULL1 BACKUP /RESTAURATIONS-BACULA/
bextract: butil.c:292-0 Using device: "BACKUP" for reading.
13-avril 10:26 bextract JobId 0: Ready to read from volume "FULL1" on File 
device "BACKUP" (/BKP/bacubak). 


Can provide more info if needed to help me
Bacula 9.6.6.3 with mysql (volume file support) 
And I just have seen that  bextract is still in 9.4.2 version! 

Thanks for reading



PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
https://www.google.fr/maps/place/221+Allée+de+Fétan,+01600+Trévoux/@45.9445028,4.7581844,17z/data=!4m13!1m7!3m6!1s0x47f4906e98463259:0x32e33a7755284538!2zMjEyIEFsbMOpZSBkZSBGw6l0YW4sIDAxNjAwIFRyw6l2b3V4!3b1!8m2!3d45.9444281!4d4.7578088!3m4!1s0x47f4906e98463259:0x32e33a7755284538!8m2!3d45.9444281!4d4.7578088?hl=fr
Tel : 04.37.49.91.39
mailto:pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/







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


Re: [Bacula-users] Link Error 11.0.5 on sles

2022-03-10 Thread Lionel PLASSE
Hello,

I'm not sure but it seems to be  about the option --with-bat.

Do you really need the BAT tool? This tool need a graphical environment and qt4 
libraries , doesn't  it?


PLASSE Lionel | Administrateur systèmes et réseaux 
221 Allée de Fétan
01600 TREVOUX | 
Tel : 04.37.49.91.39
pla...@cofiem.fr
https://www.cofiem.fr/ | https://www.cofiem-robotics.fr/

 



De : Mark Casey  
Envoyé : jeudi 10 mars 2022 03:25
À : Bacula List 
Objet : [Bacula-users] Link Error 11.0.5 on sles

Hi All

I am trying to upgrade to 11.0.5 from 9.6.4 on a SLES 12.4 system.
Getting the following link error
What am I missing ?

My configure settings are 
PREFIX=/opt/bacula
PREFIXRUN=/var/run/bacula
CFLAGS="-g " \
  ./configure \
--sbindir=${PREFIX}/bin \
--sysconfdir=${PREFIX}/etc \
--with-scriptdir=${PREFIX}/bin \
--docdir=${PREFIX}/html \
--htmldir=${PREFIX}/html \
--with-pid-dir=${PREFIXRUN} \
--with-working-dir=${PREFIXRUN} \
--with-plugindir=${PREFIX}/plugins \
--libdir=${PREFIX}/lib \
--with-subsys-dir=${PREFIXRUN}/subsys \
--enable-smartalloc \
--disable-ipv6 \
--enable-bat \
--with-mysql \
mailto:--with-dump-email=mca...@pegasustech.com.au \
mailto:--with-job-email=mca...@pegasustech.com.au \
mailto:--with-job-email=mca...@pegasustech.com.au \
--with-smtp-host=10.242.1.32 \
--with-baseport=9101


make[1]: Leaving directory '/root/bacula/src/filed'
==>Entering directory /root/bacula/src/qt-console
make[1]: Entering directory '/root/bacula/src/qt-console'
/root/bacula/libtool --silent --tag=CXX --mode=link g++  -o bat obj/main.o 
obj/bat_conf.o obj/mainwin.o obj/qstd.o obj/pages.o obj/authenticatebase.o 
obj/dircomm.o obj/dircomm_auth.o obj/console.o obj/prerestore.o obj/restore.o 
obj/brestore.o obj/label.o obj/relabel.o obj/mount.o obj/run.o obj/runcmd.o 
obj/estimate.o obj/prune.o obj/select.o obj/textinput.o obj/medialist.o 
obj/mediaview.o obj/mediaedit.o obj/joblist.o obj/clients.o obj/storage.o 
obj/content.o obj/fileset.o obj/joblog.o obj/job.o obj/jobs.o obj/restoretree.o 
obj/help.o obj/mediainfo.o obj/dirstat.o obj/clientstat.o obj/storstat.o 
obj/fmtwidgetitem.o obj/comboutil.o obj/moc_mainwin.o obj/moc_dircomm.o 
obj/moc_console.o obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o 
obj/moc_mount.o obj/moc_run.o obj/moc_select.o obj/moc_textinput.o 
obj/moc_medialist.o obj/moc_mediaview.o obj/moc_mediaedit.o obj/moc_joblist.o 
obj/moc_clients.o obj/moc_storage.o obj/moc_content.o obj/moc_fileset.o 
obj/moc_joblog.o obj/moc_job.o obj/moc_jobs.o obj/moc_restoretree.o 
obj/moc_help.o obj/moc_mediainfo.o obj/moc_dirstat.o obj/moc_clientstat.o 
obj/moc_storstat.o obj/qrc_main.o-L/usr/lib64 -L../lib -lbaccfg -lbac 
-L../findlib -lbacfind -lssl -lcrypto -lQtGui -L/usr/lib64 -L/usr/X11R6/lib 
-lQtCore -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/main.o: in function `main':
/root/bacula/src/qt-console/main.cpp:94: undefined reference to 
`lmgr_init_thread()'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/bat_conf.o: in function `free_resource(RES*, int)':
/root/bacula/src/qt-console/bat_conf.cpp:196: undefined reference to 
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
/root/bacula/src/qt-console/bat_conf.cpp:219: undefined reference to 
`free_psk_context(TLS_Context*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function `AuthenticateBase::ClientEarlyTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:377: undefined reference 
to `scan_string(char const*, char const*, ...)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function 
`AuthenticateBase::ClientCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:404: undefined reference 
to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function 
`AuthenticateBase::ServerCramMD5Authenticate(char const*)':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:496: undefined reference 
to `cram_md5_respond(BSOCK*, char const*, int*, int*, bool)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
obj/authenticatebase.o: in function `AuthenticateBase::HandleTLS()':
/root/bacula/src/qt-console/../lib/authenticatebase.cc:564: undefined reference 
to `bnet_tls_client(TLS_Context*, BSOCK*, alist*, char const*)'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
/root/bacula/src/qt-console/../lib/authenticatebase.cc:565: undefined reference 
to 

Re: [Bacula-users] upgrade from 9.4.2 to 11.0.5

2022-01-27 Thread Lionel PLASSE

Ok, 

Thanks a lot,
You seem to say myslq tables can be upgraded from 9.4 to 11 directly ? 

You're right it's Debian buster (I've written Debian 11 but  it is Debian 10 
and ugrade to Bacula 11 :-) )

Sad there is no deb binaries in repositories

Have a nice day ,
Lionel PLASSE

 

De : Wanderlei Huttel  Envoyé : mercredi 26 janvier 
2022 19:59 À : Lionel PLASSE  Objet : Re: [Bacula-users] 
upgrade from 9.4.2 to 11.0.5

Hello Lionel!

Is not difficult to upgrade, but you need to do some steps for precaucion.
The text is in Brazilian Portuguese, but you can use google translate.
https://github.com/wanderleihuttel/bacula-utils/blob/master/tutorial/upgrade_bacula.md

Tutorial how to install by source:
https://github.com/wanderleihuttel/bacula-utils/blob/master/tutorial/bacula_install_debian10.txt


Best regards

Wanderlei Hüttel



Em qua., 26 de jan. de 2022 às 07:30, Lionel PLASSE <mailto:pla...@cofiem.fr> 
escreveu:
Hello,

Simple question,

On Debian 11, for an upgrade from v9.4.2 mysql + baculum to v11, is there any 
difficulties to do it from sources. I always waited  to the Debian repository 
version and they still are on 9.4.2... Should I upgrade to 9.6 before? 

has anybody already do it right? 

I think I must upgrade the fd client on windows systems too?



___
Bacula-users mailing list
mailto: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


[Bacula-users] upgrade from 9.4.2 to 11.0.5

2022-01-26 Thread Lionel PLASSE
Hello,

Simple question,

On Debian 11, for an upgrade from v9.4.2 mysql + baculum to v11, is there any 
difficulties to do it from sources. I always waited  to the Debian repository 
version and they still are on 9.4.2... Should I upgrade to 9.6 before? 

has anybody already do it right? 

I think I must upgrade the fd client on windows systems too?



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


Re: [Bacula-users] Virtual tapes or virtual disks

2022-01-25 Thread Lionel PLASSE
Yes, one volume, one disk, plus all the Bacula conf files and the bootstrap bsr 
file


PLASSE Lionel | Administrateur systŠmes et r‚seaux 
221 All‚e de F‚tan
01600 TREVOUX | Plan d'accŠs
Tel : 04.37.49.91.39
pla...@cofiem.fr
www.cofiem.fr | www.cofiem-robotics.fr

 



-Message d'origine-
De : Josh Fisher  
Envoyé : mardi 25 janvier 2022 15:10
À : Lionel PLASSE ; bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Virtual tapes or virtual disks


On 1/25/22 03:31, Lionel PLASSE wrote:
> I’ve made a rotation system like this
>
>   With one Bacula storage “backup” corresponding one Bacula device 
> “Backup”<=> root directory /pool-bacula/  automounted by udev.
> And 3 pool full, diff, incr attached to this device
>
> I have 8 usb disk xfs formatted with a xfs label “Bacula” (better than 
> uuid to configure udev rules) so udev can mount it automatically when 
> plugged to the Debian system. I don't use Bacula for usb disk mounting 
> task
>
> On each disk I label one volume:
>   3 for each 3 month full rotation volumes , Four for each 4 weeks 
> diff rotation one for the daily incremental auto purged each week


To be clear, you are using only a single volume per USB disk?


>
>   By configuring the good retention period between week days and month  and 
> by adding the correct number on jobs volume  on each one, you can easily 
> configure a schedule with 3 steps ,
> one for full attached to full pool on each first Wednesday a month  for 
> example,
>   one for diff attached to diff pool each week from 2nd Wednesday to 5th 
> Wednesday
> and the third for incremental each day from Monday to Thursday.
>
> By this schedule you can keep a great number of backups so  each day you can 
> restore the previous until the Monday with  incremental backups, each week 
> kept by the differental backups and the 3 full montly too.
>
> De : Radosław Korzeniewski 
> Envoyé : dimanche 23 janvier 2022 11:37
> À : Peter Milesson 
> Cc : bacula-users@lists.sourceforge.net
> Objet : Re: [Bacula-users] Virtual tapes or virtual disks
>
> Hello,
>
> pt., 21 sty 2022 o 14:22 Peter Milesson via Bacula-users 
> <mailto:bacula-users@lists.sourceforge.net> napisał(a):
> If somebody has got experience with disk based, multi volume Bacula
> backup, I would be grateful about some information (tips, what to
> expect, pitfalls, etc.).
>
> The best IMVHO (but not the only mine) is to configure one job = one volume. 
> You will get no real benefit to limit the size of a single volume.
> In the single volume = single job configuration you can set up job retention 
> very easily as purging a volume will purge a single job only.
> It is not required to "wait" a particular volume to fill up to start 
> retention. Purging a volume affects a single job only. And finally you end up 
> with a way less number of volumes then when limiting its size to i.e. 10G.
>
> best regards
> --
> Radosław Korzeniewski
> mailto:rados...@korzeniewski.net
>
> ___
> 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] Virtual tapes or virtual disks

2022-01-25 Thread Lionel PLASSE
I’ve made a rotation system like this 

 With one Bacula storage “backup” corresponding one Bacula device “Backup”<=> 
root directory /pool-bacula/  automounted by udev. 
And 3 pool full, diff, incr attached to this device

I have 8 usb disk xfs formatted with a xfs label “Bacula” (better than uuid to 
configure udev rules) so udev can mount it automatically when plugged to the 
Debian system. I don't use Bacula for usb disk mounting task

On each disk I label one volume:
 3 for each 3 month full rotation volumes ,
Four for each 4 weeks diff rotation 
one for the daily incremental auto purged each week

 By configuring the good retention period between week days and month  and by 
adding the correct number on jobs volume  on each one, you can easily configure 
a schedule with 3 steps ,
one for full attached to full pool on each first Wednesday a month  for example,
 one for diff attached to diff pool each week from 2nd Wednesday to 5th 
Wednesday 
and the third for incremental each day from Monday to Thursday. 

By this schedule you can keep a great number of backups so  each day you can 
restore the previous until the Monday with  incremental backups, each week kept 
by the differental backups and the 3 full montly too.

De : Radosław Korzeniewski  
Envoyé : dimanche 23 janvier 2022 11:37
À : Peter Milesson 
Cc : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Virtual tapes or virtual disks

Hello,

pt., 21 sty 2022 o 14:22 Peter Milesson via Bacula-users 
 napisał(a):
If somebody has got experience with disk based, multi volume Bacula 
backup, I would be grateful about some information (tips, what to 
expect, pitfalls, etc.).

The best IMVHO (but not the only mine) is to configure one job = one volume. 
You will get no real benefit to limit the size of a single volume.
In the single volume = single job configuration you can set up job retention 
very easily as purging a volume will purge a single job only.
It is not required to "wait" a particular volume to fill up to start retention. 
Purging a volume affects a single job only. And finally you end up with a way 
less number of volumes then when limiting its size to i.e. 10G.

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

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


Re: [Bacula-users] windows AD & NTFS acls restore

2022-01-14 Thread Lionel PLASSE
Ok sorry,
Bad question , 

As  the main  documentation mention all of the supported filesystem for acls 
backup :NTFS  is not specified to work in the docs, I haven't seen.

So, by making a like windows batch script for it, before the backup job  works 
fine.

Closing thread


-Message d'origine-
De : Lionel PLASSE [mailto:pla...@cofiem.fr] 
Envoyé : vendredi 24 décembre 2021 11:15
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] windows AD & NTFS acls restore

Hello,

For backup/restoration of windows systems.

Is it possible to backup all ACLS for the NTFS partitions. I activated 
ACLSupport & XattrSupport in FileSets but when restoring I only have Everybody 
Full Control for all files and directory. ?
What is the correct manner for backing up ntfs acls infos? It is really a 
problem for disaster restoring a windows server domain controller. 
I achieve it (for test) and recreate the UEFI Bootloader manually   but the c:\ 
system files don't have the correct permissions. 
It could be great if it were possible 








___
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] Restore experience report

2022-01-14 Thread Lionel PLASSE
Finally, 

I disabled compression
 and cause I do a "to  File media"  backup (not tape media), I unmarked  the 
"spool data" and "spool attributes" options.

 And most of all,  I specified a working directory  for data spooling cause I 
was always at 100% of /var directory space in use for spooling VSS datas it was 
like pulling the hand break every 9GB  during a spooled job session 
 
-----Message d'origine-
De : Lionel PLASSE [mailto:pla...@cofiem.fr] 
Envoyé : vendredi 24 décembre 2021 09:05
À : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Restore experience report

Hi,

Ok thanks for this. 

I will try some different settings. Maybe I'll send back my conclusions for the 
tests. 

And if any advises more, I gladly take them ...

Best regards
Lionel

---

De : Graham Sparks  
Envoyé : jeudi 23 décembre 2021 18:29
À : bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Hi.

The backup speed seems reasonable, and the Bacula manual states that restores 
can reasonably be as much as one-third of the speed of the equivalent backup 
(https://www.bacula.org/11.0.x-manuals/en/main/Restore_Command.html#SECTION002890).
  I notice also that you are restoring to an NTFS partition. I'm restoring to 
XFS or ext4, so I'm not sure if the filesystem NTFS is causing the slower 
restore.

I also notice that you have a lot of files for only 32GB-- ~200,000 files.  I'd 
probably call these "small" files.  The smaller the files, the more noticeable 
file creation and attribute application 'slow-down' will be during the restore 
process.

As far as I know, "Comm Line" compression should be enabled by default, and is 
only reported to be "None" if the files are already well-compressed.
Another option that might help, but that should also be enabled by default, is 
the "SpoolAttributes = yes" Job directive.

I'm sorry, but I've run out of suggestions at this point.  Hopefully someone 
with more experience of troubleshooting transfer speeds in Bacula might have 
something more concrete to offer.

I'm hoping to update to a USB3 HDD dock, so I'll be keeping an eye on transfer 
speeds to see what difference this makes.

-- 
Graham


From: Lionel PLASSE <mailto:pla...@cofiem.fr>
Sent: 23 December 2021 15:28
To: Graham Sparks <mailto:g...@hotmail.co.uk>; 
mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Subject: RE: Restore experience report 
 
Thanks

Yes it's on a blue usb port. 

I expected too those kind of speed.



I can reach 69614.5 KB/s for a Full backup job for this client (620.6 GB)  and 
3253.3 KB/s  for an other.


And I just see that the difference is only there  is no software compression 
for the first and 53% for the second. I will look after the compression 
settings for the jobs.

And anthor fact is that  my backup job are made 3 by 3. So  Does the concurent 
job affect the performance with perhaps non sequentiel data on the volume ? 

I keep  sudying the question  first with compression  settings 


--

De : Graham Sparks <mailto:g...@hotmail.co.uk> 
Envoyé : jeudi 23 décembre 2021 16:02
À : mailto:bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Thanks for the info.  What sort of backup transfer rates are you getting (from 
your clients to the USB-3 backup disk)?

I back up over a 1Gb/s network to a USB2.0 device and get 42MB/s backup. I also 
get 25MB/s restore (restoring from USB2.0 to a directly-connected SSD), so I'd 
expect better for USB-3 without a network bottleneck (perhaps 

Forgive me if it's a silly question, but is the USB-3 drive definitely 
connected to a USB-3 (blue, or "SS"-labelled) USB port?

Picking some very (very) arbitrary figures, I'd expect your results to be 
around 100MB/s backup and 50MB/s restore according to the set-up you describe.

-- 
Graham


From: Lionel PLASSE
Sent: 23 December 2021 13:53
To: mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Cc: Graham Sparks <mailto:g...@hotmail.co.uk>
Subject: RE: Restore experience report 
 
Yes you're right, i explain the situation 

The targeted disk for restauration is  a SATA-II directly  connected to the 
mother board with a SATA cable nor USB nor RAID but directly  to the SATA 
controller, it's a small  extension to the front of the computer. 

The backup media volumes  are usb disk volume   and  stored  on USB-3  disks .
This  USB disk (XFS formatted)  contains  the volume file and all bsr and 
backup of bacula conf .  It is automatically mounted by linux when plugged on 
the storage dir .  
One USB disk file with one media volume file.
All my dayly jobs (9jobs for 9 clients) are run on the volume every day :  
Incr

[Bacula-users] windows AD & NTFS acls restore

2021-12-24 Thread Lionel PLASSE
Hello,

For backup/restoration of windows systems.

Is it possible to backup all ACLS for the NTFS partitions. I activated 
ACLSupport & XattrSupport in FileSets but when restoring I only have Everybody 
Full Control for all files and directory. ?
What is the correct manner for backing up ntfs acls infos? It is really a 
problem for disaster restoring a windows server domain controller. 
I achieve it (for test) and recreate the UEFI Bootloader manually   but the c:\ 
system files don't have the correct permissions. 
It could be great if it were possible 








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


Re: [Bacula-users] Restore experience report

2021-12-24 Thread Lionel PLASSE
Hi,

Ok thanks for this. 

I will try some different settings. Maybe I'll send back my conclusions for the 
tests. 

And if any advises more, I gladly take them ...

Best regards
Lionel

---

De : Graham Sparks  
Envoyé : jeudi 23 décembre 2021 18:29
À : bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Hi.

The backup speed seems reasonable, and the Bacula manual states that restores 
can reasonably be as much as one-third of the speed of the equivalent backup 
(https://www.bacula.org/11.0.x-manuals/en/main/Restore_Command.html#SECTION002890).
  I notice also that you are restoring to an NTFS partition. I'm restoring to 
XFS or ext4, so I'm not sure if the filesystem NTFS is causing the slower 
restore.

I also notice that you have a lot of files for only 32GB-- ~200,000 files.  I'd 
probably call these "small" files.  The smaller the files, the more noticeable 
file creation and attribute application 'slow-down' will be during the restore 
process.

As far as I know, "Comm Line" compression should be enabled by default, and is 
only reported to be "None" if the files are already well-compressed.
Another option that might help, but that should also be enabled by default, is 
the "SpoolAttributes = yes" Job directive.

I'm sorry, but I've run out of suggestions at this point.  Hopefully someone 
with more experience of troubleshooting transfer speeds in Bacula might have 
something more concrete to offer.

I'm hoping to update to a USB3 HDD dock, so I'll be keeping an eye on transfer 
speeds to see what difference this makes.

-- 
Graham

________
From: Lionel PLASSE <mailto:pla...@cofiem.fr>
Sent: 23 December 2021 15:28
To: Graham Sparks <mailto:g...@hotmail.co.uk>; 
mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Subject: RE: Restore experience report 
 
Thanks

Yes it's on a blue usb port. 

I expected too those kind of speed.



I can reach 69614.5 KB/s for a Full backup job for this client (620.6 GB)  and 
3253.3 KB/s  for an other.


And I just see that the difference is only there  is no software compression 
for the first and 53% for the second. I will look after the compression 
settings for the jobs.

And anthor fact is that  my backup job are made 3 by 3. So  Does the concurent 
job affect the performance with perhaps non sequentiel data on the volume ? 

I keep  sudying the question  first with compression  settings 


--

De : Graham Sparks <mailto:g...@hotmail.co.uk> 
Envoyé : jeudi 23 décembre 2021 16:02
À : mailto:bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Thanks for the info.  What sort of backup transfer rates are you getting (from 
your clients to the USB-3 backup disk)?

I back up over a 1Gb/s network to a USB2.0 device and get 42MB/s backup. I also 
get 25MB/s restore (restoring from USB2.0 to a directly-connected SSD), so I'd 
expect better for USB-3 without a network bottleneck (perhaps 

Forgive me if it's a silly question, but is the USB-3 drive definitely 
connected to a USB-3 (blue, or "SS"-labelled) USB port?

Picking some very (very) arbitrary figures, I'd expect your results to be 
around 100MB/s backup and 50MB/s restore according to the set-up you describe.

-- 
Graham


From: Lionel PLASSE
Sent: 23 December 2021 13:53
To: mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Cc: Graham Sparks <mailto:g...@hotmail.co.uk>
Subject: RE: Restore experience report 
 
Yes you're right, i explain the situation 

The targeted disk for restauration is  a SATA-II directly  connected to the 
mother board with a SATA cable nor USB nor RAID but directly  to the SATA 
controller, it's a small  extension to the front of the computer. 

The backup media volumes  are usb disk volume   and  stored  on USB-3  disks .
This  USB disk (XFS formatted)  contains  the volume file and all bsr and 
backup of bacula conf .  It is automatically mounted by linux when plugged on 
the storage dir .  
One USB disk file with one media volume file.
All my dayly jobs (9jobs for 9 clients) are run on the volume every day :  
Incremental from Mon to Thu and Differental the Friday and each first Friday it 
is a Full instead of Diff  

Bacula-dir sd fd and mariadb are on the same server
I restore on the same machine from the USB volumes to the hotplugged SATA disk. 
 

I  thought that because of  all the restauration process has been made on the 
same server it will be faster ... 







--

De : Graham Sparks <mailto:g...@hotmail.co.uk> 
Envoyé : jeudi 23 décembre 2021 14:00
À : mailto:bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Hi,

I think a little more info is needed to narrow down whether 

Re: [Bacula-users] Restore experience report

2021-12-23 Thread Lionel PLASSE
Thanks

Yes it's on a blue usb port. 

I expected too those kind of speed.



I can reach 69614.5 KB/s for a Full backup job for this client (620.6 GB)  and 
3253.3 KB/s  for an other.


And I just see that the difference is only there  is no software compression 
for the first and 53% for the second. I will look after the compression 
settings for the jobs.

And anthor fact is that  my backup job are made 3 by 3. So  Does the concurent 
job affect the performance with perhaps non sequentiel data on the volume ? 

I keep  sudying the question  first with compression  settings 


--

De : Graham Sparks  
Envoyé : jeudi 23 décembre 2021 16:02
À : bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Thanks for the info.  What sort of backup transfer rates are you getting (from 
your clients to the USB-3 backup disk)?

I back up over a 1Gb/s network to a USB2.0 device and get 42MB/s backup. I also 
get 25MB/s restore (restoring from USB2.0 to a directly-connected SSD), so I'd 
expect better for USB-3 without a network bottleneck (perhaps 

Forgive me if it's a silly question, but is the USB-3 drive definitely 
connected to a USB-3 (blue, or "SS"-labelled) USB port?

Picking some very (very) arbitrary figures, I'd expect your results to be 
around 100MB/s backup and 50MB/s restore according to the set-up you describe.

-- 
Graham

____
From: Lionel PLASSE
Sent: 23 December 2021 13:53
To: mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Cc: Graham Sparks <mailto:g...@hotmail.co.uk>
Subject: RE: Restore experience report 
 
Yes you're right, i explain the situation 

The targeted disk for restauration is  a SATA-II directly  connected to the 
mother board with a SATA cable nor USB nor RAID but directly  to the SATA 
controller, it's a small  extension to the front of the computer. 

The backup media volumes  are usb disk volume   and  stored  on USB-3  disks .
This  USB disk (XFS formatted)  contains  the volume file and all bsr and 
backup of bacula conf .  It is automatically mounted by linux when plugged on 
the storage dir .  
One USB disk file with one media volume file.
All my dayly jobs (9jobs for 9 clients) are run on the volume every day :  
Incremental from Mon to Thu and Differental the Friday and each first Friday it 
is a Full instead of Diff  

Bacula-dir sd fd and mariadb are on the same server
I restore on the same machine from the USB volumes to the hotplugged SATA disk. 
 

I  thought that because of  all the restauration process has been made on the 
same server it will be faster ... 







--

De : Graham Sparks <mailto:g...@hotmail.co.uk> 
Envoyé : jeudi 23 décembre 2021 14:00
À : mailto:bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Hi,

I think a little more info is needed to narrow down whether or not these 
restore transfer figures are slow in this particular case.

How is the hotplug SATA-II restore disk connected (RAID controller, or USB), 
and is it connected to the bacula server directly, or through a client?
Also, where/how is the backup data stored?

-- 
Graham


________
From: Lionel PLASSE
Sent: 23 December 2021 09:35
To: mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Restore experience report 
 
Hello,

I just post my full restore experience for performance studying purpose.

I use Bacula 9.6.6.3 & - 10.3.30-MariaDB  on  a Debian 11 buster x64 i5-2320 
3Ghz CPU - 32GB ram  

For the 1st restoration (by baculum wizard  interface) FULL on Western Digital 
Blue 500Gb (DOS partition table and  NTFS partition) : 

Where:  /srv
  Replace:    Never
  Start time: 22-déc.-2021 09:19:43
  End time:   22-déc.-2021 12:04:47
  Elapsed time:   2 hours 45 mins 4 secs
  Files Expected: 202,006
  Files Restored: 202,027
  Bytes Restored: 32,650,343,324 (32.65 GB)
  Rate:   3296.7 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:    Restore OK

~2h25 of restoration cause there was 3 volumes in use for restoration 
(FULL/DIFF) and I didn't noticed the request of changing volume.

The rate is a bit slow I think. (max rate was 5 MB/s)

I'm performing now an other full resto with a greater size of restoration on a 
4TB Westerndigital  Violet (GPT  & NTFS  partition)
The rate is curently 10.62 MB/s

Feed back the result this afternoon (I hope)

What do you think of the performance, is it possible to do better  ? knowing 
that the restored  disk   is on a hotplug SATA II interface. 




___
Bacula-users mailing list
mailto:Bacula-users@lists.sourceforge.net
https://lists.s

Re: [Bacula-users] Restore experience report

2021-12-23 Thread Lionel PLASSE
Yes you're right, i explain the situation 

The targeted disk for restauration is  a SATA-II directly  connected to the 
mother board with a SATA cable nor USB nor RAID but directly  to the SATA 
controller, it's a small  extension to the front of the computer. 

The backup media volumes  are usb disk volume   and  stored  on USB-3  disks .
This  USB disk (XFS formatted)  contains  the volume file and all bsr and 
backup of bacula conf .  It is automatically mounted by linux when plugged on 
the storage dir .  
One USB disk file with one media volume file.
All my dayly jobs (9jobs for 9 clients) are run on the volume every day :  
Incremental from Mon to Thu and Differental the Friday and each first Friday it 
is a Full instead of Diff  

Bacula-dir sd fd and mariadb are on the same server
I restore on the same machine from the USB volumes to the hotplugged SATA disk. 
 

I  thought that because of  all the restauration process has been made on the 
same server it will be faster ... 







--

De : Graham Sparks  
Envoyé : jeudi 23 décembre 2021 14:00
À : bacula-users@lists.sourceforge.net
Objet : Re: Restore experience report

Hi,

I think a little more info is needed to narrow down whether or not these 
restore transfer figures are slow in this particular case.

How is the hotplug SATA-II restore disk connected (RAID controller, or USB), 
and is it connected to the bacula server directly, or through a client?
Also, where/how is the backup data stored?

-- 
Graham



From: Lionel PLASSE
Sent: 23 December 2021 09:35
To: mailto:bacula-users@lists.sourceforge.net 
<mailto:bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Restore experience report 
 
Hello,

I just post my full restore experience for performance studying purpose.

I use Bacula 9.6.6.3 & - 10.3.30-MariaDB  on  a Debian 11 buster x64 i5-2320 
3Ghz CPU - 32GB ram  

For the 1st restoration (by baculum wizard  interface) FULL on Western Digital 
Blue 500Gb (DOS partition table and  NTFS partition) : 

Where:  /srv
  Replace:    Never
  Start time: 22-déc.-2021 09:19:43
  End time:   22-déc.-2021 12:04:47
  Elapsed time:   2 hours 45 mins 4 secs
  Files Expected: 202,006
  Files Restored: 202,027
  Bytes Restored: 32,650,343,324 (32.65 GB)
  Rate:   3296.7 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:    Restore OK

~2h25 of restoration cause there was 3 volumes in use for restoration 
(FULL/DIFF) and I didn't noticed the request of changing volume.

The rate is a bit slow I think. (max rate was 5 MB/s)

I'm performing now an other full resto with a greater size of restoration on a 
4TB Westerndigital  Violet (GPT  & NTFS  partition)
The rate is curently 10.62 MB/s

Feed back the result this afternoon (I hope)

What do you think of the performance, is it possible to do better  ? knowing 
that the restored  disk   is on a hotplug SATA II interface. 




___
Bacula-users mailing list
mailto: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-fr] Incremental backup et interruption faute de LTO

2021-12-23 Thread Lionel PLASSE
Bonjour,

Je viens de voire le message en m'inscrivant , j'utilise bacula depuis a peine 
2 années sans grands soucis. 

Ce qui me choque dans votre post  c'est que vous avez une stratégie de rotation 
de bande uniquement basée sur de l'incrémentiel? Cela maximise le nombre de LTO 
à l'infini.

Il existe des schémas de rotation de sauvegarde performant et qui minimiserais 
le nombre de LTO.  (Ex INCR day / DIFF Weekly / FULL Montly)
Ainsi toutes les semaines les INCR peuvent être purgés et tous les mois 
l'ensemble INCR et DIFF. 
Il suffit de bloquer les jobs sur 3 mois pour les full pour n'avoir que 3 LTO 
FULL 5 LTO DIFF et 5 LTO INCR pour avoir une persistance de 3 mois des 
sauvegardes (pour faire vite.) 

L'incrémentiel marque dans la base de données les fichiers backés du job. Donc 
la suivante incrémentielle, même s'elle était en attente, ne sauvegardera que 
les nouveaux fichiers depuis le dernier incrémentiel donc rien si elle est 
relancée juste après (sauf erreur de ma part bacula demande d'abord le volume 
et fait ensuite la liste des fichiers à backer) . 

Je pense que vous avez plutôt intérêt à jouer sur les périodes de rétentions 
des job et de configurer un auto purge en fonction d'un schéma de rotation 
minimisant un nombre de LTO.
Faire de l'incrémentiel tous les jours complique le travail de restauration 
puisqu'il faudra passé en revue toutes les LTO pour obtenir un FULL resto

Votre solution est peut-être  déjà trouvée. 
Mais le mailing fr n'est pas très vivant alors si ça peut donner du grain à 
moudre



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


[Bacula-users] Restore experience report

2021-12-23 Thread Lionel PLASSE
Hello,

I just post my full restore experience for performance studying purpose.

I use Bacula 9.6.6.3 & - 10.3.30-MariaDB  on  a Debian 11 buster x64 i5-2320 
3Ghz CPU - 32GB ram  

For the 1st restoration (by baculum wizard  interface) FULL on Western Digital 
Blue 500Gb (DOS partition table and  NTFS partition) : 

Where:  /srv
  Replace:    Never
  Start time: 22-déc.-2021 09:19:43
  End time:   22-déc.-2021 12:04:47
  Elapsed time:   2 hours 45 mins 4 secs
  Files Expected: 202,006
  Files Restored: 202,027
  Bytes Restored: 32,650,343,324 (32.65 GB)
  Rate:   3296.7 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:    Restore OK

~2h25 of restoration cause there was 3 volumes in use for restoration 
(FULL/DIFF) and I didn't noticed the request of changing volume.

The rate is a bit slow I think. (max rate was 5 MB/s)

I'm performing now an other full resto with a greater size of restoration on a 
4TB Westerndigital  Violet (GPT  & NTFS  partition)
The rate is curently 10.62 MB/s

Feed back the result this afternoon (I hope)

What do you think of the performance, is it possible to do better  ? knowing 
that the restored  disk   is on a hotplug SATA II interface. 




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


Re: [Bacula-users] [bacula-users]baculum fileset modification

2020-12-09 Thread Lionel PLASSE
Yeah great thanks, I configured with bacula-dir sd & fd unless bdirjson & 
others. 

A mistake wich make the difference !! 

Thanks for all


-Message d'origine-
De : Marcin Haba [mailto:ganius...@gmail.com] 
Envoyé : mardi 8 décembre 2020 19:04
À : Lionel PLASSE
Cc : Bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] [bacula-users]baculum fileset modification

Hello Lionel,

It looks that in fields to define the Bacula JSON tools you typed
paths to Bacula components (Director, SD, FD and bconsole). The fourth
step of the API wizard supports paths for the following Bacula
binaries:

 - bdirjson
 - bsdjson
 - bfdjson
 - bbconsjson

In the API wizard you need to provide paths to them.

Best regards,
Marcin Haba (gani)

On Tue, 8 Dec 2020 at 09:21, Lionel PLASSE  wrote:
>
> Yeah you right , but it was good for this  (I think),
>
> But when I look to API host configuration (via  baculum web Interface : 
> configuration menu ). I got this:
>
> Host: Main  IP Address/Hostname: localhost  Port: 9096
> stdClass Object ( [output] => Array ( [0] => stdClass Object ( 
> [component_type] => dir [component_name] => [state] => [error_msg] => JSON 
> tool returned wrong exitcode. Output:/usr/sbin/bacula-dir: invalid option -- 
> 'l' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) 
> Usage: bacula-dir [-f -s] [-c config_file] [-d debug_level] [config_file] -c 
> set configuration file to file -d [,] set debug level to , debug tags to -dt 
> print timestamp in debug output -T set trace on -f run in foreground (for 
> debugging) -g groupid -m print kaboom output (for debugging) -r run now -P do 
> not create pid file -s no signals -t test - read configuration and exit -u 
> userid -v verbose user messages -? print this message. ) [1] => stdClass 
> Object ( [component_type] => sd [component_name] => [state] => [error_msg] => 
> JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-sd: invalid option 
> -- 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 
> 2019) Usage: bacula-sd [options] [-c config_file] [config_file] -c use as 
> configuration file -d [,] set debug level to , debug tags to -dt print 
> timestamp in debug output -T set trace on -f run in foreground (for 
> debugging) -g set groupid to group -m print kaboom output (for debugging) -p 
> proceed despite I/O errors -P do not create pid file -s no signals (for 
> debugging) -t test - read config and exit -u userid to -v verbose user 
> messages -? print this message. ) [2] => stdClass Object ( [component_type] 
> => fd [component_name] => [state] => [error_msg] => JSON tool returned wrong 
> exitcode. Output:/usr/sbin/bacula-fd: invalid option -- 'r' Copyright (C) 
> 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-fd 
> [-f -s] [-c config_file] [-d debug_level] -c use as configuration file -d [,] 
> set debug level to , debug tags to -dt print a timestamp in debug output -f 
> run in foreground (for debugging) -g groupid -k keep readall capabilities -m 
> print kaboom output (for debugging) -P do not create pid file -s no signals 
> (for debugging) -t test configuration file and exit -T set trace on -u userid 
> -v verbose user messages -? print this message. ) [3] => stdClass Object ( 
> [component_type] => bcons [component_name] => [state] => [error_msg] => JSON 
> tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid option -- 
> 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) 
> x86_64-pc-linux-gnu debian 10.5 Usage: bconsole [-s] [-c config_file] [-d 
> debug_level] -D
>
> select a Director -l list Directors defined -L list Consoles defined -C 
> select a console -c set configuration file to file -d set debug level to -dt 
> print timestamp in debug output -n no conio -s no signals -u set command 
> execution timeout to seconds -t test - read configuration and exit -? print 
> this message. ) ) [error] => 92 )
>
>
> these are suspicious :
>
> => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-dir: invalid 
> option -- 'l'
> => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-sd: invalid 
> option -- 'r'
> => JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-fd: invalid 
> option -- 'r'
> => JSON tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid 
> option -- 'r'
>
>
>
>
> -Message d'origine-
> De : Marcin Haba [mailto:ganius...@gmail.com]
> Envoyé : mardi 8 décembre 2020 06:37
> À : Lionel PLASSE
> Cc : Bacula-users@lists.sourceforge.net
> Objet : Re: [Bacula-users] [bacula-users]baculum fileset modification
>
> Hello Lionel,
>
> To be able to configure Bacula via Bacul

Re: [Bacula-users] [bacula-users]baculum fileset modification

2020-12-08 Thread Lionel PLASSE
Yeah you right , but it was good for this  (I think),   

But when I look to API host configuration (via  baculum web Interface : 
configuration menu ). I got this: 

Host: Main  IP Address/Hostname: localhost  Port: 9096  
stdClass Object ( [output] => Array ( [0] => stdClass Object ( [component_type] 
=> dir [component_name] => [state] => [error_msg] => JSON tool returned wrong 
exitcode. Output:/usr/sbin/bacula-dir: invalid option -- 'l' Copyright (C) 
2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-dir [-f 
-s] [-c config_file] [-d debug_level] [config_file] -c set configuration file 
to file -d [,] set debug level to , debug tags to -dt print timestamp in debug 
output -T set trace on -f run in foreground (for debugging) -g groupid -m print 
kaboom output (for debugging) -r run now -P do not create pid file -s no 
signals -t test - read configuration and exit -u userid -v verbose user 
messages -? print this message. ) [1] => stdClass Object ( [component_type] => 
sd [component_name] => [state] => [error_msg] => JSON tool returned wrong 
exitcode. Output:/usr/sbin/bacula-sd: invalid option -- 'r' Copyright (C) 
2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: bacula-sd 
[options] [-c config_file] [config_file] -c use as configuration file -d [,] 
set debug level to , debug tags to -dt print timestamp in debug output -T set 
trace on -f run in foreground (for debugging) -g set groupid to group -m print 
kaboom output (for debugging) -p proceed despite I/O errors -P do not create 
pid file -s no signals (for debugging) -t test - read config and exit -u userid 
to -v verbose user messages -? print this message. ) [2] => stdClass Object ( 
[component_type] => fd [component_name] => [state] => [error_msg] => JSON tool 
returned wrong exitcode. Output:/usr/sbin/bacula-fd: invalid option -- 'r' 
Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) Usage: 
bacula-fd [-f -s] [-c config_file] [-d debug_level] -c use as configuration 
file -d [,] set debug level to , debug tags to -dt print a timestamp in debug 
output -f run in foreground (for debugging) -g groupid -k keep readall 
capabilities -m print kaboom output (for debugging) -P do not create pid file 
-s no signals (for debugging) -t test configuration file and exit -T set trace 
on -u userid -v verbose user messages -? print this message. ) [3] => stdClass 
Object ( [component_type] => bcons [component_name] => [state] => [error_msg] 
=> JSON tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid option 
-- 'r' Copyright (C) 2000-2019 Kern Sibbald. Version: 9.4.2 (04 February 2019) 
x86_64-pc-linux-gnu debian 10.5 Usage: bconsole [-s] [-c config_file] [-d 
debug_level] -D

select a Director -l list Directors defined -L list Consoles defined -C select 
a console -c set configuration file to file -d set debug level to -dt print 
timestamp in debug output -n no conio -s no signals -u set command execution 
timeout to seconds -t test - read configuration and exit -? print this message. 
) ) [error] => 92 )


these are suspicious : 

=> JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-dir: invalid 
option -- 'l'
=> JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-sd: invalid 
option -- 'r'
=> JSON tool returned wrong exitcode. Output:/usr/sbin/bacula-fd: invalid 
option -- 'r'
=> JSON tool returned wrong exitcode. Output:/usr/sbin/bconsole: invalid option 
-- 'r'




-Message d'origine-
De : Marcin Haba [mailto:ganius...@gmail.com] 
Envoyé : mardi 8 décembre 2020 06:37
À : Lionel PLASSE
Cc : Bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] [bacula-users]baculum fileset modification

Hello Lionel,

To be able to configure Bacula via Baculum, you need to enable this
function on your Baculum API side. In the Baculum API configuration
wizard (fourth step) you need to define paths to Bacula JSON tools.
After that the configuration part of Baculum should start working
automatically.

Good luck.

Best regards,
Marcin Haba (gani)

On Mon, 7 Dec 2020 at 21:11, Lionel PLASSE  wrote:
>
> Hello,
>
> I have a question (or a problem) , with baculum 9.6.3 debian : (Bacula 
> 9.4.2-2+deb10u1 with mysql and apache2)
> When opening Filesets details, I do not have the action to modify a Fileset 
> enable. I only can go backward...
> I am despite connected with an administrator role user.
> All works fine but no possible for modifying Fileset or adding Client.
> I have seen in the captures of the version 9.6 some pics showing these 
> functions available...
>
> Is this version able to do this. ? I can only do restoration or backup job or 
> manage volumes
>
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/

[Bacula-users] [bacula-users]baculum fileset modification

2020-12-07 Thread Lionel PLASSE
Hello,

I have a question (or a problem) , with baculum 9.6.3 debian : (Bacula 
9.4.2-2+deb10u1 with mysql and apache2)
When opening Filesets details, I do not have the action to modify a Fileset 
enable. I only can go backward...
I am despite connected with an administrator role user. 
All works fine but no possible for modifying Fileset or adding Client. 
I have seen in the captures of the version 9.6 some pics showing these 
functions available...

Is this version able to do this. ? I can only do restoration or backup job or 
manage volumes 




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