Bacula-users

Re: [Bacula-users] Retention Policy Pruning Files?

2010-04-08 12:31:18
Subject: Re: [Bacula-users] Retention Policy Pruning Files?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 8 Apr 2010 17:28:50 +0100
>>>>> On Thu, 8 Apr 2010 07:56:07 -0600, May, John said:
> 
> Will changing the clientid actually work?  I saw that in the 'Jobs' table in
> the bacula database, but didn't want to mess up the database as I wasn't
> sure that changing that clientid would actually work.

Yes, I'm pretty sure it will work.


> What I did was to create another client called 'bkupsvr-30y' and set
> 'autoprune=no' and set the retention times to '30 years'.  As I understand,
> I can just change the job's clientid to this new client, then do a bscan to
> get the files back in the database.  Should that work?

I'm not sure what bscan will do in that case.  The volume contains the client
name, not the id, so it might modify the clientid back to the original one in
the database.

I would expect it to work if you stop the director, bscan to the original
clientid, modify the job.clientid column for those jobs and then restart the
director.

__Martin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users