Hot answers tagged

3 votes

Restore files from Bacula backup with missing server

You have multiple options to recover from this, but it should always be possible to rebuild the database of the backup content with the bscan program. Depending on how your system is configured and ...
  • 97.6k
3 votes
Accepted

Bacula off-site backups

I found (a) the solution... it seems that the key is here: It occurs automatically, if the source SD and destination SD of a Copy or Migration job are different. My goal was to copy some backup ...
3 votes

What is a proper LINUX backup strategy?

I've organized my backup strategy around rdiff-backup over NFS. It lets you access your backups as a simple mirror of your file system with the ability to get previous versions too.
3 votes
Accepted

Amanda versus Bacula and (modern as of 2017) large backup jobs

I use Bacula since about 13 years, and Quantum Superloader LT6 Tape Library since about 3-4 years. Is Amanda used for jobs of this magnitude? Is it superseded at this point by Bacula? Is there a ...
  • 538
3 votes

Amanda versus Bacula and (modern as of 2017) large backup jobs

I've used Amanda for many years now, Bacula more recently. They'll both get the job done. They both have somewhat of a learning curve. Both are very reliable. I'd say overall, Bacula is a bit ...
  • 211
2 votes
Accepted

What is a proper LINUX backup strategy?

It's always possible to do a partial restore of a backup. I'm not familiar with Bacula but I will outline the general methods: Most backup software actually allows you to do a partial restore of a ...
  • 31.7k
2 votes
Accepted

bacula backups very slow with TCP socket in 'unkn-4' state

It was SQL. By default, each time bacula-fd sends a new file, bacula-sd tries to (via bacula-dir) insert file attributes into SQL batch table. If you have a lots of small files, and your SQL is not ...
  • 2,449
2 votes

Setting up a bacula file-based volume retention policy?

Bacula creates volumes automatically up to the 'Maximum Volumes'. But you can always create a volume manually by using the bacula console. According to your configuration, your 'Maximum Volumes' ...
  • 21
2 votes
Accepted

Bacula: how to run a script after 2 jobs are finished?

Make all the jobs but one have the same priority, the same start time, and set concurrency to 1, and disallow mixed priorities. Then for the last job, set a lower priority, and schedule it so it ...
  • 2,449
2 votes

Bacula: best practise for labeling and initial start

as for 1) Label Format = "FS1T${NumVols:p/2/0/r}" # Auto label This command pads with zeroes to 2 digits and puts the variable ${NumVols} (Number of volumes) to the right (r) of the ...
2 votes

Bacula off-site backups

Just to add one thing. Try to use bscan and you can "read" the Volumes again ( the copied ones) and import them into the Catalog of the other location. Than you can restore them in the second site ...
2 votes

How to handle migrated job in bacula

It's hard to know the exact problem without seeing your configuration, since there are so many parameters available to set. However, I suspect your immediate problem is simply that Bacula won't reuse ...
2 votes
Accepted

Duplicity for remote backup to AWS S3

The short answer is... sort of. It's possible to back and retrieve your files. However, if you look in your Amazon bucket from the web interface, all you will see are backup archives, not the ...
2 votes
Accepted

Ansible: copy config to current and other hosts

Something like this, for example: inventory: [debian] host1 host2 host3 bacula_role=server host4 host5 play: - hosts: debian vars: bacula_server: "{{ (ansible_play_hosts | map('extract',...
2 votes
Accepted

Bareos / Bacula backup of virtualbox?

Well, depends on you backup/restore strategy. We have 16 active virtual machines. The initial steps on our backup strategy are: shutdown the virtual machine (ACPI) backup the directory containing the ...
  • 136
2 votes

Bacula: Writing backup fails

The correct permissions for the files in the storage daemon are bacula:disk. So chown -R bacula:disk /var/bacula/backups
  • 151
2 votes
Accepted

Restore files that are not in the Bacula database using a Bacula file deamon

The bextract manual (at least for ver. 5.2, the most popular in distros) does not list any option to specify remote host. So your options are: mount a share from the remote machine in the director's ...
2 votes
Accepted

How to restore a directory with Bareos/Bacula while excluding deleted files?

For Bareos check out Accurate = in the documention. Even I did not use it so far it should fulfill you needs. http://doc.bareos.org/master/html/bareos-manual-main-reference.html#...
2 votes
Accepted

Bacula: Client Run Before Job only al Full level

Solution I found is providing JobLevel to the script as a argument with %l Client Run Before Job = "/path/to/before/script.sh %l" Client Run After Job = "/path/to/after/script.sh %l" and ...
  • 190
2 votes
Accepted

ldconfig creating bad symlink

According to my research, the (mis-)behaviour of ldconfig is triggered by the content of the file libbaccats-stub-9.0.6.so, specifically its SONAME field: ts@xenon:~> objdump -p /usr/lib64/...
2 votes

Enable hardware encryption in Bacula with LTO-7

I was able to get this to work with the use of a tape library, by modifying the autochanger script to set the encryption key after each tape had been loaded into the drive. I did this by modifying /...
2 votes
Accepted

Certificate validation error with Bareos and TLS

NB: As of Bareos version 18.2, TLS is enabled by default, but the server is backwardly compatible with older clients. Please try these things: Change the client address on the server (in bareos-dir....
2 votes
Accepted

Segmentation fault of Bacula on Apline Linux

The issue is resolved in the fresh musl-1.2.3-r0 at April 7, 2022 (still in Edge branch)
1 vote
Accepted

Bacula versions compatibility

The problem was solved after upgrading storage daemons to v7.0.5. We still have some file daemons v5.2.6.
1 vote
Accepted

Bacula batch restore a client with multiple filesets

In case somebody ends up here, after some digging I ended up splitting the process to some steps: find the job ids that describe the backup I need. (one full backup and possibly a combination of a ...
1 vote
Accepted

In smartctl, what does means "Percentage used endurance indicator too short"?

It's probably a bug fixed 6 months ago, more on https://www.smartmontools.org/ticket/314.
  • 294
1 vote
Accepted

What is the diference between volume marked archive and volume marked full?

full means that you cannot write anymore information to it (because it reached quota or just full). on archive means that data has been already archived (deleted from source and are available on ...
  • 424
1 vote
Accepted

Bareos Backups all files despite of a custom FileSet

The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 ...
1 vote

Bacula. Running concurrent job from one linux box

Adding "Maximum Concurrent Jobs" to storage definition in Storages.conf on Badula director and to device definition on bacula-sd resolve this issue. storages.conf on bacula director Storage { Name ...
1 vote
Accepted

bacula catalog backup error

I solved this problem by giving execute permission to user bacula on /etc/bacula/scripts/delete_catalog_backup
  • 113

Only top scored, non community-wiki answers of a minimum length are eligible