Gandalf-

Hopefully, someone with more rsyncd experience can step in and help.   I
haven't used the rsyncd method for 3-4 years, and don't have any current
examples to help you with.

Good luck!
--
Ray Frush

On Tue, Sep 19, 2017 at 9:32 AM, Gandalf Corvotempesta <
gandalf.corvotempe...@gmail.com> wrote:

> rsyncd is running on all servers, as i'm able to backup them properly
> with plain rsync or rsnapshot.
> Only BPC is freezing.
>
> I don't use SSH at all, i'm directly connecting to rsyncd via rsync.
>
> 2017-09-19 17:19 GMT+02:00 Ray Frush <fr...@rams.colostate.edu>:
> > Gandalf-
> >
> > It looks like you're using the "rsyncd" method vs "rsync" is that
> correct?
> > I don't have experience using the 'rsyncd' method, so my ability to
> continue
> > troubleshooting ends here.  The main thing that jumps out at me is to
> check
> > that rsyncd is actually running on your clients, and that you can connect
> > from the backuppc server using the command you found above.
> >
> >
> > I use the 'rsync' method, and the rest of my answer below is predicated
> on
> > that scheme:
> >
> > I kicked off a backup and did a 'ps -elf | grep backuppc' to get these
> from
> > the BackupPC server:
> >
> > 1) the BackupPC_dump command
> >
> > backuppc  9603  3682  0 09:05 ?        00:00:00 /usr/bin/perl
> > /usr/local/BackupPC/bin/BackupPC_dump -i isast201
> >
> > 2) the local rsync_bpc instanc:
> >
> > backuppc  9606  9603  8 09:05 ?        00:00:03 /usr/local/bin/rsync_bpc
> > --bpc-top-dir /mnt/backups/BackupPC --bpc-host-name isast201
> > --bpc-share-name / --bpc-bkup-num 118 --bpc-bkup-comp 3
> --bpc-bkup-prevnum
> > 117 --bpc-bkup-prevcomp 3 --bpc-bkup-inode0 203221 --bpc-attrib-new
> > --bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync
> > --super --recursive --protect-args --numeric-ids --perms --owner --group
> -D
> > --times --links --hard-links --delete --partial --log-format=log: %o %i
> %B
> > %8U,%8G %9l %f%L --stats --iconv=utf8,UTF-8 --timeout=72000
> --exclude=stuff
> > isast201:/ /
> >
> > 3) the ssh command initiated by rsync_bpc to the client to initiate the
> > server:  THIS IS THE IMPORTANT ONE to test next:
> >
> > backuppc  9607  9606  1 09:05 ?        00:00:00 /usr/bin/ssh -l root
> > isast201 /usr/bin/rsync --server --sender -slHogDtpre.iLsf --iconv=UTF-8
> >
> > 4) The active portion of process 9606 above:
> >
> > backuppc  9608  9606  0 09:05 ?        00:00:00 /usr/local/bin/rsync_bpc
> > --bpc-top-dir /mnt/backups/BackupPC --bpc-host-name isast201
> > --bpc-share-name / --bpc-bkup-num 118 --bpc-bkup-comp 3
> --bpc-bkup-prevnum
> > 117 --bpc-bkup-prevcomp 3 --bpc-bkup-inode0 203221 --bpc-attrib-new
> > --bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync
> > --super --recursive --protect-args --numeric-ids --perms --owner --group
> -D
> > --times --links --hard-links --delete --partial --log-format=log: %o %i
> %B
> > %8U,%8G %9l %f%L --stats --iconv=utf8,UTF-8 --timeout=72000
> --exclude=stuff
> > isast201:/ /
> >
> >
> > In my example, I have setup ssh keys to allow the BackupPC user to access
> > the clients.
> >
> >
> >
> > On Tue, Sep 19, 2017 at 8:51 AM, Gandalf Corvotempesta
> > <gandalf.corvotempe...@gmail.com> wrote:
> >>
> >> I can't get rsync command from the client system, as "ps aux" doesn't
> >> show the command invocation by the server.
> >> BackupPC is running the following:
> >>
> >> /usr/bin/perl /usr/local/backuppc/bin/BackupPC_dump -i myhost
> >>
> >> spawing two identical processes:
> >>
> >> /usr/local/bin/rsync_bpc --bpc-top-dir /var/backups/backuppc
> >> --bpc-host-name myhost --bpc-share-name everything --bpc-bkup-num 1
> >> --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
> >> --bpc-bkup-inode0 7047290 --bpc-attrib-new --bpc-log-level 0 --super
> >> --recursive --protect-args --numeric-ids --perms --owner --group -D
> >> --times --links --hard-links --delete --delete-excluded --partial
> >> --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats
> >> --block-size=131072 --inplace --timeout=72000
> >> --password-file=/var/backups/backuppc/pc/myhost/.rsyncdpw24363
> >> --exclude=var/backups/* --exclude=admin_backups/*
> >> --exclude=reseller_backups/* --exclude=user_backups/* --exclude=tmp/*
> >> --exclude=proc/* --exclude=sys/* --exclude=media/* --exclude=mnt/*
> >> --exclude=tmp/* --exclude=wp-content/cache/object/*
> >> --exclude=wp-content/cache/page_enhanced/*
> >> --exclude=wp-content/cache/db/*
> >> --exclude=usr/local/directadmin/data/tickets/* --exclude=var/cache/*
> >> --exclude=var/log/directadmin/* --exclude=var/log/lastlog
> >> --exclude=var/log/rsync* --exclude=var/log/bacula/*
> >> --exclude=var/log/ntpstats --exclude=var/lib/mlocate
> >> --exclude=var/lib/mysql/* --exclude=var/lib/apt/lists/*
> >> --exclude=var/cache/apt/archives/* --exclude=usr/local/php55/sockets/*
> >> --exclude=var/run/* --exclude=var/spool/exim/*
> >> backuppc@myhost::everything /
> >>
> >>
> >>
> >> standard rsync works.
> >> rsnapshot works too (i'm using rsnapshot to backup this host, as BPC
> >> freeze)
> >>
> >> 2017-09-19 16:42 GMT+02:00 Ray Frush <fr...@rams.colostate.edu>:
> >> > Gandalf-
> >> >
> >> > As a troubleshooting step, collect the actual running rsync commands
> >> > from
> >> > the client system, and from the BackupPC server (found in the
> Xferlog).
> >> > Post them here to get a wider audience.
> >> >
> >> > Try running an rsync manually  using the same parameters, and see if
> it
> >> > works.  My guess is not, and there is a misconfiguration that will
> leap
> >> > out
> >> > at you as you work through this.
> >> >
> >> > I had to do the same thing when I was doing an initial install.
> >> >
> >> > --
> >> > Ray Frush
> >> > Colorado State University.
> >> >
> >> > On Tue, Sep 19, 2017 at 2:52 AM, Gandalf Corvotempesta
> >> > <gandalf.corvotempe...@gmail.com> wrote:
> >> >>
> >> >> Still getting the same issue.
> >> >> Backup for a couple of host are impossible, bpc hangs (at different
> >> >> progresses) and doesn't continue anymore.
> >> >>
> >> >> No load on backup server and on source server. Simply, bpc doesn't
> >> >> transfer.
> >> >>
> >> >> 2017-09-18 15:38 GMT+02:00 Gandalf Corvotempesta
> >> >> <gandalf.corvotempe...@gmail.com>:
> >> >> > 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
> >> >> > <backuppc-users@lists.sourceforge.net>:
> >> >> >> When I first used version 4 I ran into a very similar issue, there
> >> >> >> were one or two bug-fixes which addressed it.  You have not stated
> >> >> >> exactly what version you are using, but first make sure that all
> the
> >> >> >> BPC software is up to date.
> >> >> >
> >> >> > I'm using the latest version: 4.1.3
> >> >>
> >> >>
> >> >>
> >> >> ------------------------------------------------------------
> ------------------
> >> >> Check out the vibrant tech community on one of the world's most
> >> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> >> _______________________________________________
> >> >> 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/
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Time flies like an arrow, but fruit flies like a banana.
> >> >
> >> >
> >> > ------------------------------------------------------------
> ------------------
> >> > Check out the vibrant tech community on one of the world's most
> >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> > _______________________________________________
> >> > 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/
> >> >
> >>
> >>
> >> ------------------------------------------------------------
> ------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> _______________________________________________
> >> 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/
> >
> >
> >
> >
> > --
> > Time flies like an arrow, but fruit flies like a banana.
> >
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > 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/
> >
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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/
>



-- 
Time flies like an arrow, but fruit flies like a banana.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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