From 206fd7e31b3baf033e9e4c66906e4c050bc7d666 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