BackupPC-users

Re: [BackupPC-users] BackupPC 4.1.x vs. MacOS rsyncd

2017-07-07 17:30:36
Subject: Re: [BackupPC-users] BackupPC 4.1.x vs. MacOS rsyncd
From: Daniel Sperka <djsperka AT ucdavis DOT edu>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 7 Jul 2017 14:04:27 -0700
This might be a shot in the dark, but I had a similar issue pop up on a linux client. I our case there were two backuppc servers (one running v3, one running v4) running against the same client. 

The version 4 client failed with these messages in my syslog:

dan@bucky:~$ gzip -d -c /var/log/syslog.5.gz | grep rsync | less

Jun 18 10:00:02 bucky rsyncd[10902]: name lookup failed for xxx.xxx.xxx.xxx: Temporary failure in name resolution
Jun 18 10:00:02 bucky rsyncd[10902]: connect from UNKNOWN (xxx.xxx.xxx.xxx)
Jun 18 10:00:02 bucky rsyncd[10902]: rsync: The server is configured to refuse --iconv
Jun 18 10:00:02 bucky rsyncd[10902]: rsync error: requested action not supported (code 4) at clientserver.c(973) [sender=3.1.1]

"sender=3.1.1" implies its the bpc4 instance (bpc3 uses 2.6.something). So, the problem occurred on a CLIENT running rsync 3.1.1, with a BACKUPPC HOST running backuppc version 4 (the exact same CLIENT had no issues with backuppc version 3). 


Its an old error, google has lots of references to it. Fix for above problem is to include this line in rsyncd.conf file on the client:

charset = utf-8



Google references explain it pretty well, better than I can right now. Suffice to say, this fixed my problem. 



Dan



On Fri, Jul 7, 2017 at 5:15 AM, <backuppc-users-request AT lists.sourceforge DOT net> wrote:
Send BackupPC-users mailing list submissions to
        backuppc-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/backuppc-users
or, via email, send a message with subject or body 'help' to
        backuppc-users-request@lists.sourceforge.net

You can reach the person managing the list at
        backuppc-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of BackupPC-users digest..."


Today's Topics:

   1. BackupPC 4.1.x vs. MacOS rsyncd (Josh Malone)
   2. SCGI and BackupPC (Akibu Flash)
   3. Re: SCGI and BackupPC (Johan Ehnberg)


----------------------------------------------------------------------

Message: 1
Date: Thu, 6 Jul 2017 11:35:33 -0400
From: Josh Malone <jmalone AT nrao DOT edu>
To: BackupPC-Users <backuppc-users@lists.sourceforge.net>
Subject: [BackupPC-users] BackupPC 4.1.x vs. MacOS rsyncd
Message-ID: <dc32f05f-9062-f915-6356-fd3d5b65c6a4 AT nrao DOT edu>
Content-Type: text/plain; charset=utf-8; format=flowed

All,

I'm currently using backuppc to backup file from a Mac system via
rsyncd. In 3.x this is working fine, but my new 4.1.3 server fails the
backup with zero files. Logs on the mac system indicate that perhaps new
rsync options are being used in 4.x that MacOS rsyncd doesn't like:

rsyncd[49844]: rsync: on remote machine: -slHogDtprcx: unknown option

Indeed, if I run a test rsync locally on the Mac, I get complaints about
the options. If I leave of the "s" from the options string, the command
works.

Is anybody successfully using BackupPC 4.1.x to back up MacOS 10.10?

Is there any way to customize the options used on the Mac client?

Thanks,

-Josh

--
--------------------------------------------------------
        Joshua Malone       Systems Administrator
      (jmalone AT nrao DOT edu)    NRAO Charlottesville
         434-296-0263           www.nrao.edu
        434-249-5699 (mobile)
--------------------------------------------------------



------------------------------

Message: 2
Date: Fri, 7 Jul 2017 06:07:48 +0000
From: Akibu Flash <akibuflash AT outlook DOT com>
To: "General list for user discussion,  questions and support"
        <backuppc-users@lists.sourceforge.net>
Subject: [BackupPC-users] SCGI and BackupPC
Message-ID:
        <DM5PR12MB1916F3980B6BD3ECF3C0ABDFD8AA0@DM5PR12MB1916.namprd12.prod.outlook.com>

Content-Type: text/plain; charset="us-ascii"

All, I have installed BackupPC version 4.1.3 and have started it from the command line using "systemctl start backuppc.service" on a Debian 9 system.  I am now attempting to setup the SCGI web interface.  I have done the following:

In my backuppc config file, I have specified the SCGI Sever Port:  $Conf{SCGIServerPort} = 9999;
In my /etc/apache2/apache2.conf file, I have added the following lines:
                LoadModule scgi_module modules/mod_scgi.so
SCGIMount /BackupPC_Admin 127.0.0.1:9999

The scgi module appears to have been loaded as it is listed in the mods-enabled directory under the /etc/apache2 directory.  However, when I try and access backuppc in a web browser, I get the following error.
Not Found
The requested URL /BackupPC was not found on this server.
________________________________
Apache/2.4.25 (Debian) Server at 10.10.10.32 Port 80


My apache2 server works fine as if I type the ipaddress of the server into the web browser, I get confirmation that "It Works".  It is probably something simple that I am missing.  Do you have any suggestions?  Thanks in advance.

Akibu
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Fri, 07 Jul 2017 09:49:51 +0300
From: Johan Ehnberg <johan AT molnix DOT com>
To: Akibu Flash <akibuflash AT outlook DOT com>
Cc: "General list for user discussion,  questions and support   "
        <backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] SCGI and BackupPC
Message-ID: <20170707064953.EF22841210@web.molnix.com>
Content-Type: text/plain; charset=utf-8

Hi,

Try /BackupPC_Admin as the address.

Best regards,
Johan EhnbergOn Jul 7, 2017 9:07 AM, Akibu Flash <akibuflash AT outlook DOT com> wrote:
>
> All, I have installed BackupPC version 4.1.3 and have started it from the command line using ?systemctl start backuppc.service? on a Debian 9 system.? I am now attempting to setup the SCGI web interface.? I have done the following:
>
> ?
>
> In my backuppc config file, I have specified the SCGI Sever Port: ?$Conf{SCGIServerPort} = 9999;?
>
> In my /etc/apache2/apache2.conf file, I have added the following lines:
>
> ??????????????? LoadModule scgi_module modules/mod_scgi.so
>
> SCGIMount /BackupPC_Admin 127.0.0.1:9999
>
> ?
>
> The scgi module appears to have been loaded as it is listed in the mods-enabled directory under the /etc/apache2 directory.? However, when I try and access backuppc in a web browser, I get the following error.?
>
> Not Found
>
> The requested URL /BackupPC was not found on this server.
>
> ________________________________
>
> Apache/2.4.25 (Debian) Server at 10.10.10.32 Port 80
>
> ?
>
> ?
>
> My apache2 server works fine as if I type the ipaddress of the server into the web browser, I get confirmation that ?It Works?.? It is probably something simple that I am missing.? Do you have any suggestions?? Thanks in advance.
>
> ?
>
> Akibu

------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

Subject: Digest Footer

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


------------------------------

End of BackupPC-users Digest, Vol 132, Issue 3
**********************************************



--
Daniel J. Sperka, Ph. D.
UC Davis Center for Neuroscience
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC