Anyone using Bacula?

Gave up on Amanda :slight_smile: Bacula seems very promising. Docs on how to build
the agent are so much better.

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Although I don’t use it,
Bacula has been a very popular choice through the years.
Don’t know if we only get sporadic questions in the Forums because it “just works.”

For myself,
I’ve been exploring “roll your own” by custom tar scripts, eg

The following is only an example, if you’re interested I suggest that you do a search for all “tar incremental backup gist” and evaluate plenty before experimenting

https://gist.github.com/YourFriendCaspian/7b43de8c8eebfea1d083663fa3c83376

The idea is that although TAR stands for Tape Archive, nowadays you can use it to create backups from anything to anything.
Supported incremental backup is a plus if you want to save space and of course TAR compresses your archives.

The big plus with a TAR solution is that you’ll never have to worry about backup software versions, or even finding and installing backup software… You only need to have the TAR utility installed, and generally any version will work with any archive file.

Had forgotten about this until relatively recently when it was mentioned at a Local UG.

TSU

Yes. But tar is not a good choice if you have other OSes involved.

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Tar is tar on every OS, and there is a tar available for every OS,
The universality is a major attractiveness.

Of course,
TAR is native to, and installed by default in practically any Linux.
So, for at least creating your backups, from any flavor of Linux you should be able to run the same exact script and back up any fiilesystem Linux can read which includes NTFS.
For restoring, it would depend on the scenario. You could of course restore uisng any Linux, even a different distro or a very old or much newer version of your original distro. Or, if you’re on an MSWindows for example you could use the very popular WinZip or 7zip utilities, and looks like is a “maybe” on the MSWindows roadmap (Introduced with Insider Build 17063 but not yet a part of the public distribution).

TSU

Tsu2,
> Tar is tar on every OS, and there is a tar available for every OS,
> The universality is a major attractiveness.

Sure, but that just takes care of the archiving. You then have to write
scripts for scheduling, deduplication and retirement of media. I’d
rather not invent the wheel in this case. Right now Bacula looks good.

  • Anders Gustafsson
    The Aaland Islands (N60 E20)

Ah,
This wonderful invention called the Internet where practically everything is available if you know how to find it.

In this particular case,
If you’re looking for scripts and scriptlets,
One place where people post is a section called “gists” on Github.

Search, and you’ll find several people have posted tar backup scripts that do various things.
And, of course there are likely many other places where there might be posted tutorials, guides, blogs, etc.

Regular backup apps can be good, too.
All depends on personal criteria when choosing a solution.

TSU

I have been using Bacula for years. It’s a wonderful software, especially if you use tape backup. Unfortunately it doesn’t come with openSUSE any more (I don’t know why), so I learned how to build it from source code.

It is not a plug-and-play thing though. It takes some time to read through the documentation and learn all of its possibilities and how to configure it. It really allows a lot of control. Once you have learned that all you need is to just mount your storage and run your backup job.

Looking for a bacula openSUSE package?

https://software.opensuse.org/package/bacula

TSU

No, I am not, since I build it myself from GIT source.
I was just saying that it doesn’t come from official repos any more which is quite unfortunate.

On Tue 28 Aug 2018 10:06:02 PM CDT, heyjoe wrote:

tsu2;2878622 Wrote:
> Looking for a bacula openSUSE package?
>
> openSUSE Software
>
No, I am not, since I build it myself from GIT source.
I was just saying that it doesn’t come from official repos any more
which is quite unfortunate.

Hi
The openSUSE distribution is a do-ocrity, you seem to compile for
yourself? Regurgitate the OBS version, build and maintain for fellow
openSUSE users?

–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.13-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

I have no idea what you are talking about. Could you be clearer please?

:slight_smile:
I think if you think you’ve built a better reason, you’re being asked to do it as an OBS project so that others besides you can benefit from your work.

TSU

I don’t know if I have built a better version as I have never compared to what is available. I also don’t know how to make an OBS project. (and it’s unlikely that I would have the time to maintain one)

I build it considering my needs, so I am not sure if it would work for others. For example I don’t use certain options which may be useful for another system. I also use CFLAGS=‘-O2 -pipe -march=native’ which obviously optimizes the binaries for the current system. Perhaps these binaries won’t work for others at all. I have no idea how OBS handles this (if it does).

I build using a custom bash script based on instructions in the documentation. It clones the git source, applies options as listed, patches the bugs which are still not fixed upstream and then echoes instructions how to un/install as root. If someone may consider such script helpful I wouldn’t mind sharing it. But it doesn’t build rpm (I don’t know how to do that either). I simply install in /opt/bacula.