"Nick Knight" writes:
I have a couple of hosts which now appear in the host which have never
been backed up. I think the problem was the file system they where on
has run out of space during a new backup of other hosts.
That's unfortunate. $Conf{DfMaxUsagePct} is meant to catch this
(although it doesn't provide a guarantee - it is only checked
each time a backup starts, not during a huge backup that could
fill up the file system).
I have checked the contents of backup.old and that is empty as well. All
the actual data is there though. Is there any way of creating that file
again - there is a fair amount of historical data.
First off I should fix things so that an empty backups file shold
not overwrite a non-empty backups.old file.
You should be able to reconstruct a backups file by hand.
The file is one row per backup. The columns are separated
by tabs. The fields are:
num type startTime endTime
nFiles size nFilesExist sizeExist nFilesNew sizeNew
xferErrs xferBadFile xferBadShare tarErrs
compress sizeExistComp sizeNewComp
noFill fillFromNum mangle xferMethod level
They are described in the docs. You will need to look at the
log file to figure out which backups are full or incr.
You can set most fields to 0 (eg: all the stats for number
of files). But make sure compress = 1, mangle = 1.
Also noFill = 1 for incr and 0 for full. The backup
times in startTime and endTime (in unix seconds) don't
really matter - so long as you don't set them in the
future. If they are too old then the next backup will
be a full. I'd recommend copy a good backups file and
just editing the relevant fields.
To improve the odds of getting it right, it would be pretty easy to
write a short script that re-creates a minimal backups file, except
for full vs incr which you need to get from the LOG file.
Craig
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/