Hi,
Phil Kennedy wrote on 2013-03-20 19:41:07 -0400 [Re: [BackupPC-users] Stop
TrachClean / Return directories backup list]:
> [...]
> The OS drives were supposed to have been configured as a software RAID 1
> but (and for the life of me, I cannot figure out how this could happen
> aside from malice or gross incompetence) the secondary drive (/dev/sdb)
> apparently hadn't synced with the primary drive (/dev/sda) since August
> of 2009.
I've had that happen (except that I noticed before a drive broke) at least
once, and I remember that Les has also. From what I remember of his
explanation (please correct me if I'm wrong), two physical disks concurrently
positioning their heads can disturb each other (through vibration) in such a
way that one of them returns a read or write error and is kicked out of the
array without the drive actually being in any way defective. I *would*
consider this a shortcoming of Linux software RAID-1.
As Adam wrote, you can easily monitor that. It still is a nuisance, though.
> Now, the folders within the directories are there. There are directories
> under /backup/pc/hostname/ by those directories do not show in the menu
> when you try to to browse via the web interface.
Do the *hosts* show up in the web interface? If not, look at your hosts file
(/etc/BackupPC/hosts or something like that). If so, it could be
* corrupt backups file (/backup/pc/hostname/backups)
* incorrect setting of $Conf {TopDir}
* SELinux problems
* ownership of /backup - if your /etc/passwd is ancient, maybe the UID of
the backup user was changed for some reason?
* web server setup?
* the BackupPC_Admin script is not setuid backuppc
* patched BackupPC scripts (patches done after August 2009) - though your
BackupPC version does suggest it must have been stored somewhere unaffected
* ...
> I'll set TreashCleanSleepSec to a ridiculous number as was suggested.
That should be unnecessary as long as BackupPC is not running. Err, does the
web interface work without a running BackupPC daemon?
> If I can ID which system the data
> came from, I can probably just move the data back under its host
> directory, correct? under ../trash the directories are named something
> like 1363794493_24518_0, if I move them under ../pc/hostname/ and give
> them a name like 100, it should show as backup 100, correct? (assuming
> all permissions are correct?)
Yes. As Jeffrey wrote, there should be a file "backupInfo" in the directory
which should contain the information you need (including the correct backup
number).
Hope that helps.
Regards,
Holger
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|