I bscan'ed one Archive job and changed the clientID for it, then restarted the Bacula Director. We'll see how it goes tomorrow as the job would be pruned after tonight's backup. Hopefully it will still be there tomorrow.
John -----Original Message----- From: Martin Simmons [mailto:mar...@lispworks.com] Sent: Thursday, April 08, 2010 10:29 AM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Retention Policy Pruning Files? >>>>> 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® 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ Download Intel® 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users