From: Eric Bollengier Date: Wed, 18 Jan 2012 14:57:28 +0000 (+0100) Subject: Delete only restore bootstrap during director startup X-Git-Tag: Release-7.0.0~321 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=206fd7e31b3baf033e9e4c66906e4c050bc7d666;p=bacula%2Fbacula Delete only restore bootstrap during director startup --- 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");