Re: [Bacula-users] bscan, file retention, and pruning

2010-11-22 Thread Martin Simmons
> On Sat, 20 Nov 2010 15:54:48 +1300, Craig Miskell said: > > >>> The only problem with the latter approach is that pruning will still > >>> occur if > >>> a backup runs before you have finished the restore. > >> Thanks for both suggestions; the first is a nice clean option, although > >> so

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-19 Thread Dan Langille
On 11/19/2010 4:02 PM, Bob Hetzel wrote: > > > On 11/18/2010 11:00 PM, Dan Langille wrote: >> On 11/18/2010 4:20 PM, Bob Hetzel wrote: From: Craig Miskell Subject: [Bacula-users] bscan, file retention, and pruning To: bacula-users Message-ID:<4ce45109.4010...@opus.co.nz> Co

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-19 Thread Craig Miskell
>>> The only problem with the latter approach is that pruning will still occur >>> if >>> a backup runs before you have finished the restore. >> Thanks for both suggestions; the first is a nice clean option, although >> someone >> else suggested making the bscan'd volume Read Only, which is even

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-19 Thread Bob Hetzel
On 11/18/2010 11:00 PM, Dan Langille wrote: > On 11/18/2010 4:20 PM, Bob Hetzel wrote: >>> From: Craig Miskell >>> Subject: [Bacula-users] bscan, file retention, and pruning >>> To: bacula-users >>> Message-ID:<4ce45109.4010...@opus.co.nz> >>> Content-Type: text/plain; charset=ISO-8859-1 >>> >>>

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-19 Thread Martin Simmons
> On Fri, 19 Nov 2010 10:00:53 +1300, Craig Miskell said: > > Martin Simmons wrote: > >> On Thu, 18 Nov 2010 11:02:49 +1300, Craig Miskell said: > >>So I have just seen a case where an old tape with a job that had it's > >> file > >> records pruned by the File Retention was bscan'd to

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Dan Langille
On 11/18/2010 4:20 PM, Bob Hetzel wrote: >> From: Craig Miskell >> Subject: [Bacula-users] bscan, file retention, and pruning >> To: bacula-users >> Message-ID:<4ce45109.4010...@opus.co.nz> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Bob Hetzel
What you've hit on is something I've noted too... I'm thinking it would be a nice tweak/enhancement to bacula if the pruning function was disabled on restore jobs. Another case that could trigger it might be just restoring from your oldest backup. I've no idea how simple this change might be,

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Craig Miskell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Simmons wrote: >> On Thu, 18 Nov 2010 11:02:49 +1300, Craig Miskell said: >> So I have just seen a case where an old tape with a job that had it's >> file >> records pruned by the File Retention was bscan'd to get the records back into

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Craig Miskell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kleber Leal wrote: > Maybe this can help you: > http://www.bacula.org/5.0.x-manuals/en/utility/utility/Volume_Utility_Tools.html#SECTION00274000 > > copy/paste > /An interesting aspect of restoring a catalog backup using *bscan* is > that

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Martin Simmons
> On Thu, 18 Nov 2010 11:02:49 +1300, Craig Miskell said: > > So I have just seen a case where an old tape with a job that had it's > file > records pruned by the File Retention was bscan'd to get the records back into > the database. > > The operator then tried to run a restore, but h

Re: [Bacula-users] bscan, file retention, and pruning

2010-11-18 Thread Kleber Leal
Maybe this can help you: http://www.bacula.org/5.0.x-manuals/en/utility/utility/Volume_Utility_Tools.html#SECTION00274000 copy/paste *An interesting aspect of restoring a catalog backup using bscan is that the backup was made while Bacula was running and writing to a tape. At the point