To see BackupPC progress, I thought a little more about Tyler's 
suggestion, and came up with this: 
 watch "lsof -n -ubackuppc | grep -v \" mem \""
Whether rsync or smbclient are used, files being opened by the user 
backuppc show up in this list.
Probably someone can come up with a refinement of this but the man page 
for lsof is a little long :-) .
Greetings,
Jürgen Depicker




From:   "Tyler J. Wagner" <ty...@tolaris.com>
To:     "General list for user discussion, questions and support" 
<backuppc-users@lists.sourceforge.net>
Date:   22/12/2010 14:56
Subject:        Re: [BackupPC-users] How to restore 200GB as fast/easily 
as possible?



On Wed, 2010-12-22 at 08:21 -0500, gimili wrote:
> I left it running all night and it is still not done.  It shows it
> running in the web interface but when I do a "df" on the target
> machine the "Used Available Use%" are not changing at all which make
> me think that it is not working plus it should have been done by now.

My biggest complaint about BackupPC (and I have few), is that both
backups and restores show nothing when in progress. At least with rsync.
I'd prefer something like a way to see the last 10 files copied, or
something, just to see what it is doing.

Gimili, you can run this on the target machine:

for i in `ps -ef | grep rsync | grep -v grep | awk '{print $2};'` ; do
lsof -n | grep $i ; done

This will list all open files currently in use by any processes named
"rsync". A few of those will be the files currently being read or
written. You can use this to see what is happening.

I had a problem recently where rsync restores failed if they ran longer
than 12 seconds or so. The problem turned out to be /tmp having the
wrong permissions. Make sure it is mode 1777 (rwxrwxrwt).

Regards,
Tyler

-- 
"If one would give me six lines written by the hand of the most honest
man, I would find something in them to have him hanged."
  -- Armand Jean du Plessis, Cardinal Richelieu


------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google 
Apps:
an online email calendar, and document program that's accessible from your 

browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to