Craig Barratt <[EMAIL PROTECTED]> writes:

Hi Craig

> Rodrigo writes:
>
>> The only problem seems to be with this index file and status.pl. I
>> just removed status.pl, and backuppc re-made it.  I dont know if this
>> was the best thing to do in this situation, but everything else seems
>> to be fine.
>
> That's perfectly fine.  status.pl will be rebuilt and, over time,
> the per-host status information will get updated.

Ok.

>
>> My question is: is there any way to rebuild backups file based on the
>> data available in the disk?
>
> The prior version of the backups should be saved in backups.old.
> Check if that file exists is non-empty and correct.  If so, copy
> it to backups.

This file is corrupted also... I think one of the problems I have, is
that this system is running with xfs. This filesystem seems to behave
very bad on power losses. I had a similar problem with another machine
that runs xfs.

> In 3.0.0 there is a script BackupPC_fixupBackupSummary that re-creates
> the backups file.  An extra copy of the relevant information is stored
> in each numbered backup directory.  BackupPC_fixupBackupSummary can
> also try to recover that information from the LOG files in the case of
> backups made prior to 3.x that don't have this meta data saved.  3.x is
> also more careful about how it writes these files: it writes to a
> temporary and does a readback comparison before renaming the file.
>
> You could upgrade and try BackupPC_fixupBackupSummary, but upgrading
> right after you had problems on the system might add too much perceived
> risk for your liking.

I already have another server with the 3.0 version running, but I was
too lasy (or busy) too upgrade this one. I will wait a little bit, to
see if everything is really ok, and after that, will upgrade the
system.

Thanks for the tips, specially for the one about
BackupPC_fixupBackupSummary.

Rodrigo

>
> Craig
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to