From: Kern Sibbald Date: Thu, 19 Jul 2007 13:41:07 +0000 (+0000) Subject: Properly save RecyclePoolId X-Git-Tag: Release-7.0.0~5981 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09e2cff962e520b3206e148f4b23224fa5f4a4f2;p=bacula%2Fbacula Properly save RecyclePoolId git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5201 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/next_vol.c b/bacula/src/dird/next_vol.c index 1e8a4c4198..4e6eae4df4 100644 --- a/bacula/src/dird/next_vol.c +++ b/bacula/src/dird/next_vol.c @@ -396,6 +396,8 @@ bool get_scratch_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr) db_strerror(jcr->db)); goto bail_out; } + smr.RecyclePoolId = mr->RecyclePoolId; + /* Set default parameters from current pool */ set_pool_dbr_defaults_in_media_dbr(mr, &pr);