"File size limit exceeded" error thrown while bacula executes a pre-script

Solution Verified - Updated -

Issue

  • Bacula throws an error when trying to execute a script before the backup job to dump the database to a file and the script fails when dump file size reaches 4GB.

Environment

  • Red Hat Enterprise Linux 5

  • The script bacula is trying to execute contains the following command line:

pg_dump -c | bzip2 -c |dd of='$wd/$args{db_name}-CDM-$year-$mon-$mday-$hour-$min-$sec.sql.bz2
  • bacula user has a file size limit set to 20G in limits.conf:
$ grep bacula limits.conf | grep fsize
bacula        -       fsize   20971520
...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.