BackupPC-users

Re: [BackupPC-users] [SUGGESTION] "Duration/mins" not in decimal format

2009-05-19 11:57:57
Subject: Re: [BackupPC-users] [SUGGESTION] "Duration/mins" not in decimal format
From: Les Mikesell <les AT futuresource DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 19 May 2009 10:53:55 -0500
Boniforti Flavio wrote:
>> Depending on whether you want to entertain bored users, bill 
>> your clients for bandwidth, or conduct scientific 
>> measurements, the answers are likely to be vastly different.
> 
> I need to give my customers statistics about how much data has been
> transferred each month, which means summing up day-by-day the
> transferred amount of data.
> For the HDD space usage, I simply rely on what my "Host Summary" page is
> telling me (Full Size).
> 
> [cut]
> 
>>> Do you already have some sort of practical suggestion?
>> iptables -I INPUT -s client_addr -d backuppc_server_addr -p 
>> tcp --sport 22
>>
>> (and delete it with the same rule with "-D" instead of "-I"). 
>> Supposing you only have one concurrent backup to one host and 
>> no other ssh usage. You might prefer to count outgoing 
>> traffic (well, no, but maybe incoming + outgoing).
>> Note that the rule has no target - it's only for accounting.
> 
> Well, I'm having concurrent backups, but they use different TCP ports,
> thus I can "--sport 8873" and "--sport 8874" and so on for my clients.

If you get this working, let us know how far off it is from the values 
shown for duration and transfer rate (and a 10-25% allowance for ssh 
compression).

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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/