From: Eric Bollengier Date: Tue, 5 Oct 2010 08:10:32 +0000 (+0200) Subject: Fix #1648 about make_catalog_backup.pl with multiple catalog X-Git-Tag: Release-5.2.1~1071 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97b6a33ed7fa37e0a0d5f1d9776cb92b8437ee01;p=bacula%2Fbacula Fix #1648 about make_catalog_backup.pl with multiple catalog --- diff --git a/bacula/src/cats/make_catalog_backup.pl.in b/bacula/src/cats/make_catalog_backup.pl.in index fc0487e7f9..9bb6b7c98f 100644 --- a/bacula/src/cats/make_catalog_backup.pl.in +++ b/bacula/src/cats/make_catalog_backup.pl.in @@ -135,7 +135,7 @@ sub dump_catalog } } -open(FP, "$dir_conf|") or die "Can't get catalog information $@"; +open(FP, "$dir_conf -C '$cat'|") or die "Can't get catalog information $@"; # catalog=MyCatalog # db_type=SQLite # db_name=regress