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

Solution Verified - Updated -


  • 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.


  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In