[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] monitor time/speed while backingup
From: |
rader |
Subject: |
Re: [rdiff-backup-users] monitor time/speed while backingup |
Date: |
Sun, 02 Nov 2008 09:09:12 -0600 |
Maybe try this..
dst=/path/to/mirror
f=session_statistics.SOMEDATESPEC.data
secs=`grep ElapsedTime $dst/rdiff-backup-data/$f | awk '{print $2}'`
bytes=`grep TotalDestinationSizeChange $dst/rdiff-backup-data/$f | awk '{print
$2}'`
mbps=`echo -e "scale=2; $bytes/1024/1024/$secs" | bc`
echo $dst backed up at $mbps MBps
or just use rdiff-backup-tools.
I've never seen a backup system report time remaining--that'd
be pretty tricky to code.
steve
--
> From: "anirudh shekhawat" <address@hidden>
>
> Hi there.
> I use rdiff to take backups to an external usb hard disk and i do this
> manually.
> I would really like to monitor my (backup time remaining) or (the transfer
> rate of file) when i run rdiff..
> can you please help me in doing that..