Re: [Bacula-users] New Bacula Gui for Management Bacula

2014-11-07 Thread Jonathan Bayer

Oh, I guess it helps to read.

So it can update config files, but what about included files?

Our configuration has two directories inside the /etc/bacula directory, 
one for client configs, one for general configs for various filesets, 
pools schedules, etc.


JBB

On 11/7/2014 2:35 PM, Jonathan Bayer wrote:
Correct me if I'm wrong, but this is merely a reporting tool.  It 
doesn't any any control mechanisms?  No way to start, stop, edit, etc. 
jobs?



JBB

On 11/7/2014 10:46 AM, oliveiraped wrote:

Hi To All Please check the new web gui for Bacula.

Reportula is a php based web program that provides you a summarized output 
stats of Bacula Backups jobs, clients, volumes and director that have already 
run. It obtains its information from your catalog database.

This is a fairly high level bacula management tool. Here are a few points that 
one user made concerning this important tool.

It is web-based so can be accessed from anywhere.

It packs a phenomenal amount of information into a single web-page -- that I 
credit as being very good design!

Features

Display last jobs status
Display volumes usage by pool
Full supported MySQL, PostgreSQL databases.
Show Jobs which executed with errors last day, week, month
Show a condition of your Volumes
Show terminated Jobs
Search Jobs on several conditions
The detailed information on Pools, Volumes, Storages and Clients
Search options
List the files stored on job
Acl Supports and Login users support
Integration with Active Directory or Ldap servers


www.reportula.org

+--
|This was sent byoliveira...@gmail.com  via Backup Central.
|Forward SPAM toab...@backupcentral.com.
+--





--


___
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] New Bacula Gui for Management Bacula

2014-11-07 Thread Jonathan Bayer
Correct me if I'm wrong, but this is merely a reporting tool.  It 
doesn't any any control mechanisms?  No way to start, stop, edit, etc. jobs?



JBB

On 11/7/2014 10:46 AM, oliveiraped wrote:

Hi To All Please check the new web gui for Bacula.

Reportula is a php based web program that provides you a summarized output 
stats of Bacula Backups jobs, clients, volumes and director that have already 
run. It obtains its information from your catalog database.

This is a fairly high level bacula management tool. Here are a few points that 
one user made concerning this important tool.

It is web-based so can be accessed from anywhere.

It packs a phenomenal amount of information into a single web-page -- that I 
credit as being very good design!

Features

Display last jobs status
Display volumes usage by pool
Full supported MySQL, PostgreSQL databases.
Show Jobs which executed with errors last day, week, month
Show a condition of your Volumes
Show terminated Jobs
Search Jobs on several conditions
The detailed information on Pools, Volumes, Storages and Clients
Search options
List the files stored on job
Acl Supports and Login users support
Integration with Active Directory or Ldap servers


www.reportula.org

+--
|This was sent by oliveira...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--





--


___
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] CentOS 6.6 SELINUX Problems BACULA 5.2.18 [Help]

2014-11-07 Thread Humphrey Bryant

Hi All,

I have Bacula 5.2.18 backing up to disk (file) on a Test Server running 
CentOS 6.5 that I recently upgraded to CentOS 6.6.


After I upgraded to CentOS 6.6 I cannot do any backup or restores, each 
time I try to run a backup it sits there for hours/days and nothing 
happens when you check the logs you see a lot of *`could not open device 
"volume-xx" ERR=Permission denied`*. (please see log at the end of this 
email)


I check, recheck and double check all permissions on my volumes/files 
and directory and everything was OK but when i run the backup they still 
hang nonetheless. It was after I temporarily disabled SELINUX backup 
start working again, so I am of the conclusion that SELINUX is at fault 
here..


I need some help getting SELINUX to play nice with Bacula on CENTOS 6.6, 
can anyone here help me out please. any one can help me create a policy 
or something, I don’t want to upgrade my production server and have this 
same problem.


Any help appreciated, thanks much

***Logs:*
2014-11-06 20:00:02 bacula-dir JobId 948: Start Backup JobId 948, 
Job=TestServer2.2014-11-06_20.00.00_03
2014-11-06 20:00:02 bacula-dir JobId 948: Using Device "FileStorage" 
to write.
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: Volume 
"TestServer2-increm0046" not on device "FileStorage" (/backup).
2014-11-06 20:00:03 bacula-sd JobId 948: Marking Volume 
"TestServer2-increm0046" in Error in Catalog.
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: Volume 
"TestServer2-increm0046" not on device "FileStorage" (/backup).
2014-11-06 20:00:03 bacula-sd JobId 948: Marking Volume 
"TestServer2-increm0046" in Error in Catalog.
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: mount.c:219 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0046" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0046, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-dir JobId 948: Created new Volume 
"TestServer2-increm0049" in catalog.
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: mount.c:219 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: mount.c:219 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: mount.c:219 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied
2014-11-06 20:00:03 bacula-sd JobId 948: Warning: label.c:329 Open 
device "FileStorage" (/backup) Volume "TestServer2-increm0049" failed: 
ERR=dev.c:575 Could not open: /backup/TestServer2-increm0049, 
ERR=Permission denied




--
Best Regards
Humphrey Bryant
Information System Admin

This E-mail contains information which is confidential and privileged.
Unless you are the addressee (or authorised to receive for the
addressee), you may not use, copy or disclose to anyone the message or
information contained in it.  If you have received this e-mail in error,
please destroy it and advise the sender.

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


Re: [Bacula-users] Webacula 7. ComingXXX

2014-11-07 Thread dweimer
On 11/07/2014 9:54 am, oliveiraped wrote:
> Hi, Reportula is able to read the configuration files of Bacula, edit,
> and write new ones. It covers problably 90 % of all configurations
> options. Its steel in developing please check it out here
> www.reportula.org.
> 
> Feel free to report bugs or problems.
> 
> +--
> |This was sent by oliveira...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
> 
> 
> 
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Does this error mean those of use running FreeBSD are out of luck?

file(/proc/cpuinfo): failed to open stream: No such file or directory

Of course I am not sure I would have gotten any farther, and in my case 
this information would be pointless as my web server is on a different 
machine than the Bacula Director, it wouldn't have the bacula-dir.conf 
file to access anyways.  Would probably need to do some sort of NFS 
share to make that part accessible.

The regular login worked though, except the statistics page, and looks 
nice, big improvement to the looks of the old webacula interface.

-- 
Thanks,
Dean E. Weimer
http://www.dweimer.net/

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


Re: [Bacula-users] Webacula 7. Coming...

2014-11-07 Thread heitor
I like to read about this tools, but I wonder why there's a uniq tool to all 
kind of bacula features, such as, easily installation, easily configuration, 
and so on... Why there's a tool for this, a tool for that?? 

There are tools that are better at some aspects or another. E.g.: Webmin does 
Bacula changes on configuration files, but is not as user friendly, resourceful 
as Webacula or BAT for backup administration and monitoring. Reportula proposes 
to do both things, but I think last version is in beta testing. 
Nowadays I think the most complete and stable GUI is the Enterprise Bweb. 

Regards, 
 
Heitor Medrado de Faria 
Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: 
bacula.com.br 
61 2021-8260 | 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com 
= 
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Webacula 7. Coming…

2014-11-07 Thread John Drescher
On Fri, Nov 7, 2014 at 10:54 AM, oliveiraped
 wrote:
> Hi, Reportula is able to read the configuration files of Bacula, edit, and 
> write new ones. It covers problably 90 % of all configurations options. Its 
> steel in developing please check it out here www.reportula.org.
>

Does it support includes in conf files? I mean mt bacula-dir.conf
includes dozens of conf files in a hierarchy.

John

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


Re: [Bacula-users] Webacula 7. Coming...

2014-11-07 Thread Gilberto Nunes
I like to read about this tools, but I wonder why there's a uniq tool to
all kind of bacula features, such as, easily installation, easily
configuration, and so on... Why there's a tool for this, a tool for that??

2014-11-07 13:54 GMT-02:00 oliveiraped :

> Hi, Reportula is able to read the configuration files of Bacula, edit, and
> write new ones. It covers problably 90 % of all configurations options. Its
> steel in developing please check it out here www.reportula.org.
>
> Feel free to report bugs or problems.
>
> +--
> |This was sent by oliveira...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
--

Gilberto Ferreira
(47) 9676-7530
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Webacula 7. Coming…

2014-11-07 Thread oliveiraped
Hi, Reportula is able to read the configuration files of Bacula, edit, and 
write new ones. It covers problably 90 % of all configurations options. Its 
steel in developing please check it out here www.reportula.org. 

Feel free to report bugs or problems.

+--
|This was sent by oliveira...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


Re: [Bacula-users] Configuration reload for bacula-sd

2014-11-07 Thread Dmitri Maziuk
On 11/7/2014 7:10 AM, Kern Sibbald wrote:
> Hello,
>
> I am not sure, but it sounds like you are proposing that Bacula use a
> raw device for storing a Volume.  This is possible. There might be a
> trivial advantage in terms of performance, but there is no real
> advantage or demand to do it.

The advantage is you can pull the disk out and stick a new one in, just 
like you do with the tape.

...  It is, in general, far better to store
> Volumes in a filesystem rather than on a raw disk for a number of
> reasons.  It would even be preferable to dedicate a disk to Bacula and
> have a filesystem on it such as XFS rather than use it as a raw device.

I agree, however, in the current implementation volumes are files that 
must reside in a single filesystem (or you need a fake autochanger). If 
volumes were directories (i.e. mountpoints), we could use multiple 
removable disks, pull full disk out, stick new one in.

> Maybe you can be more precise about what you want.

Was that clear enough?

Dima



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


[Bacula-users] New Bacula Gui for Management Bacula

2014-11-07 Thread oliveiraped
Hi To All Please check the new web gui for Bacula. 

Reportula is a php based web program that provides you a summarized output 
stats of Bacula Backups jobs, clients, volumes and director that have already 
run. It obtains its information from your catalog database.

This is a fairly high level bacula management tool. Here are a few points that 
one user made concerning this important tool.

It is web-based so can be accessed from anywhere.

It packs a phenomenal amount of information into a single web-page – that I 
credit as being very good design!

Features

Display last jobs status
Display volumes usage by pool
Full supported MySQL, PostgreSQL databases.
Show Jobs which executed with errors last day, week, month
Show a condition of your Volumes
Show terminated Jobs
Search Jobs on several conditions
The detailed information on Pools, Volumes, Storages and Clients
Search options
List the files stored on job
Acl Supports and Login users support
Integration with Active Directory or Ldap servers


www.reportula.org

+--
|This was sent by oliveira...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



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


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Martin Simmons
You could build your own rpms using Simone's spec file.

__Martin


> On Fri, 07 Nov 2014 15:17:12 +0200, Can Şirin said:
> 
> In fact, we would prefer to use only the official repositories of  
> RHEL, instead of third parties because of the security issues.
> If it is not too hard to compile a project that there is no rpm  
> package in the off. repos, it is more preferable for us to compile it.
> We do not use unofficial repos, unless it is mandatory.
> 
> There is no special requirements for Bacula. We just would like  
> install it from the source code. If Bacula 7 comes into the official  
> RHEL repos. We will be pleased to use that packages.
> 
> Thanks for your help.
> 
> Kind regards.
> Can
> 
> 
> Quoting Simone Caronni :
> 
> > Hello,
> >
> > I'm the maintainer of Bacula in Fedora and I've been providing repositories
> > for both Bacula 5.x and Bacula 7.x. These are the repositories, based on
> > rebuilt packages that are in Fedora rawhide:
> >
> > https://repos.fedorapeople.org/repos/slaanesh/bacula7/
> > https://repos.fedorapeople.org/repos/slaanesh/bacula/
> >
> > On 7 November 2014 09:07, Can Şirin  wrote:
> >
> >> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am going
> >> to
> >> compile it from the source code. Everything is fine but just systemd
> >> integration.
> >>
> >
> >
> > Might I ask you what kind of settings you need that requires custom
> > compilation of Bacula 7.0.5 on RHEL?
> >
> > I would like to know what your requirements are regarding the packages, so
> > maybe we can integrate what you need in the official packages. It's
> > something I've been doing during the past years with various users. You can
> > check the changelog of the Bacula packages in the official RHEL 7 channels,
> > there's my name in.
> >
> >
> >> In the configuration options, I use
> >> "--with-systemd=/usr/lib/systemd/system"
> >>
> >> After "make" command has been ended, I run the "make install" but
> >> unfortunately
> >> there is no systemd unit file copied by the bacula installation under the
> >> /usr/lib/systemd/system directory.
> >>
> >> I thought it was needed to run "make install-autoconf". With this way
> >> only SysV init files are copied.
> >>
> >
> > Fedora/RHEL packages carry a different systemd unit file for daemons, those
> > in the Bacula source code are much more generic (as they need to work on
> > more distributions), while the provided ones are much more specific. You
> > can check the package contents here:
> >
> > http://pkgs.fedoraproject.org/cgit/bacula.git/tree/
> >
> > Regards,
> > --Simone
> >
> >
> > --
> > You cannot discover new oceans unless you have the courage to lose sight of
> > the shore (R. W. Emerson).
> >
> > http://xkcd.com/229/
> > http://negativo17.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] large jobs that fail

2014-11-07 Thread John Drescher
> Lets say you are doing a 500 gig job and it fails after 450 gigs.. and you 
> are using disk based backups.
>
> Do you ever bother to try to reclaim that space? I mean I delete the job, so 
> the volume can have that data recycled when the time comes, but do you ever 
> go thru the extra trouble of finding the volumes that only have data from 
> that job on , and deleting them from disk etc?


I have 5GB fixed sized volumes in my virtual disk autochanger. If a
job fails and I purge it the space used by the failed job will be
reused when needed.

John

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


Re: [Bacula-users] large jobs that fail

2014-11-07 Thread heitor

> Lets say you are doing a 500 gig job and it fails after 450 gigs.. and you 
> are using disk based backups.
>
> Do you ever bother to try to reclaim that space? I mean I delete the job, so 
> the volume can have that data recycled when the time comes, but do you ever 
> go thru the extra trouble of finding the volumes that only have data from 
> that job on , and deleting them from disk etc?
>
> jeff.

I personally wouldn't reclaim that space, since you could also restore from a 
incomplete job. At least, not until you rerun and terminate it OK.
Btw: you could split your fileset in two or three jobs, in order avoid having 
to restart a hole 500Gb backup in case of fail.

Regards,
 
Heitor Medrado de Faria 
Need Bacula training? 10% discount coupon code at www.udemy.com: bacula-users 
+55 61 2021-8260 | 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com 
 

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


Re: [Bacula-users] large jobs that fail

2014-11-07 Thread Jeff MacDonald

> On Nov 7, 2014, at 9:37 AM, Bryn Hughes  wrote:
> 
> On 2014-11-07 04:40 AM, Jeff MacDonald wrote:
>> Lets say you are doing a 500 gig job and it fails after 450 gigs.. and you 
>> are using disk based backups.
>> 
>> Do you ever bother to try to reclaim that space? I mean I delete the job, so 
>> the volume can have that data recycled when the time comes, but do you ever 
>> go thru the extra trouble of finding the volumes that only have data from 
>> that job on , and deleting them from disk etc?
>> 
>> jeff.
>> 
> Are you asking if I PERSONALLY try to reclaim the space, or if Bacula 
> itself will try to?
> 
> Bacula will keep the backed up data and apply the normal retention 
> policies to it even if the backup doesn't complete successfully. That 
> 450 gigs of data on disk can still be used for a restore despite the 
> backup not completing successfully; the complexity of restoring the data 
> will depend on the circumstances around how it failed.  If for instance 
> the director crashed and the records never got inserted into the 
> database restore is going to be a lot more complex than if the client 
> went offline for some reason.  However the data is still there and can 
> still be read one way or the other.
> 
> On a personal level, whether I try to reclaim the space or not will 
> depend on whether or not I have enough space to have that partial backup 
> sitting around or not.  If it's not causing any issues then I'd be 
> inclined to let it sit till it expired on its own.
> 
> Bryn

Good question! I was asking more on a personal basis, but the other info you 
provided was helpful as well.

Jeff

> 
> 
> 
> --
> ___
> 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] large jobs that fail

2014-11-07 Thread Bryn Hughes
On 2014-11-07 04:40 AM, Jeff MacDonald wrote:
> Lets say you are doing a 500 gig job and it fails after 450 gigs.. and you 
> are using disk based backups.
>
> Do you ever bother to try to reclaim that space? I mean I delete the job, so 
> the volume can have that data recycled when the time comes, but do you ever 
> go thru the extra trouble of finding the volumes that only have data from 
> that job on , and deleting them from disk etc?
>
> jeff.
>
Are you asking if I PERSONALLY try to reclaim the space, or if Bacula 
itself will try to?

Bacula will keep the backed up data and apply the normal retention 
policies to it even if the backup doesn't complete successfully. That 
450 gigs of data on disk can still be used for a restore despite the 
backup not completing successfully; the complexity of restoring the data 
will depend on the circumstances around how it failed.  If for instance 
the director crashed and the records never got inserted into the 
database restore is going to be a lot more complex than if the client 
went offline for some reason.  However the data is still there and can 
still be read one way or the other.

On a personal level, whether I try to reclaim the space or not will 
depend on whether or not I have enough space to have that partial backup 
sitting around or not.  If it's not causing any issues then I'd be 
inclined to let it sit till it expired on its own.

Bryn



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


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Can Şirin
In fact, we would prefer to use only the official repositories of  
RHEL, instead of third parties because of the security issues.
If it is not too hard to compile a project that there is no rpm  
package in the off. repos, it is more preferable for us to compile it.
We do not use unofficial repos, unless it is mandatory.

There is no special requirements for Bacula. We just would like  
install it from the source code. If Bacula 7 comes into the official  
RHEL repos. We will be pleased to use that packages.

Thanks for your help.

Kind regards.
Can


Quoting Simone Caronni :

> Hello,
>
> I'm the maintainer of Bacula in Fedora and I've been providing repositories
> for both Bacula 5.x and Bacula 7.x. These are the repositories, based on
> rebuilt packages that are in Fedora rawhide:
>
> https://repos.fedorapeople.org/repos/slaanesh/bacula7/
> https://repos.fedorapeople.org/repos/slaanesh/bacula/
>
> On 7 November 2014 09:07, Can Şirin  wrote:
>
>> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am going
>> to
>> compile it from the source code. Everything is fine but just systemd
>> integration.
>>
>
>
> Might I ask you what kind of settings you need that requires custom
> compilation of Bacula 7.0.5 on RHEL?
>
> I would like to know what your requirements are regarding the packages, so
> maybe we can integrate what you need in the official packages. It's
> something I've been doing during the past years with various users. You can
> check the changelog of the Bacula packages in the official RHEL 7 channels,
> there's my name in.
>
>
>> In the configuration options, I use
>> "--with-systemd=/usr/lib/systemd/system"
>>
>> After "make" command has been ended, I run the "make install" but
>> unfortunately
>> there is no systemd unit file copied by the bacula installation under the
>> /usr/lib/systemd/system directory.
>>
>> I thought it was needed to run "make install-autoconf". With this way
>> only SysV init files are copied.
>>
>
> Fedora/RHEL packages carry a different systemd unit file for daemons, those
> in the Bacula source code are much more generic (as they need to work on
> more distributions), while the provided ones are much more specific. You
> can check the package contents here:
>
> http://pkgs.fedoraproject.org/cgit/bacula.git/tree/
>
> Regards,
> --Simone
>
>
> --
> You cannot discover new oceans unless you have the courage to lose sight of
> the shore (R. W. Emerson).
>
> http://xkcd.com/229/
> http://negativo17.org/




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


Re: [Bacula-users] Configuration reload for bacula-sd

2014-11-07 Thread Kern Sibbald
Hello,

I am not sure, but it sounds like you are proposing that Bacula use a
raw device for storing a Volume. This is possible. There might be a
trivial advantage in terms of performance, but there is no real
advantage or demand to do it.  It is, in general, far better to store
Volumes in a filesystem rather than on a raw disk for a number of
reasons.  It would even be preferable to dedicate a disk to Bacula and
have a filesystem on it such as XFS rather than use it as a raw device.

Maybe you can be more precise about what you want.

By the way, the Bacula code that writes disk and tape is virtually
identical.  Only the open and close and seek is different.  The seeking
on tape devices is far more complex than seeking on a disk, which is
byte oriented (at least at the application level), rather than
file/block oriented as a tape device is.

Best regards,
Kern

On 10/28/2014 03:59 PM, Dmitri Maziuk wrote:
> On 10/28/2014 8:24 AM, Alan Brown wrote:
> ...
>> Tape and disk are different animals and need to be approached differently.
>>
>> Virtual autochangers are a kludge to allow for removable disks but in
>> most configured installations they do _not_ treat those disks in the
>> same way as real tape drives.
> OT comment: I'll probably never understand that, I always thought a 
> block device is a block device and one of the unix's strong points was 
> to abstract away the physical differences and let the same code work 
> with either. AFAICT the only reason they're different (in how SD treats 
> them) is because the software is written that way...
>
> Dima
>
>
>


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


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Kern Sibbald
Hello,

OK, yes, it makes sense that the systemd directory code was probably
implemented at the same time as the systemd files.  Simone is going to
give me some enhanced systemd files, and I will add an appropriate
Makefile target for getting them installed.

Thanks for bringing this up.

Best regards,
Kern

On 11/07/2014 01:57 PM, Can Şirin wrote:
> Quoting Kern Sibbald :
>
>> Hello,
>>
>> Yes, you are correct, currently there is no Makefile command to install
>> the systemd files.  I like your idea of adding a new configure option.
>> I would probably prefer "with-systemd-dir=" which corresponds to how the
>> other directories work, then define a default and as you say just add a
>> new Makefile target -- probably  "make install-systemd".
>
> Actually, this is not my idea. Systemd support has already been added
> to configure script. So I just wanted to use it.
>
> [root@bacula bacula-7.0.5]# ./configure --help | grep systemd
>   --with-systemd[=UNITDIR]
>   Include systemd support. UNITDIR is where
> systemd
> [root@bacula bacula-7.0.5]#
>
>>
>> It sounds like a nice little project that is needed and not too hard to
>> implement.
>>
>> Have you done any of the work to accomplish this, or are you asking me
>> or someone else to do it?
>>
>
> I haven't done anything. Because there are generic systemd files under
> the source code directory tree whose path is exactly
> bacula-7.0.5/platforms/systemd/
> I can copy them from this path manually.
> So, for now, I am going on with the SysV init scrit until you
> implement it.
>
> Kind regards.
> Can
>
>> Best regards,
>> Kern
>>
>> On 11/07/2014 09:07 AM, Can Şirin wrote:
>>> Hi,
>>>
>>> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am
>>> going to
>>> compile it from the source code. Everything is fine but just systemd
>>> integration.
>>>
>>> In the configuration options, I use
>>> "--with-systemd=/usr/lib/systemd/system"
>>>
>>> After "make" command has been ended, I run the "make install" but
>>> unfortunately
>>> there is no systemd unit file copied by the bacula installation
>>> under the
>>> /usr/lib/systemd/system directory.
>>>
>>> I thought it was needed to run "make install-autoconf". With this way
>>> only SysV init files are copied.
>>>
>>> How could I install the systemd unit files, without copying them
>>> manually from the source (platform/systemd) dir?
>>>
>>> My configure options are;
>>>
>>> CFLAGS="-g -Wall" ./configure \
>>>--sbindir=/opt/bacula/bin \
>>>--sysconfdir=/opt/bacula/etc \
>>>--enable-smartalloc \
>>>--with-postgresql=/usr/pgsql-9.3 \
>>>--with-working-dir=/opt/bacula/working \
>>>--with-pid-dir=/opt/bacula/working \
>>>--with-subsys-dir=/opt/bacula/working \
>>>--with-openssl \
>>>--enable-conio \
>>>--with-openssl \
>>>--enable-acl \
>>>--enable-lzo \
>>>--enable-lockmgr \
>>>--with-tcp-wrappers \
>>>--with-dir-user=bacula \
>>>--with-dir-group=bacula \
>>>--with-sd-user=bacula \
>>>--with-sd-group=bacula \
>>>--enable-bat \
>>>--with-systemd=/usr/lib/systemd/system
>>>
>>> Thanks,
>>> Can
>>>
>>>
>>>
>>> --
>>>
>>> ___
>>> 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] Problem with installing bacula systemd unit files

2014-11-07 Thread Can Şirin
Quoting Kern Sibbald :

> Hello,
>
> Yes, you are correct, currently there is no Makefile command to install
> the systemd files.  I like your idea of adding a new configure option.
> I would probably prefer "with-systemd-dir=" which corresponds to how the
> other directories work, then define a default and as you say just add a
> new Makefile target -- probably  "make install-systemd".

Actually, this is not my idea. Systemd support has already been added  
to configure script. So I just wanted to use it.

[root@bacula bacula-7.0.5]# ./configure --help | grep systemd
   --with-systemd[=UNITDIR]
   Include systemd support. UNITDIR is where systemd
[root@bacula bacula-7.0.5]#

>
> It sounds like a nice little project that is needed and not too hard to
> implement.
>
> Have you done any of the work to accomplish this, or are you asking me
> or someone else to do it?
>

I haven't done anything. Because there are generic systemd files under  
the source code directory tree whose path is exactly  
bacula-7.0.5/platforms/systemd/
I can copy them from this path manually.
So, for now, I am going on with the SysV init scrit until you implement it.

Kind regards.
Can

> Best regards,
> Kern
>
> On 11/07/2014 09:07 AM, Can Şirin wrote:
>> Hi,
>>
>> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I  
>> am going to
>> compile it from the source code. Everything is fine but just systemd
>> integration.
>>
>> In the configuration options, I use "--with-systemd=/usr/lib/systemd/system"
>>
>> After "make" command has been ended, I run the "make install" but
>> unfortunately
>> there is no systemd unit file copied by the bacula installation under the
>> /usr/lib/systemd/system directory.
>>
>> I thought it was needed to run "make install-autoconf". With this way
>> only SysV init files are copied.
>>
>> How could I install the systemd unit files, without copying them
>> manually from the source (platform/systemd) dir?
>>
>> My configure options are;
>>
>> CFLAGS="-g -Wall" ./configure \
>>--sbindir=/opt/bacula/bin \
>>--sysconfdir=/opt/bacula/etc \
>>--enable-smartalloc \
>>--with-postgresql=/usr/pgsql-9.3 \
>>--with-working-dir=/opt/bacula/working \
>>--with-pid-dir=/opt/bacula/working \
>>--with-subsys-dir=/opt/bacula/working \
>>--with-openssl \
>>--enable-conio \
>>--with-openssl \
>>--enable-acl \
>>--enable-lzo \
>>--enable-lockmgr \
>>--with-tcp-wrappers \
>>--with-dir-user=bacula \
>>--with-dir-group=bacula \
>>--with-sd-user=bacula \
>>--with-sd-group=bacula \
>>--enable-bat \
>>--with-systemd=/usr/lib/systemd/system
>>
>> Thanks,
>> Can
>>
>>
>>
>> --
>> ___
>> 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] large jobs that fail

2014-11-07 Thread Jeff MacDonald
Lets say you are doing a 500 gig job and it fails after 450 gigs.. and you are 
using disk based backups.

Do you ever bother to try to reclaim that space? I mean I delete the job, so 
the volume can have that data recycled when the time comes, but do you ever go 
thru the extra trouble of finding the volumes that only have data from that job 
on , and deleting them from disk etc?

jeff.



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


Re: [Bacula-users] Which is the best way to manager Bacula Backup??

2014-11-07 Thread heitor



Hi guys 

Which is the best way to manager bacula?? Some web interface?? 
Windows or Linux, or even MacOS standalone app??? 




Gilberto: you can try some enterprise and community interfaces on this demo 
environments http://www.bacula.com.br/?page_id=2093 

Regards, 
 
Heitor Medrado de Faria 
Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: 
bacula.com.br 
61 2021-8260 | 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com 
= 
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Simone Caronni
On 7 November 2014 10:43, Kern Sibbald  wrote:

> Yes, you are correct, currently there is no Makefile command to install
> the systemd files.  I like your idea of adding a new configure option.
> I would probably prefer "with-systemd-dir=" which corresponds to how the
> other directories work, then define a default and as you say just add a
> new Makefile target -- probably  "make install-systemd".
>
> It sounds like a nice little project that is needed and not too hard to
> implement.
>
> Have you done any of the work to accomplish this, or are you asking me
> or someone else to do it?
>

Since we're installing our systemd files I did not notice the install
target for those is missing.
Also the bacula-traymonitor files miss the install target.

I will try to do it in the next days if nobody does it before me.

Regards,
--Simone

-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Simone Caronni
Sorry, I forgot to reply to all. Mail re-attached:

Hi Kern,

On 7 November 2014 10:51, Kern Sibbald  wrote:

>  Would it be worth while to include your enhanced systemd files in the
> Bacula source release for those users who either want to build themselves
> or who want a more advanced template?
>
> If so, could you please send me your files?  I am a bit lazy to download
> and extract them :-)
>

Files are here [1], but maybe it's better if I send you patches with the
RHEL/Fedora specifics removed. I don't think they fit everywhere.

There are the *.service, *.init and *.sysconfig files. Systemd unit files
are more generic, but while SysV init scripts (RHEL 5/6 are more specific
and return codes on the various actions based on specific RHEL packaging
guidelines [2] .Both source /etc/sysconfig/* files, so this migh be as well
distributions specific.

[1] http://pkgs.fedoraproject.org/cgit/bacula.git/tree/
[2] https://fedoraproject.org/wiki/Packaging:SysVInitScript

Will send some patches to bugs.bacula.org when I have a moment.

Regards,
--Simone




-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with installing bacula systemd unit files

2014-11-07 Thread Kern Sibbald

  
  
Simone,
  
  Would it be worth while to include your enhanced systemd files in
  the Bacula source release for those users who either want to build
  themselves or who want a more advanced template?
  
  If so, could you please send me your files?  I am a bit lazy to
  download and extract them :-)
  
  Thanks,
  Kern
  
  On 11/07/2014 10:42 AM, Simone Caronni wrote:


  
Hello,


  I'm the maintainer of Bacula in Fedora and I've been providing
  repositories for both Bacula 5.x and Bacula 7.x. These are the
  repositories, based on rebuilt packages that are in Fedora
  rawhide:
  
  https://repos.fedorapeople.org/repos/slaanesh/bacula7/
  https://repos.fedorapeople.org/repos/slaanesh/bacula/
  
  On 7 November 2014 09:07, Can Şirin 
wrote:
I am setting up a new
  backup server with Bacula 7.0.5 on RHEL7. I am going to
  compile it from the source code. Everything is fine but
  just systemd
  integration.


  
  Might I ask you what kind of settings you need that
  requires custom compilation of Bacula 7.0.5 on RHEL?
  
  I would like to know what your requirements are regarding
  the packages, so maybe we can integrate what you need in
  the official packages. It's something I've been doing
  during the past years with various users. You can check
  the changelog of the Bacula packages in the official RHEL
  7 channels, there's my name in.
   

  In the configuration options, I use
  "--with-systemd=/usr/lib/systemd/system"
  
  After "make" command has been ended, I run the "make
  install" but
  unfortunately
  there is no systemd unit file copied by the bacula
  installation under the
  /usr/lib/systemd/system directory.
  
  I thought it was needed to run "make install-autoconf".
  With this way
  only SysV init files are copied.



Fedora/RHEL packages carry a different systemd unit
  file for daemons, those in the Bacula source code are much
  more generic (as they need to work on more distributions),
  while the provided ones are much more specific. You can
  check the package contents here:
  
  http://pkgs.fedoraproject.org/cgit/bacula.git/tree/
  

Regards,

--Simone
  

  
  
  -- 
  
You cannot discover new oceans unless you
  have the courage to lose sight of the shore (R. W.
  Emerson).
  
  http://xkcd.com/229/
  http://negativo17.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] Problem with installing bacula systemd unit files

2014-11-07 Thread Kern Sibbald
Hello,

Yes, you are correct, currently there is no Makefile command to install
the systemd files.  I like your idea of adding a new configure option. 
I would probably prefer "with-systemd-dir=" which corresponds to how the
other directories work, then define a default and as you say just add a
new Makefile target -- probably  "make install-systemd".

It sounds like a nice little project that is needed and not too hard to
implement.

Have you done any of the work to accomplish this, or are you asking me
or someone else to do it?

Best regards,
Kern

On 11/07/2014 09:07 AM, Can Şirin wrote:
> Hi,
>
> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am going to
> compile it from the source code. Everything is fine but just systemd  
> integration.
>
> In the configuration options, I use "--with-systemd=/usr/lib/systemd/system"
>
> After "make" command has been ended, I run the "make install" but  
> unfortunately
> there is no systemd unit file copied by the bacula installation under the
> /usr/lib/systemd/system directory.
>
> I thought it was needed to run "make install-autoconf". With this way  
> only SysV init files are copied.
>
> How could I install the systemd unit files, without copying them  
> manually from the source (platform/systemd) dir?
>
> My configure options are;
>
> CFLAGS="-g -Wall" ./configure \
>--sbindir=/opt/bacula/bin \
>--sysconfdir=/opt/bacula/etc \
>--enable-smartalloc \
>--with-postgresql=/usr/pgsql-9.3 \
>--with-working-dir=/opt/bacula/working \
>--with-pid-dir=/opt/bacula/working \
>--with-subsys-dir=/opt/bacula/working \
>--with-openssl \
>--enable-conio \
>--with-openssl \
>--enable-acl \
>--enable-lzo \
>--enable-lockmgr \
>--with-tcp-wrappers \
>--with-dir-user=bacula \
>--with-dir-group=bacula \
>--with-sd-user=bacula \
>--with-sd-group=bacula \
>--enable-bat \
>--with-systemd=/usr/lib/systemd/system
>
> Thanks,
> Can
>
>
>
> --
> ___
> 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] Problem with installing bacula systemd unit files

2014-11-07 Thread Simone Caronni
Hello,

I'm the maintainer of Bacula in Fedora and I've been providing repositories
for both Bacula 5.x and Bacula 7.x. These are the repositories, based on
rebuilt packages that are in Fedora rawhide:

https://repos.fedorapeople.org/repos/slaanesh/bacula7/
https://repos.fedorapeople.org/repos/slaanesh/bacula/

On 7 November 2014 09:07, Can Şirin  wrote:

> I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am going
> to
> compile it from the source code. Everything is fine but just systemd
> integration.
>


Might I ask you what kind of settings you need that requires custom
compilation of Bacula 7.0.5 on RHEL?

I would like to know what your requirements are regarding the packages, so
maybe we can integrate what you need in the official packages. It's
something I've been doing during the past years with various users. You can
check the changelog of the Bacula packages in the official RHEL 7 channels,
there's my name in.


> In the configuration options, I use
> "--with-systemd=/usr/lib/systemd/system"
>
> After "make" command has been ended, I run the "make install" but
> unfortunately
> there is no systemd unit file copied by the bacula installation under the
> /usr/lib/systemd/system directory.
>
> I thought it was needed to run "make install-autoconf". With this way
> only SysV init files are copied.
>

Fedora/RHEL packages carry a different systemd unit file for daemons, those
in the Bacula source code are much more generic (as they need to work on
more distributions), while the provided ones are much more specific. You
can check the package contents here:

http://pkgs.fedoraproject.org/cgit/bacula.git/tree/

Regards,
--Simone


-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Which is the best way to manager Bacula Backup??

2014-11-07 Thread Davide Franco (dev)
Hi Gilberto,

On Thu, Nov 6, 2014 at 8:49 PM, Gilberto Nunes 
wrote:

> Hi guys
>
> Which is the best way to manager bacula?? Some web interface??
> Windows or Linux, or even MacOS standalone app???
>

You have plenty of choice, but it only depend on you mean by "manage
bacula".

There's baculum which is available from Bacula tarball on Sourceforge
http://sourceforge.net/projects/bacula/files/bacula/7.0.5/bacula-gui-7.0.5.tar.gz/download

Bacula wiki also contain a list of tool which would certainly suite your
needs.
http://wiki.bacula.org/doku.php?id=3rd_party_addons

Hope you'll find the right one. Good luck


>
> Thanks
>

Best regards

Davide


> --
> --
>
> Gilberto Ferreira
> (47) 9676-7530
>
>
>
> --
>
> ___
> 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] Problem with installing bacula systemd unit files

2014-11-07 Thread Can Şirin
Hi,

I am setting up a new backup server with Bacula 7.0.5 on RHEL7. I am going to
compile it from the source code. Everything is fine but just systemd  
integration.

In the configuration options, I use "--with-systemd=/usr/lib/systemd/system"

After "make" command has been ended, I run the "make install" but  
unfortunately
there is no systemd unit file copied by the bacula installation under the
/usr/lib/systemd/system directory.

I thought it was needed to run "make install-autoconf". With this way  
only SysV init files are copied.

How could I install the systemd unit files, without copying them  
manually from the source (platform/systemd) dir?

My configure options are;

CFLAGS="-g -Wall" ./configure \
   --sbindir=/opt/bacula/bin \
   --sysconfdir=/opt/bacula/etc \
   --enable-smartalloc \
   --with-postgresql=/usr/pgsql-9.3 \
   --with-working-dir=/opt/bacula/working \
   --with-pid-dir=/opt/bacula/working \
   --with-subsys-dir=/opt/bacula/working \
   --with-openssl \
   --enable-conio \
   --with-openssl \
   --enable-acl \
   --enable-lzo \
   --enable-lockmgr \
   --with-tcp-wrappers \
   --with-dir-user=bacula \
   --with-dir-group=bacula \
   --with-sd-user=bacula \
   --with-sd-group=bacula \
   --enable-bat \
   --with-systemd=/usr/lib/systemd/system

Thanks,
Can



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