Search Results for: bacula

Bacula – errors with 5.0.0 backup catalog

While creating the FreeBSD package for 5.0.0, I noticed a few new things to be aware of. With 5.0.0 comes a new backup catalog script. It parses the bacula-dir.conf file and extracts what it needs from that. This means you only need to specify the database connection information in one place and it is not passed to a script via the command line. If you see this error while running that script: 25-Jan […]

Bacula – errors with 5.0.0 backup catalog Read More »

Bacula Configuration

Bacula uses flat text files for configuration. From time to time, people, usually new to the project, ask: why isn’t the configuration in the database? Bacula uses the database to store information about what files were backed up, from what client, and when. This information is useful when you need to know how if you have a copy of a file from last Tuesday before you wrote crap into it but after you

Bacula Configuration Read More »

Bacula Retention Periods

Bacula is a backup system with three different retention periods: Volume Job File I set all three to the same value. It is important to note that these values affect only the Catalog. It determines how long a given record is held in the database. For example, if you set File Retention to be 45 days, it means that there are no records in the database for any files backed up in any

Bacula Retention Periods Read More »

Migrating some Bacula jobs

I noticed that one of our disk-based Volumes used a label name similar to that of our tape-based Volumes. To avoid confusion, I will rename that Volume. But, renaming a Volume is not simple, nor recommended if the Volume contains data. It is better to migrate the data instead. The Volume in question has MediaId = 42 (seriously!): | 42 | PEQ574L4 | Append | 1 | 4,144,705,431 | 0 | 31,536,000 |

Migrating some Bacula jobs Read More »

Bacula – moving File storage

I noticed today that the Bacula installation was still using the default File Storage location of /tmp. That is adequate for testing, but we should move it elsewhere. The safest approach to making this change is: stop bacula-sd copy the files to the new location rename the old location amend bacula-sd.conf restart bacula-sd test After you have confirmed everything is OK, you can remove the old location.

Bacula – moving File storage Read More »

Migrating one Bacula Volume to another

I run Bacula. I have coded for Bacula. Now I’m writing about Bacula again. Bacula is by far and away the best open source program for managing network-based backups. In this article, I will show you how I migrated a bunch of jobs from a disk Volume to a tape Volume. However, the approach I will use can be applied to any type of job migration. Why bother? I’m running of disk space

Migrating one Bacula Volume to another Read More »

New Bacula features

There are several new interesting features in the upcoming Bacula release. Including, but not limited to: “Accurate” backups regardless of mtime, mv, rm, etc Copy Jobs Virutal Backup / Synthetic Backup / Consolidation Duplicate Job Control TLS Authentication Ignore Dir Honor No Dump Flag Plugins libdbi framework These features are being added to the development 2.5.x versions to be released as Bacula version 3.0.0. This release is expected to occur near the end

New Bacula features Read More »

Bacula – restoring to Windows

Today, as I was writing up an invoice, I accidentally saved it over another. No worries!  Bacula to the rescue.  I managed to get the original files back from tape. One hint: include your pathnames in “quotes” so they are correctly parsed.  Like this: $ dir ———- 0 root wheel 0 1969-12-31 19:00:00 c:/ $ cd “c:/Documents and Settings/Dan Langille/My Documents/Technologies” cwd is: c:/Documents and Settings/Dan Langille/My Documents/Technologies/ $ dir -rwxrwxrwx 1 root wheel 63655 2006-10-05 14:32:49 c:/Documents and Settings/Dan Langille/My

Bacula – restoring to Windows Read More »

Scroll to Top