bandwidth generated by rsync to show in DA

PBilodeau

Verified User
Joined
Jan 10, 2009
Messages
10
Hello,

As an extra service, I am providing an online backup solution to some of my clients, using rsync through ssh to copy their most critical files to my server.

Althought rsync generates logs with the detailed bandwidth file by file, this bandwidth is not accounted for in DA. This is as expected. The question is: If I manage to get a summary of the bandwidth used by the RSYNC jobs (I use an rsync daemon, so it's all at the same place), is there an easy way to incorporate this bandwidth in DA's logs?

Something like this would be enough: echo 'bandwidth=123456&user=username' >> /usr/local/directadmin/somefile

If could also be a matter of editing a disk file, I don't mind, as long as there is a way.

Thanks in advance.
 
You could include some php code in the skin to read your log.
 
Search this forum, the knowledgebase, and the versions system for skins and how to run php code in skins.
 
Back
Top