On Mon, Apr 18, 2011 at 12:01:06AM +0930, Chris Bennett wrote:
> > Is it possible/how to view details on a backup in progress - for
> > example, it would be great to see what file it is backing up, how
> > many/how big the backup is so far.  Totals would be nice, like 100
> > files totaling 200MB backed up out of 500 files totaling 2GB.
> > 
> > I have a slow backup and I have no idea how far along it is.
> 
> I don't any suggestions on measuring % completion or throughput, but
> if you are using rsync on an OS that has strace available, you can do
> something like:
>   # strace -fp `pidof rsync` -e open
>   [..]
>   open("usr/lib/chromium-browser/xdg-mime", O_RDONLY) = 3
>   open("usr/lib/chromium-browser/xdg-settings", O_RDONLY) = 3
>   open("usr/lib/cli/Mono.Addins-0.2/Mono.Addins.dll", O_RDONLY) = 3
>   [..]
> 
> on the host you are backing up.
> 
> You can do something similar on the backuppc server but you'll see
> I/O activity on the file pool path, which may or may not be of use to you.

Also lsof -p <rsync pid> can show you which files are open. Similarly
for the server on the backuppc system.


-- 
                                -- rouilj

John Rouillard       System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to