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.

> 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.

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.

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/

Reply via email to