Hello Jonathan,

I could be wrong about this, but i believe that BackupPC_dump does not
dump on an rsync process.  For Smb and Tar transactions, BackupPC
forks of separate processes to manage the file transfer and the
poolwriting (BackupPC_tarExtract) in a streaming fashion, but these
actions are tied together in an rsync/rsyncd transaction, so there is
no need to fork.

Furthermore, the actual network code is stored in
BackupPC::Xfer::Rsync, along with a couple other modules.  These
should be in /usr/local/BackupPC/Xfer/ by default, but could be placed
elsewhere if you installed from a package.

Adios,

On Thu, Aug 21, 2008 at 10:15 PM, Jonathan Kamens
<[EMAIL PROTECTED]> wrote:
> Incidentally, apropos of all the time I spend debugging earlier today, is
> there a "trick" for running the rsync backup code in BackupPC_dump inside
> the Perl debugger?
>
>
>
> I think that BackupPC_dump forks and runs the rsync stuff in the child
> process.  Is the right answer to figure out where that fork happens and to
> tell the perl debugger that you want to debug the child process after the
> fork?  I've always found it a bit tricky to get the perl debugger and for
> that matter gdb to follow a child process after a fork; any tips?  And where
> exactly does the fork occur (so that if I need to do this again, I can put a
> breakpoint there)?
>
>
>
> Thanks,
>
>
>
> Jonathan Kamens
>
> IT Manager / Principal Engineer
>
> Tamale Software
>
> 201 South Street, Floor 3
>
> Boston, MA  02211
>
> (617) 261-0264 ext. 133
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> BackupPC-devel mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>



-- 
Paul Mantz
http://www.mcpantz.org
Zmanda - Open source backup and recovery http://www.zmanda.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to