--calculate-average questions
Pavlos Parissis
p_pavlos@freemail.gr
Tue, 3 Sep 2002 16:32:19 +0300
On Mon, 02 Sep 2002 16:52:46 -0700 Ben Escoto <bescoto@stanford.edu> wrote:
> >>>>> "PP" == Pavlos Parissis <p_pavlos@freemail.gr>
> >>>>> wrote the following on Mon, 2 Sep 2002 22:06:20 +0300
>
> PP> Hello all, While i was reading the results of session_statistics
> PP> i realized that i didn't know the meaning of all that info.
>
> This is a good question - there wasn't enough documentation about
> this. I just added a FAQ question on this at:
I think that it would be better if you spend more time for write the documentaion.
I think that the best program without a good documentaion would be useless.
> http://rdiff-backup.stanford.edu/FAQ.html#statistics
OK that's a good start.
> PP> [paul@/mnt/extra/paul_backup/rdiff-backup-data]$ rdiff-backup
> PP> --calculate-average
> PP> session_statistics.2002-09-01T22\:27\:02+03\:00.data
>
> There is no reason to calculate the average of one session!
WHen tried to directory_statistics..... i got:
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 6779, in ?
Globals.Main.Main(sys.argv[1:])
File "/usr/bin/rdiff-backup", line 6488, in Main
self.take_action(rps)
File "/usr/bin/rdiff-backup", line 6472, in take_action
elif self.action == "calculate-average": self.CalculateAverage(rps)
File "/usr/bin/rdiff-backup", line 6742, in CalculateAverage
statobjs = map(lambda rp: StatsObj().read_stats_from_rp(rp), rps)
File "/usr/bin/rdiff-backup", line 6742, in <lambda>
statobjs = map(lambda rp: StatsObj().read_stats_from_rp(rp), rps)
File "/usr/bin/rdiff-backup", line 4812, in read_stats_from_rp
self.set_stats_from_string(fp.read())
File "/usr/bin/rdiff-backup", line 4790, in set_stats_from_string
if not attr in self.stat_attrs: error(line)
File "/usr/bin/rdiff-backup", line 4783, in error
def error(line): raise StatsException("Bad line '%s'" % line)
__main__.StatsException: Bad line '# rdiff-backup directory statistics file'
>
> --
> Ben Escoto
>
PAvlos
PS:PLease don't send me mail, i am in the list.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed
The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~