Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Les Mikesell
On Tue, Sep 19, 2017 at 2:21 PM, Jeffrey West
 wrote:
> Les,
>
> Thanks!  I didn't realize you could edit the individual configs from the web
> interface.

Yes, not only that but if you have identical or near-clone systems you
can copy the setup by adding them in the web interface with the syntax
newname=oldname instead of just the new name.

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] File not present in backup

2017-09-19 Thread Jenkins, Wade William
I’ve not seen this behavior persist—that I know of--but I’m still concerned 
about the fact that it happened.  Does anyone have further thoughts?

From: "Jenkins, Wade William" 
Date: Tuesday, August 29, 2017 at 1:54 PM
To: "General list for user discussion, questions and support" 

Cc: Craig Barratt 
Subject: Re: [BackupPC-users] File not present in backup

Rsync, runs as root, all backups were completed at the time of attempted 
recovery.

I’ve looked through the logs regarding one of the cases and found that the 
directory does not appear in the backup log on the day of the attempted 
restore, nor the day before.  It is, however, in the backup log from two days 
before.

Thanks for your help,
Wade

From: Craig Barratt via BackupPC-users 
Reply-To: "General list for user discussion, questions and support" 

Date: Monday, August 28, 2017 at 12:15 AM
To: "General list for user discussion, questions and support" 

Cc: Craig Barratt 
Subject: Re: [BackupPC-users] File not present in backup

Wade,

What XferMethod are you using?  Does the backup run as root, or as a 
non-privileged user?  Did the 11:00 backup finish before 15:00?

If you look in the XferLOG file, do you see that the file was backed up?  
Similarly for the directory?

Craig

On Fri, Aug 25, 2017 at 10:57 AM, Jenkins, Wade William 
> wrote:
I’m currently standing up a backuppc 4 server, and have a backuppc 3 server 
still running, backing up the same systems.

I have had two instances recently where a user deleted a file at, say 15:00 on 
Tuesday, but when I tried to restore it from a backup than ran at 11:00 on the 
same Tuesday, the file was not there, nor in the 11:00 backup from Monday.  I’m 
currently between backuppcs, so I go look at my BackupPC3 server, and it has 
the file from a 12:00 backup on Tuesday.  Is there a reason that a deleted file 
would not be present in a backup taken *before* it was deleted.
In one case (which I’ve misplaced the screen shot of, unfortunately), I had a 
user come in having just deleted the wrong directory.  I pulled up his files in 
the backup, but there was no copy of that directory, which he had created one 
week prior (~5 days worth of backups caught this directory).  In the history 
view, there was a row for the directory that was entirely red, without a single 
version of the directory or its files.  BackupPC knew about the directory, but 
couldn’t give me a copy of it.

I’m concerned about restores in the future, if BackupPC4 doesn’t actually list 
all the files in a given backup.  Can anyone help me understand what’s going on?

Thanks for your help,
Wade

--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Les,

Thanks!  I didn't realize you could edit the individual configs from the web
interface.  The syntax was wrong and it is working now.   The following is
what works.  The RsyncShareName needed [ ]

$Conf{RsyncdClientPort} = 873;
$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
$Conf{XferMethod} = 'rsyncd';
$Conf{FullAgeMax} = 8;
$Conf{RsyncdUserName} = 'backup';
$Conf{RsyncdPasswd} = 'backup';
$Conf{RsyncShareName} = [
  'c-drive'
];

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 1:41 PM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 12:24 PM, Jeffrey West
 wrote:
> This is what I am seeing from the web interface.
>
> Last status is state "idle" (backup failed) as of 9/19 09:28.
> Last error is "Unknown module '/'".
> Pings to l-jwest17b.corpnet.com have succeeded 50 consecutive times.
>
> I wonder why it would not parse the sharename correctly.  I believe
> the syntax is correct.

I mean the configuration editor for the host:
http://backuppc.sourceforge.net/BackupPC-4.1.1.html#Configuration-and-Host-Editor

It should parse things the same way as the running system.

--
  Les Mikesell
lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
This is what I am seeing from the web interface.

Last status is state "idle" (backup failed) as of 9/19 09:28.
Last error is "Unknown module '/'".
Pings to l-jwest17b.corpnet.com have succeeded 50 consecutive times.

I wonder why it would not parse the sharename correctly.  I believe the
syntax is correct.

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 1:00 PM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 11:10 AM, Jeffrey West
 wrote:
> I am using a pl config file just for my host which has the following
> in it now.
>
> $Conf{RsyncdClientPort} = 873;
> $Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com'; $Conf{XferMethod} =
> 'rsyncd'; $conf{RsyncShareName} = 'c-drive'; $Conf{FullAgeMax} = '8';
> $Conf{RsyncdUserName} = 'backup'; $Conf{RsyncdPasswd} = 'backup';
>
> I created a user / pass combination to see if that would help, but it
> didn't.  I also changed the RsyncShareName to see if that would help,
> but it didn't.
>

What do you see if you look at it in the web configuration interface
for that host?   If it is still trying to access '/' it is not parsing
your sharename the way you expect.

-- 
Les Mikesell
  lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Les Mikesell
On Tue, Sep 19, 2017 at 11:10 AM, Jeffrey West
 wrote:
> I am using a pl config file just for my host which has the following in it
> now.
>
> $Conf{RsyncdClientPort} = 873;
> $Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
> $Conf{XferMethod} = 'rsyncd';
> $conf{RsyncShareName} = 'c-drive';
> $Conf{FullAgeMax} = '8';
> $Conf{RsyncdUserName} = 'backup';
> $Conf{RsyncdPasswd} = 'backup';
>
> I created a user / pass combination to see if that would help, but it
> didn't.  I also changed the RsyncShareName to see if that would help, but it
> didn't.
>

What do you see if you look at it in the web configuration interface
for that host?   If it is still trying to access '/' it is not parsing
your sharename the way you expect.

-- 
Les Mikesell
  lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Craig Barratt via BackupPC-users
(please ignore this reply - I queued it up a few hours ago on a plane ride,
and it just sent now after several more useful replies to the thread)

On Tuesday, September 19, 2017, Craig Barratt <
cbarr...@users.sourceforge.net> wrote:

> Gandalf,
>
> What XferMethod are you using?
>
> Yes, it would be interesting to see the strace output for each
> BackupPC_dump process when it hangs.
>
> Craig
>
> On Tuesday, September 19, 2017, 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
>> :
>> > 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
>> > :
>> >> 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/
>>
>
--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Craig Barratt via BackupPC-users
Gandalf,

What XferMethod are you using?

Yes, it would be interesting to see the strace output for each
BackupPC_dump process when it hangs.

Craig

On Tuesday, September 19, 2017, 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
> >:
> > 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
> > >:
> >> 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/
>
--
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/


Re: [BackupPC-users] cygwin-rsyncd-3.1.2.1: service cygrunsrv

2017-09-19 Thread Craig Barratt via BackupPC-users
Yes, the latest cygwin-rsyncd-3.1.2.1 is only 64 bit.

In addition to trying deltacopy, you could try removing the --protect-args
option from $Conf{RsyncArgs}.

Craig

On Monday, September 18, 2017, Pascal Mosimann 
wrote:

> Le 18. 09. 17 à 15:32, Carl Soderstrom a écrit :
> >> From: Pascal Mosimann >
> >> I have a dozen of Windows XP clients that I would like to upgrade with
> >> the latest cygwin-rsyncd-3.1.2.1. But when I launch the executable
> >> files, I get the message "Not a valid Win32 application".
> >> Does anybody know how to compile cygwin-rsyncd to run on Windows XP?
> > It may be easiest to go back to an earlier version of Cygwin. Cygwin
> dropped support for WXP a while ago.
> > Alternatively, you can do BackupPC backups over SMB.
> I dropped Cygwin for Deltacopy, it worked as expected :-) see
> https://github.com/backuppc/backuppc/wiki/How-to-make-
> Backup-using-Rsync-server-on-Windows
>
> Thanks!
> >
> > --
> > Carl Soderstrom
> > Real Time Enterprises
> > 952-943-8700
> > 
> --
> > 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/
>
--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
I am using a pl config file just for my host which has the following in it
now.

$Conf{RsyncdClientPort} = 873;
$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';
$Conf{XferMethod} = 'rsyncd';
$conf{RsyncShareName} = 'c-drive';
$Conf{FullAgeMax} = '8';
$Conf{RsyncdUserName} = 'backup';
$Conf{RsyncdPasswd} = 'backup';

I created a user / pass combination to see if that would help, but it
didn't.  I also changed the RsyncShareName to see if that would help, but it
didn't.

Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216
Direct 407-542-7697
Cell407-925-7030
www.riptidesoftware.com

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Tuesday, September 19, 2017 11:17 AM
To: Jeffrey West 
Cc: General list for user discussion, questions and support

Subject: Re: [BackupPC-users] Backing up Windows using rsync

On Tue, Sep 19, 2017 at 7:59 AM, Jeffrey West
 wrote:
>
> Changing the method to rsyncd made some progress.  It now connects on
> port 873.  I am now getting this error
>
> Last error is "Unknown module '/'".
>
> $Conf{XferMethod} = 'rsyncd';
>
> $conf{RsyncShareName} = 'C';

Something is wrong in your config.  Backuppc thinks you have
$conf{RsyncShareName} = '/';   (the default).
Are you using the web interface to make and view the config changes for this
host?

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
Yes, running this right now on both: server and client.

2017-09-19 18:00 GMT+02:00 Les Mikesell :
> On Tue, Sep 19, 2017 at 10:47 AM, Gandalf Corvotempesta
>  wrote:
>> 2017-09-19 17:41 GMT+02:00 Les Mikesell :
>>> If your client rsyncd is configured to write a log file you should be
>>> able to see the invocation there.   Just guessing, I'd say there is
>>> probably something wrong in your excludes and you are wandering into
>>> the /sys, /proc, or /dev directories and hanging when you access the
>>> contents.
>>
>> rsyncd is logging, but there isn't any invocation argument.
>> Anyway, the same command line (except for the "bpc" custom arguments)
>> is used by my
>> with rsnapshot and plain "rsync" and i'm able to backup the whole
>> server without issues.
>>
>> Maybe BPC is unable to manage some kind of files that plain rsync is
>> able to handle ?
>
> A brute-force approach to debugging would be to start an strace on the
> rsyncd client soon after the backup starts and after it hangs try to
> figure out the failing operation and hope you have enough scroll back
> buffer to find where the relevant file descriptor was opened so you
> know what it was.
>
> --
> Les Mikesell
>   lesmikes...@gmail.com
>
> --
> 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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
2017-09-19 16:51 GMT+02:00 Gandalf Corvotempesta
:
> /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 /


Removed "--inplace" from the command like and running the same backup
right now from BPC.
It's too early to be sure, but seems to go further. Let's see during the night.

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Les Mikesell
On Tue, Sep 19, 2017 at 10:47 AM, Gandalf Corvotempesta
 wrote:
> 2017-09-19 17:41 GMT+02:00 Les Mikesell :
>> If your client rsyncd is configured to write a log file you should be
>> able to see the invocation there.   Just guessing, I'd say there is
>> probably something wrong in your excludes and you are wandering into
>> the /sys, /proc, or /dev directories and hanging when you access the
>> contents.
>
> rsyncd is logging, but there isn't any invocation argument.
> Anyway, the same command line (except for the "bpc" custom arguments)
> is used by my
> with rsnapshot and plain "rsync" and i'm able to backup the whole
> server without issues.
>
> Maybe BPC is unable to manage some kind of files that plain rsync is
> able to handle ?

A brute-force approach to debugging would be to start an strace on the
rsyncd client soon after the backup starts and after it hangs try to
figure out the failing operation and hope you have enough scroll back
buffer to find where the relevant file descriptor was opened so you
know what it was.

-- 
Les Mikesell
  lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
2017-09-19 17:41 GMT+02:00 Les Mikesell :
> If your client rsyncd is configured to write a log file you should be
> able to see the invocation there.   Just guessing, I'd say there is
> probably something wrong in your excludes and you are wandering into
> the /sys, /proc, or /dev directories and hanging when you access the
> contents.

rsyncd is logging, but there isn't any invocation argument.
Anyway, the same command line (except for the "bpc" custom arguments)
is used by my
with rsnapshot and plain "rsync" and i'm able to backup the whole
server without issues.

Maybe BPC is unable to manage some kind of files that plain rsync is
able to handle ?

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Les Mikesell
On Tue, Sep 19, 2017 at 9:51 AM, Gandalf Corvotempesta
 wrote:
> I can't get rsync command from the client system, as "ps aux" doesn't
> show the command invocation by the server.

If your client rsyncd is configured to write a log file you should be
able to see the invocation there.   Just guessing, I'd say there is
probably something wrong in your excludes and you are wandering into
the /sys, /proc, or /dev directories and hanging when you access the
contents.

-- 
   Les Mikesell
lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Michael Stowe

On 2017-09-19 05:55, Jeffrey West wrote:

Yes,

I am looking for a way that is does not connect on port 22, but
instead connects to port 873 and just uses rsync to do the transfer.
My machine has rsync running and listening on port 873

C:\Users\jeffrey.west>netstat -an | grep 873

  TCP0.0.0.0:873 [3]0.0.0.0:0 [4]
LISTENING

  TCP[::]:873   [::]:0 LISTENING


That would be ... rsyncd.  Note that it's separate and distinct from 
"rsync."
--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Ray Frush
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 :
> > 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
> >  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 

Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
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 :
> 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
>  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 :
>> > 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
>> 

Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Ray Frush
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 :
> > 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
> >  wrote:
> >>
> >> Still getting the same issue.
> >> Backup for a couple of host are impossible, bpc hangs (at different
> >> progresses) and doesn't 

Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Les Mikesell
On Tue, Sep 19, 2017 at 7:59 AM, Jeffrey West
 wrote:
>
> Changing the method to rsyncd made some progress.  It now connects on port 
> 873.  I am now getting this error
>
> Last error is "Unknown module '/'".
>
> $Conf{XferMethod} = 'rsyncd';
>
> $conf{RsyncShareName} = 'C';

Something is wrong in your config.  Backuppc thinks you have
$conf{RsyncShareName} = '/';   (the default).
Are you using the web interface to make and view the config changes
for this host?

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
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 :
> 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
>  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
>> :
>> > 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
>> > :
>> >> 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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Ray Frush
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
> :
> > 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
> > :
> >> 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/


Re: [BackupPC-users] RefCntFsck

2017-09-19 Thread Gandalf Corvotempesta
Ok, so this is expected.
Thank you.

2017-09-19 14:39 GMT+02:00 Craig Barratt via BackupPC-users
:
> If a backup fails or is aborted, BackupPC_refCntUpdate is run on the last
> two backups, independent of the $Conf{RefCntFsck} setting.
>
> Craig
>
>
> On Tuesday, September 19, 2017, Gandalf Corvotempesta
>  wrote:
>>
>> refCnt is also run on backup #1 (that in my case is the incremental
>> that i've aborted).
>>
>> is this correct ? I had a similiar issue with the alpha version, where
>> an fsck was always executed, but AFAIK this bug was fixed when BPC 4
>> was released as stable.
>>
>> 2017-09-19 14:11 GMT+02:00 Gandalf Corvotempesta
>> :
>> > Can someone explain me the meaning of $Conf{RefCntFsck} = 1; ?
>> >
>> > If I understood properly, based on docs, $Conf{RefCntFsck} = 1 will
>> > run a refCnt process if the latest backup is full.
>> >
>> > In my case, I have a single full backup and i've aborted an
>> > incremental one, then refCnt is run on the full backup.
>> >
>> > Why? I've aborted an incremental, refCnt was already executed on the
>> > full backup when I did that some days ago. Why BPC is still running
>> > refCnt ?
>>
>>
>> --
>> 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/
>

--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Changing the method to rsyncd made some progress.  It now connects on port
873.  I am now getting this error



A command for l-jwest17b.corpnet.com is on the command queue (will run
soon).

Last status is state "idle" (backup failed) as of 9/19 08:56.

Last error is "Unknown module '/'".

Pings to l-jwest17b.corpnet.com have succeeded 43 consecutive times



My config is now



[root@backuppc pc]# vi l-jwest17b.corpnet.com.pl

$Conf{RsyncdClientPort} = 873;

$Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com';

$Conf{XferMethod} = 'rsyncd';

$conf{RsyncShareName} = 'C';

$Conf{FullAgeMax} = '8';

$Conf{RsyncClientCmd} = 'backuppc $host $rsyncPath $argList+';

$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath
$argList+';





Jeff West

Systems Engineer

Riptide Software

Office 321-296-7724 ext 216

Direct 407-542-7697

Cell407-925-7030

www.riptidesoftware.com



-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: Monday, September 18, 2017 5:01 PM
To: General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
Cc: Jeffrey West 
Subject: Re: [BackupPC-users] Backing up Windows using rsync



On Mon, Sep 18, 2017 at 1:47 PM, Jeffrey West via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> All,

>

> I have rsync up and running on Windows and can successfully transfer files

> by running the rsync command from the BackupPC command line.   I do not
want

> to use SSH.  Is there some way I can tell BackupPC not to use SSH when

> connecting via rsync?  This is my config file

>

> $Conf{RsyncdClientPort} = 873;

> $Conf{ClientNameAlias} = 'l-jwest17b.corpnet.com'; $Conf{XferMethod} =

> 'rsync';



If you are running a standalone rsync daemon on the target system, use
rsyncd as the xfermethod instead of rsync.



> $conf{RsyncShareName} = 'C';



And the sharename(s) should match the 'modules' you configured in your
rsyncd.conf.



-- 

Les Mikesell

  lesmikes...@gmail.com
--
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/


Re: [BackupPC-users] Backing up Windows using rsync

2017-09-19 Thread Jeffrey West via BackupPC-users
Yes,



I am looking for a way that is does not connect on port 22, but instead
connects to port 873 and just uses rsync to do the transfer.  My machine
has rsync running and listening on port 873



C:\Users\jeffrey.west>netstat -an | grep 873

  TCP0.0.0.0:8730.0.0.0:0  LISTENING

  TCP[::]:873   [::]:0 LISTENING



Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216 <(321)%20296-7724>
Direct 407-542-7697 <(407)%20542-7697>
Cell407-925-7030 <(407)%20925-7030>
www.riptidesoftware.com



*From:* Michael Stowe [mailto:michael.st...@member.mensa.org]
*Sent:* Monday, September 18, 2017 5:25 PM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Cc:* Jeffrey West 
*Subject:* Re: [BackupPC-users] Backing up Windows using rsync



On 2017-09-18 11:47, Jeffrey West via BackupPC-users wrote:

All,

I have rsync up and running on Windows and can successfully transfer files
by running the rsync command from the BackupPC command line. I do not want
to use SSH. Is there some way I can tell BackupPC not to use SSH when
connecting via rsync? This is my config file

$Conf{RsyncdClientPort} = 873; $Conf{ClientNameAlias} = ‘
l-jwest17b.corpnet.com’; $Conf{XferMethod} = ‘rsync’; $conf{RsyncShareName}
= ‘C’; $Conf{FullAgeMax} = ‘8’; $Conf{RsyncClientCmd} = ‘backuppc $host
$rsyncPath $argList+’; $Conf{RsyncClientRestoreCmd} = ‘$sshPath -q -x -l
backuppc $host $rsyncPath $argList+’;

Jeff West Systems Engineer Riptide Software Office 321-296-7724 ext 216
Direct 407-542-7697 Cell 407-925-7030 www.riptidesoftware.com

Are you looking for an answer other than “use rsyncd?”
--
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/


Re: [BackupPC-users] RefCntFsck

2017-09-19 Thread Craig Barratt via BackupPC-users
If a backup fails or is aborted, BackupPC_refCntUpdate is run on the last
two backups, independent of the $Conf{RefCntFsck} setting.

Craig

On Tuesday, September 19, 2017, Gandalf Corvotempesta <
gandalf.corvotempe...@gmail.com> wrote:

> refCnt is also run on backup #1 (that in my case is the incremental
> that i've aborted).
>
> is this correct ? I had a similiar issue with the alpha version, where
> an fsck was always executed, but AFAIK this bug was fixed when BPC 4
> was released as stable.
>
> 2017-09-19 14:11 GMT+02:00 Gandalf Corvotempesta
> >:
> > Can someone explain me the meaning of $Conf{RefCntFsck} = 1; ?
> >
> > If I understood properly, based on docs, $Conf{RefCntFsck} = 1 will
> > run a refCnt process if the latest backup is full.
> >
> > In my case, I have a single full backup and i've aborted an
> > incremental one, then refCnt is run on the full backup.
> >
> > Why? I've aborted an incremental, refCnt was already executed on the
> > full backup when I did that some days ago. Why BPC is still running
> > refCnt ?
>
> 
> --
> 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/


Re: [BackupPC-users] RefCntFsck

2017-09-19 Thread Gandalf Corvotempesta
refCnt is also run on backup #1 (that in my case is the incremental
that i've aborted).

is this correct ? I had a similiar issue with the alpha version, where
an fsck was always executed, but AFAIK this bug was fixed when BPC 4
was released as stable.

2017-09-19 14:11 GMT+02:00 Gandalf Corvotempesta
:
> Can someone explain me the meaning of $Conf{RefCntFsck} = 1; ?
>
> If I understood properly, based on docs, $Conf{RefCntFsck} = 1 will
> run a refCnt process if the latest backup is full.
>
> In my case, I have a single full backup and i've aborted an
> incremental one, then refCnt is run on the full backup.
>
> Why? I've aborted an incremental, refCnt was already executed on the
> full backup when I did that some days ago. Why BPC is still running
> refCnt ?

--
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/


[BackupPC-users] RefCntFsck

2017-09-19 Thread Gandalf Corvotempesta
Can someone explain me the meaning of $Conf{RefCntFsck} = 1; ?

If I understood properly, based on docs, $Conf{RefCntFsck} = 1 will
run a refCnt process if the latest backup is full.

In my case, I have a single full backup and i've aborted an
incremental one, then refCnt is run on the full backup.

Why? I've aborted an incremental, refCnt was already executed on the
full backup when I did that some days ago. Why BPC is still running
refCnt ?

--
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/


Re: [BackupPC-users] BackuPC 4 hang during transfer

2017-09-19 Thread Gandalf Corvotempesta
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
:
> 2017-09-18 14:30 GMT+02:00 G.W. Haywood via BackupPC-users
> :
>> 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/