From 09e2cff962e520b3206e148f4b23224fa5f4a4f2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 19 Jul 2007 13:41:07 +0000 Subject: [PATCH] Properly save RecyclePoolId git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5201 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/next_vol.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5