Bacula-users

Re: [Bacula-users] what do you do when bacula stops working for no good reason?

2011-04-04 14:42:55
Subject: Re: [Bacula-users] what do you do when bacula stops working for no good reason?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 4 Apr 2011 19:39:34 +0100
>>>>> On Mon, 04 Apr 2011 09:16:52 -0700, dobbin  said:
> 
> Hi there, this is probably bad form as I'm essentially asking the same
> question twice but I'm in a bit of a bind so here goes. Last week I posted
> this issue regarding the fact that it looks like bacula just randomly
> decided not to backup a bunch of files.
>
> ...
> 
> backup server is Debian lenny running bacula 5.02, client is debian sarge
> running bacula 1.38.11. 
> 
> The server is a web server and on the 22nd a copy was made of the main site,
> if you look at the backup job for that day, you can see an extra 4000
> files. We're running daily incrementals with a full at the start of the
> month.
> 
> Then a second copy was made on the 25th but the incrementals just show a few
> dozen new files. 
> 
> So we've got the original and two copies, let's call them 
> 
> www.mysite.com 
> copy1.mysite.com 
> copy2.mysite.com 
> 
> Today we went to restore copy2.mysite.com, if we select "restore most recent
> backup for client" or "restore before specified time" then we get back 43
> files out of 4000. If I just pick "restore" then I get 107 files out of
> 4000. This is the same if I go back a few days. 
> We can restore copy1.mysite.com but that's no use to us 
> 
> A file verify ran on the 26th and it shows all the files from
> copy2.mysite.com but not copy1.mysite.com
> 
> Backups ran without any errors, I've checked the alert emails. I'm trying to
> run bscan on the volumes to see if that produces any different results but
> I'm having trouble with the syntax.
> 
> Does anyone have any idea where the files are and how I can stop this
> happening again? My first thought was that the directories weren't copied
> but symlinked, I'm assured this is not the case.

Check the timestamps of the files for copy2 using the stat command.  Maybe
they appear to be older than the 25th, so Bacula skipped them?

Also, are you using the mtimeonly option in the fileset?

__Martin

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users