>>>>> On Thu, 10 May 2012 14:47:00 +0200, Hugo Letemplier said:
>
> Hello,
>
> Few days before I had a bad behaviour from bacula. It pruned lots of
> backups from my archives ONLY for one client in one pool before a
> specified date!.
>
> I couldn't reread tapes because there was a lot of tapes.
> I couldn't restore the full catalog dump because lots of jobs had run
> since this unexpected behaviour and so if I did it I would loose
> theses jobs.
>
> My postgresql Select was on job and jobfiles for a pool and for a
> specific client
>
> Can you confirm that I did right to reimport theses jobs and files :
>
> - The tables that I restored were : job, log, file, jobmedia
>
> - The tables filename and path seems to be ok ? Is this a normal
> behaviour that filenames and path were not pruned like the files ?
Yes. The dbcheck program will remove unused filename and path entries, but
Bacula doesn't.
> - Is there a possibility that this catalog import was wrong ? If yes
> which points should I check ?
Sounds right to me. The only other thing you might need is to update/restore
rows in the media table (e.g. if the volumes were purged).
> Also what can be the origin of the unexpected behaviour ? It happened
> on a restore job on the client that was pruned.
>
> Have you got an idea ?
Sounds like the action of the client AutoPrune settings (AutoPrune defaults to
true).
__Martin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|