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

2017-09-18 Thread Michael Stowe

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
Cell407-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] Backing up Windows using rsync

2017-09-18 Thread Les Mikesell
On Mon, Sep 18, 2017 at 1:47 PM, 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';

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/


[BackupPC-users] Backing up Windows using rsync

2017-09-18 Thread Jeffrey West via BackupPC-users
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
Cell407-925-7030
www.riptidesoftware.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] cygwin-rsyncd-3.1.2.1: service cygrunsrv

2017-09-18 Thread Pascal Mosimann
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/


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

2017-09-18 Thread Pascal Mosimann
Le 18. 09. 17 à 01:05, Michael Stowe a écrit :
>
> On 2017-09-17 04:45, Pascal Mosimann wrote:
>
> Hi,
>
> 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”.
>
> While you haven't described how you've gotten to this point, how
> you've installed cygwin, normally, upgrading over an existing cygwin
> installation is relatively straightforward. Taking the error at face
> value, one might speculate that you've accidentally selected a 64-bit
> deployment.
>
Thanks for your answers. It helps a lot! Sorry for the missing context,
here you go...

I downloaded the cygwin-rsyncd-3.1.2.1 package from Sourceforge at
https://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.1.2.1/cygwin-rsyncd-3.1.2.1_installer.exe/download.
On the Windows XP machine, I ran the installer with double-click on the
cygwin-rsyncd-3.1.2.1_installer.exe (I have admin privileges). The
upgrade process replaces the binaries but the cygrunsrv service is not
there. If I run maually from a command promt either cygrun or rsync from
the command line, I get the popup message “Not a valid Win32 application”.

Should I report that issue the devel mailing list instead?

> Does anybody know how to compile cygwin-rsyncd to run on Windows XP?
>
> Yes, and it's both straightforward and unnecessary, as simply
> installing the correct packages should suffice. As I mention, there's
> no indication of what trouble you're encountering, so it's difficult
> to tell you how to proceed (and it would be silly and irresponsible to
> simply reproduce the cygwin installation instructions) but I do happen
> to have an installer that will select working versions of rsync for
> Windows platforms and install them for you, if you prefer to avoid
> cygwin's way of doing things.
>
Very good point! I'll install Rsyncd from the Cygwin environment
(eventhough it is a much more lenghty process than running
cygwin-rsyncd-3.1.2.1_installer.exe).

> Background: I wanted to upgrage to the latest version because I
> thought it would help to resolve the problem I'm getting with the
> rsync-3.0.9.0 client with backuppc version 4.1.3:   rsync: on
> remote machine: -slHogDtprcx: unknown option
>
> I don't believe this is an issue corrected by a version upgrade, but
> (of course) I haven't done the homework to see what option it doesn't
> like.
>
I'll give it a try with the new client and let you know!

Thanks again.

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


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

2017-09-18 Thread Carl Soderstrom
> 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.

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


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

2017-09-18 Thread G.W. Haywood via BackupPC-users

Hi there,

On Mon, 18 Sep 2017, Gandalf Corvotempesta wrote:


I'm tryiig to backup 2 hosts with BPC4 but bpc seems to be frozen
during transfer.  [...] nothing happens from about 3 hours.


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.

https://sourceforge.net/p/backuppc/mailman/message/35769986/

--

73,
Ged.

--
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] BackuPC 4 hang during transfer

2017-09-18 Thread Gandalf Corvotempesta
Hi,
I'm tryiig to backup 2 hosts with BPC4 but bpc seems to be frozen
during transfer.

I'm stracing both processes (the main bpc process and both transfer
process) but nothing
happens from about 3 hours.

Any clue?

--
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] BPC4: shared files from pool and compression

2017-09-18 Thread Gandalf Corvotempesta
Hi to all.
I'm testing BPC4 by backing up a couple of hosts.
These hosts are mostly identical, thus I would expect that most of the files
are shared between the pool.

How can I check this ? In example, /bin/ls should be the same on all hosts,
how can I check if /bin/ls is seen from the pool or if BPC is
transferring it again?

Second question: by disabling compression (i'm using ZFS with native
compression),
and I don't want to resync everything again by disabling the
compression, what if I set
it to "1" ? It should be very very fast and less CPU-intesive than 3
(default), right ?

Any way to remove compression automatically from the whole pool
without resync everything?
Our first sync requires 1 or 2 days (on certain servers) to be
completed, I don't want to start
backups from scratch.

May be something like this proof-of-concept ?

find /var/backups/backuppc/cpool -type f - exec gunzip {} \;

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