From dc8e64166d553ed62bcce53252ac4f7d525ae2fd Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 18 Jan 2012 15:57:28 +0100 Subject: [PATCH] Delete only restore bootstrap during director startup --- bacula/src/dird/dird.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index 71284807b7..9f1667fc2c 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -1144,7 +1144,7 @@ static void cleanup_old_files() POOLMEM *cleanup = get_pool_memory(PM_MESSAGE); POOLMEM *results = get_pool_memory(PM_MESSAGE); copy_base_name(cleanup); - pm_strcat(cleanup, "*.bsr"); + pm_strcat(cleanup, "*.restore.*.bsr"); run_program(cleanup, 0, results); copy_base_name(cleanup); pm_strcat(cleanup, "*.mail"); -- 2.39.5