Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-24 Thread Andrea Venturoli



On 6/24/22 14:37, Josh Fisher wrote:

If it is running in a jail, then how does it have access to all zfs 
datasets? Doesn't bacula-fd have to run as root no matter what OS it is 
running on? How else can it backup all of the other plugins, etc.?


I'm no TrueNAS, but FreeBSD user: I usually have a jail with everything 
*bacula-server* related, i.e. PostGres, Director, etc...
Of course I need the file daemon in base, but that's a lot "lighter" to 
maintain.


 bye
av.


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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-24 Thread Josh Fisher


On 6/20/22 06:35, Justin Case wrote:
Thats right. Such a plugin is something like a wrapper/installer that 
creates a jail environment for an existing application and hopefully 
provides a nice interface. So in the case of Bacula it would be a jail 
where all components are installed, so that one could use the director 
there to pull data in from clients and store them on ZFS, or, use it 
as a bacula-fd to backup zfs datasets to a third bacula-sd.



If it is running in a jail, then how does it have access to all zfs 
datasets? Doesn't bacula-fd have to run as root no matter what OS it is 
running on? How else can it backup all of the other plugins, etc.?





On 20. Jun 2022, at 10:33, Radosław Korzeniewski 
 wrote:


Hello,

niedz., 19 cze 2022 o 23:45 dmitri maziuk  
napisał(a):


On 2022-06-19 2:42 PM, Radosław Korzeniewski wrote:

> But reading on the internet what iX-Systems Plugins are I think
it is
> not what I understand with the above term.

TrueNAS is a specialized version of OpenBSD that comes with
web-based UI
to ZFS storage subsystem. 



I know what TrueNAS is. :)

A plugin is a binary packaged for install via
said UI.


So it is a TrueNAS Plugin, because it extends TrueNAS functionality, 
right?

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




___
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] Q: Bacula for TrueNAS Core?

2022-06-20 Thread Justin Case
Thats right. Such a plugin is something like a wrapper/installer that creates a 
jail environment for an existing application and hopefully provides a nice 
interface. So in the case of Bacula it would be a jail where all components are 
installed, so that one could use the director there to pull data in from 
clients and store them on ZFS, or, use it as a bacula-fd to backup zfs datasets 
to a third bacula-sd.

> On 20. Jun 2022, at 10:33, Radosław Korzeniewski  
> wrote:
> 
> Hello,
> 
> niedz., 19 cze 2022 o 23:45 dmitri maziuk  > napisał(a):
> On 2022-06-19 2:42 PM, Radosław Korzeniewski wrote:
> 
> > But reading on the internet what iX-Systems Plugins are I think it is 
> > not what I understand with the above term.
> 
> TrueNAS is a specialized version of OpenBSD that comes with web-based UI 
> to ZFS storage subsystem.
> 
> I know what TrueNAS is. :)
>  
> A plugin is a binary packaged for install via 
> said UI.
> 
> So it is a TrueNAS Plugin, because it extends TrueNAS functionality, right?
>  
> best regards
> -- 
> Radosław Korzeniewski
> rados...@korzeniewski.net 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-20 Thread Radosław Korzeniewski
Hello,

niedz., 19 cze 2022 o 22:59 Austin C Phelps  napisał(a):

> Truenas core plugins are preconfigured jails for a given application.
>

OK, so it is a TrueNAS Plugin, which terminology I fully understand. It is
not a Bacula Plugin.

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-20 Thread Radosław Korzeniewski
Hello,

niedz., 19 cze 2022 o 23:45 dmitri maziuk 
napisał(a):

> On 2022-06-19 2:42 PM, Radosław Korzeniewski wrote:
>
> > But reading on the internet what iX-Systems Plugins are I think it is
> > not what I understand with the above term.
>
> TrueNAS is a specialized version of OpenBSD that comes with web-based UI
> to ZFS storage subsystem.


I know what TrueNAS is. :)


> A plugin is a binary packaged for install via
> said UI.
>

So it is a TrueNAS Plugin, because it extends TrueNAS functionality, right?

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-20 Thread Radosław Korzeniewski
Hello,

niedz., 19 cze 2022 o 23:32 Justin Case  napisał(a):

> To be 100% clear: the term “plugin” here is meant in the context of
> TrueNAS Core, so a plugin FOR TrueNAS Core (not a plugin for Bacula).
>

OK, I understand.
But this terminology is weird for me. I created a Bacula Plugin FOR
Kubernetes, because this plugin is an extension to Bacula and it is
intended to backup Kubernetes resources and data. This is why it is a
Bacula Plugin, not a Kubernetes plugin.

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread Austin C Phelps
Truenas core plugins are preconfigured jails for a given application. 
Basically, it allows for quick deployment. Truenas core is build on freebsd. In 
freebsd package management is done via freshports. Unlike Linux package 
management, it's not uncommon to find different versions. I noticed freshports 
is more up to date with some applications.

There was a time ix system did maintain a freenas plug in. After converting to 
truenas the amount of plugins has decreased.

To use bacula in truenas core you need to create a jail. You can't install 
freshports outside of a jail in truenas core. Well you shouldn't cause it will 
issues when it's time to upgrade.


Get Outlook for Android<https://aka.ms/AAb9ysg>


From: Radosław Korzeniewski 
Sent: Sunday, June 19, 2022, 15:44
To: Justin Case 
Cc: Bacula users 
Subject: Re: [Bacula-users] Q: Bacula for TrueNAS Core?

Hello,

śr., 15 cze 2022 o 12:50 Justin Case 
mailto:jus7inc...@gmail.com>> napisał(a):
Or is there actually a Bacula Plugin for TrueNAS Core and I just did not look 
right and did not find it?

We need to commit to terminology as every person can understand different 
questions here.
Bacula has a feature called Plugins which allow Bacula to backup and restore 
different components using these plugins.

So, in my understanding the term: "a Bacula Plugin for TrueNAS Core" means a 
feature for Bacula to be able to backup and restore data (files, configuration, 
etc.) available on your TrueNAS server. This is a case when your TrueNAS box 
flames in fire then you will be able to recover all your data to the new 
TrueNAS box.

But reading on the internet what iX-Systems Plugins are I think it is not what 
I understand with the above term.

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

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread Larry Rosenman

On 06/19/2022 4:44 pm, dmitri maziuk wrote:

On 2022-06-19 2:42 PM, Radosław Korzeniewski wrote:

But reading on the internet what iX-Systems Plugins are I think it is 
not what I understand with the above term.


TrueNAS is a specialized version of OpenBSD that comes with web-based
UI to ZFS storage subsystem. A plugin is a binary packaged for install
via said UI.

Dima


For the record it's FreeBSD, not OpenBSD.

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread dmitri maziuk

On 2022-06-19 5:02 PM, Larry Rosenman wrote:


For the record it's FreeBSD, not OpenBSD.



Sorry, us liGNUx lusers keep forgetting which one's which, or why.

Dima


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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread dmitri maziuk

On 2022-06-19 2:42 PM, Radosław Korzeniewski wrote:

But reading on the internet what iX-Systems Plugins are I think it is 
not what I understand with the above term.


TrueNAS is a specialized version of OpenBSD that comes with web-based UI 
to ZFS storage subsystem. A plugin is a binary packaged for install via 
said UI.


Dima


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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread Justin Case
To be 100% clear: the term “plugin” here is meant in the context of TrueNAS 
Core, so a plugin FOR TrueNAS Core (not a plugin for Bacula).

> On 19. Jun 2022, at 21:42, Radosław Korzeniewski  
> wrote:
> 
> Hello,
> 
> śr., 15 cze 2022 o 12:50 Justin Case  > napisał(a):
> Or is there actually a Bacula Plugin for TrueNAS Core and I just did not look 
> right and did not find it?
> 
> We need to commit to terminology as every person can understand different 
> questions here.
> Bacula has a feature called Plugins which allow Bacula to backup and restore 
> different components using these plugins.
> 
> So, in my understanding the term: "a Bacula Plugin for TrueNAS Core" means a 
> feature for Bacula to be able to backup and restore data (files, 
> configuration, etc.) available on your TrueNAS server. This is a case when 
> your TrueNAS box flames in fire then you will be able to recover all your 
> data to the new TrueNAS box. 
> 
> But reading on the internet what iX-Systems Plugins are I think it is not 
> what I understand with the above term.
> 
> best regards
> -- 
> Radosław Korzeniewski
> rados...@korzeniewski.net 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-19 Thread Radosław Korzeniewski
Hello,

śr., 15 cze 2022 o 12:50 Justin Case  napisał(a):

> Or is there actually a Bacula Plugin for TrueNAS Core and I just did not
> look right and did not find it?
>

We need to commit to terminology as every person can understand different
questions here.
Bacula has a feature called Plugins which allow Bacula to backup and
restore different components using these plugins.

So, in my understanding the term: "a Bacula Plugin for TrueNAS Core" means
a feature for Bacula to be able to backup and restore data (files,
configuration, etc.) available on your TrueNAS server. This is a case when
your TrueNAS box flames in fire then you will be able to recover all your
data to the new TrueNAS box.

But reading on the internet what iX-Systems Plugins are I think it is not
what I understand with the above term.

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


Re: [Bacula-users] Q: Bacula for TrueNAS Core?

2022-06-15 Thread Austin C Phelps
Bacula is in the freebsd freshports. Currently 11.0.5 is the highest version. 
There are other versions there as well. To use it you create a jail, then you 
can install from freshports. You can mount your datasets into the jail from the 
jails tool.

Now truenas scale you either have to side load or compile. I not to that point 
yet. I'm still testing backing up my cores first. I did ask in ix discord about 
bacula and scale but didn't a response. It's probably still to cutting edge at 
this point.

I gotten sas tape drives and loaders working in the jail. Freebsd uses a 
different program to change media. The script included with the freshport 
doesn't work correctly. I had to modify it. My tape system has an iscsi bridge 
which doesn't work in freebsd. I had to run the SD in Linux. I did have to 
compile bacula in Linux so I could get the versions to match.

If you want I can post my code how I got it all working.

Get Outlook for Android

From: Justin Case 
Sent: Wednesday, June 15, 2022 6:49:06 AM
To: Bacula users 
Subject: [Bacula-users] Q: Bacula for TrueNAS Core?

Hello all,

I was looking for a Bacula Plugin for a recent TrueNAS Core (bacula-fd to 
backup its content, bacula-dir, bacula-sd to backup other machines’ content). I 
can see that there has been a Bacula Plugin maintained by iX-Systems for 
FreeNAS in the past, but it has been abandoned by iX-Systems.

Since TrueNAS Core is the closest we get for free to something like an 
enterprise storage appliance, I was assuming it makes a lot of sense and there 
is a lot of demand to have Bacula for TrueNAS Core. I haven’t found it in the 
Community Plugins either.

I saw that someone on this list was compiling Bacula for TrueNAS Core, so it 
must be feasible.

Are just too few people here using TrueNAS Core? Or has everyone gone through 
compiling it for themselves? Wouldn’t it be more  “user-friendly” to have a 
plugin? Maybe no-one has sufficient motivation to make and maintain one (yeah, 
I know someone is going to respond “why don’t you do it?”).
Or is there another explanation?

Or is there actually a Bacula Plugin for TrueNAS Core and I just did not look 
right and did not find it?

All the best, I am looking forward to your thoughts on this.
 J/C

___
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] Q: Bacula for TrueNAS Core?

2022-06-15 Thread dmitri maziuk

On 2022-06-15 5:49 AM, Justin Case wrote:
...

All the best, I am looking forward to your thoughts on this.


My $.02 is why? If you're looking for a basic undelete/rollback 
capability, ZFS has snapshots. It can ship those incrementally to 
another ZFS system, in the long run the 2nd system tends to be cheaper 
than the tape. You can even "hold" the snapshots on the receiver have 
the filesystem mounted and accessible -- read-only of course -- while 
deleting them on the source to save space.


If you need archival forever, it's probably trivial (I haven't looked) 
to connect a "cloud bucket" and dump your ZFS snapshots onto it for 
posterity.


So I'm not quite sure why muck around with tapes, all things considered.

Dima


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