Re: [BackupPC-users] BackupPC 4alpha3

2014-12-29 Thread Craig Barratt
Jim, Sorry about the long delay in replying. Do you still have examples of bad compressed log files? Craig On Monday, February 24, 2014, Jimmy wrote: > Hi, > > I am using BackupPC 4 alpha3. I'm trying to troubleshoot some problems but > I cannot see the log content. > > /usr/local/BackupPC/bi

Re: [BackupPC-users] Boot drive failure recovery options?

2014-12-30 Thread Craig Barratt
On Tuesday, December 30, 2014, Ed Willis wrote: > > Is there a way to restore my latest full backup using the Windows machines I've got handy? > If you first install cygwin (including perl and gcc), you should be able to install the necessary perl modules and then BackupPC from the virgin SF tar

[BackupPC-users] BackupPC 3.3.1 released

2015-01-18 Thread Craig Barratt
I'm pleased to announce that BackupPC 3.3.1 was released a few days ago on SF.net. It's a minor release with a couple of small changes. The ChangeLog is below. Craig # # Version 3.3.1, 11 Jan 2015 #-

[BackupPC-users] File-RsyncP 0.74 released on CPAN and SF

2015-01-18 Thread Craig Barratt
I released File-RsyncP-0.74 on CPAN and SF.net. This is a bug fix release. One notable bug found by Martin Wilck explains some of the random hangs that get reported from time to time. Cumulative changes since 0.70 are below. Craig 0.74 Sat Jan 17 16:50:43 PST 2015 - updated FileList/config.

Re: [BackupPC-users] Problems using the wiki script

2017-02-02 Thread Craig Barratt
These issues should all be fixed in the master branch on github. #45 is now closed. Craig On Wed, Feb 1, 2017 at 7:59 AM, Kent Tenney wrote: > > > On Tue, Jan 31, 2017 at 1:14 AM, Johan Ehnberg wrote: > >> On 01/30/2017 04:58 PM, Kent Tenney wrote: >> > The error msg has changed with current

[BackupPC-users] BackupPC 3.3.2 released

2017-02-02 Thread Craig Barratt
I'm pleased to announce that BackupPC 3.3.2 was released a few days ago on Github and SF.net . It's a minor release with a couple of small changes. The ChangeLog is below. Craig #--

Re: [BackupPC-users] Problems using the wiki script

2017-02-03 Thread Craig Barratt
init.d/src/debian-backuppc. Craig On Fri, Feb 3, 2017 at 6:36 AM, Kent Tenney wrote: > Indeed, from fresh 16.04 install to BackupPC server via one script! > This is really great. > > Thanks, > Kent > > On Thu, Feb 2, 2017 at 8:26 PM, Craig Barratt net> wrote: > >&g

Re: [BackupPC-users] Problems using the wiki script

2017-02-03 Thread Craig Barratt
ng used (eg, some people have submitted patches against it, instead of master). Craig On Fri, Feb 3, 2017 at 10:11 AM, Bob of Donelson Trophy < b...@donelsontrophy.net> wrote: > On 2017-02-03 11:46, Craig Barratt wrote: > > I plan to delete the 4.0.0 branch, which isn't bei

Re: [BackupPC-users] Bpc 4 strange error message

2017-02-03 Thread Craig Barratt
I just pushed a fix for this in rsync_bpc on github. Craig On Tue, Jan 24, 2017 at 10:58 AM, wrote: > Hello, > > We are playing with bpc4 (in parallel with bpc3 running on another > server, just in case). > > Everything seems quite okay, except we have a lot (several hundreds) of > messages lik

Re: [BackupPC-users] Looking for IncrLevel in v4 init script

2017-02-07 Thread Craig Barratt
mph, Yes, that appears to be an old init.d script. And, yes, IncrLevel is no longer present in 4.0.0. None of the recent 3.x.x or 4.0.0 init.d scripts include that code. Craig On Tue, Feb 7, 2017 at 10:57 AM, Michael Huntley wrote: > I noticed that BackupPC would not start and gave a very cr

Re: [BackupPC-users] Problem with v4 Code (12) error

2017-02-11 Thread Craig Barratt
Definitely looks like a bug. Let me see if I can reproduce this. Interesting clue about the strange attrib paths. Does that only happen right before things fail? It would be helpful to run with a higher XferLogLevel (eg: 8). Please send the interesting (last) parts of the log file (email direct

Re: [BackupPC-users] Problem with v4 Code (12) error

2017-02-11 Thread Craig Barratt
Another thing to try is to remove the --bpc-attrib-new option to rsync_bpc by commenting out these two lines in lib/BackupPC/Xfer/Rsync.pm, ie: #'--bpc-attrib-new', Craig On Sat, Feb 11, 2017 at 12:20 AM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > Definite

Re: [BackupPC-users] cygwin-rsyncd-3.0.9.0 and cygwin-rsyncd-3.1.2 file integrity

2017-02-15 Thread Craig Barratt
Removing blat sounds like a good idea. Would someone like to create a new cygwin-rsyncd-3.1.2 wrapper and test it? Currently none of the source files (which are mainly binaries) for the windows client installer are on github. I can add them once we have a clean working version. Craig On Sun, F

Re: [BackupPC-users] Tweak to Lib.pm Backuppc 4.x

2017-03-02 Thread Craig Barratt
Mph, configure.pl should update the value of $useFHS when it does the installation. Did you install from Github using makeDist then configure.pl? Or did you manually copy the files? I noticed in github, backuppc3 lib/BackupPC/Lib.pm has $useFHS = 1, while master (v4) has $useFHS = 0. While that

[BackupPC-users] BackupPC 4.0.0 released

2017-03-04 Thread Craig Barratt
BackupPC community, I'm happy to announce that BackupPC 4.0.0 has been released on Github and SourceForge . BackupPC 4.0.0 is a significant improvement over 3.x in terms of performance

Re: [BackupPC-users] BackupPC 4.0.0 released

2017-03-06 Thread Craig Barratt
> > Will this release be repacked and put on a repo for an easy install with > e.g. yum? Other volunteers create the repo packages, so hopefully they are working on it! Craig On Mon, Mar 6, 2017 at 5:34 AM, Sorin Srbu wrote: > >From: Craig Barratt [mailto:cbarr...@users.

Re: [BackupPC-users] server maintenance: reconstruct missing poolCnt; find/delete references to missing pool files

2017-03-07 Thread Craig Barratt
> > > BackupPC_refCountUpdate: doing fsck on #1188 since there are no > poolCnt files > > BackupPC_refCountUpdate: doing fsck on #1190 since there are no > poolCnt files > > ... > > BackupPC_refCountUpdate: host got 0 errors (took 5 secs) > The backups in question seem to be fully intact; some a

Re: [BackupPC-users] server maintenance: reconstruct missing poolCnt; find/delete references to missing pool files

2017-03-07 Thread Craig Barratt
gt; and thanks a lot for your swift reply. Comforting to see that both > messages are known and harmless. > > On 2017-03-07 18:24, Craig Barratt wrote: > >>> BackupPC_refCountUpdate: doing fsck on #1188 since there are no > poolCnt files > >>> BackupPC_refCo

Re: [BackupPC-users] Converting whole v3 repository to v4?

2017-03-07 Thread Craig Barratt
There are two options to implement this: - truly convert v3 backups to v4 format. This is quite complex since forward deltas (ie, incrementals) would have to be converted into reverse deltas; there are lots of cases to consider and testing them all would take a lot of time. The effor

Re: [BackupPC-users] Converting whole v3 repository to v4?

2017-03-08 Thread Craig Barratt
our data? I deal > with CPA's and lawyers so everything must be saved basically forever but it > doesn't mean the data must be instantly available. Just a thought. > > Cheers! > > mph > > On 2017-03-07 23:19, Craig Barratt wrote: > > There are two options to i

Re: [BackupPC-users] Upgrading from working 3.2.1 (installed from Ubuntu rep) to 4.0.0

2017-03-10 Thread Craig Barratt
Mixing a package-based install and manually installing from the tarball can create issues. I don't believe these error messages are from BackupPC. Perhaps the v3 systemd startup scripts are doing some error checking that doesn't work for 4.0. Does /etc/backuppc/config.pl look like a valid v4 con

Re: [BackupPC-users] systemd init for version 4?

2017-03-10 Thread Craig Barratt
I'd love to include robust systemd templates and clearly written docs in the vanilla BackupPC release (and on the Wiki). Previously, the package managers had to include their own favorite flavors since the upstream release doesn't include any. That presents problems, such as having many different

Re: [BackupPC-users] systemd init for version 4?

2017-03-12 Thread Craig Barratt
, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > I'd love to include robust systemd templates and clearly written docs in > the vanilla BackupPC release (and on the Wiki). Previously, the package > managers had to include their own favorite flavors since the upstream >

Re: [BackupPC-users] Converting whole v3 repository to v4?

2017-03-12 Thread Craig Barratt
I pushed bin/BackupPC_migrateV3toV4 to git. It uses the hybrid approach I mentioned - V3 backups still use the same forward deltas; this script only replaces the hardlinked backups in each directory with V4 attrib files (and MD5 digests). Usage: BackupPC_migrateV3toV4 [-p] [-v] [-h host [-n V3ba

Re: [BackupPC-users] BackupPC4 and nmblookup

2017-03-14 Thread Craig Barratt
Doug, Can you manually run BackupPC_dump on that host (as the BackupPC user) with the -v option? What was the behavior in 3.x? Was jk4679 resolved to an ipv4 address via nmblookup? Craig On Tue, Mar 14, 2017 at 9:26 AM, Doug Lytle wrote: > I've upgraded my BackupPC 3.2.1 install for a 4.0 in

Re: [BackupPC-users] systemd init for version 4?

2017-03-14 Thread Craig Barratt
Richard, Both INT and TERM are handled the same way, so they should be equivalent. Craig On Tue, Mar 14, 2017 at 12:58 PM, Richard Shaw wrote: > Craig, > > I noticed you set ExecStop to use SIGHUP to stop BackupPC but it looks > like the sysv script uses SIGTERM... > > What is the correct way

Re: [BackupPC-users] After migration to V4, rsync backups not working

2017-03-15 Thread Craig Barratt
Holger asked the right questions. Yes, it's an ssh problem, as you note. You've come across what is one of the more likely upgrade issues. In looking at your rsync_bpc command, it doesn't look like $Conf{RsyncArgs} was updated when you installed 4.0, or you have a per-host override. Here's what

Re: [BackupPC-users] BackupPC4 and nmblookup

2017-03-15 Thread Craig Barratt
Thanks, Craig On Wed, Mar 15, 2017 at 4:55 AM, Doug Lytle wrote: > > >>> On Mar 14, 2017, at 7:40 PM, Craig Barratt > cbarr...@users.sourceforge.net wrote: > > >>> Can you manually run BackupPC_dump on that host (as the BackupPC user) > with the -v option? &

Re: [BackupPC-users] Fwd: After migration to V4, rsync backups not working

2017-03-16 Thread Craig Barratt
> > So, I guess that's "bye sourceforge" ... Yes, I'm moving everything off sourceforge to Github, most recently including the project web site (new URL is http://backuppc.github.io/backuppc/index.html, and configure.pl updates that link in config.pl). Craig -

Re: [BackupPC-users] systemd init for version 4?

2017-03-18 Thread Craig Barratt
AM, Richard Shaw wrote: > On Tue, Mar 14, 2017 at 7:07 PM, Craig Barratt < > cbarr...@users.sourceforge.net> wrote: > >> Richard, >> >> Both INT and TERM are handled the same way, so they should be equivalent. >> > > Ok, back from a work trip so

Re: [BackupPC-users] systemd init for version 4?

2017-03-18 Thread Craig Barratt
cause before releasing. I have open suggestions to each reporter to help debug. Does anyone else have open 4.x issues (other than local config etc)? Craig On Sat, Mar 18, 2017 at 9:47 AM, Richard Shaw wrote: > On Sat, Mar 18, 2017 at 10:43 AM, Craig Barratt < > cbarr...@users.sourceforg

Re: [BackupPC-users] v3 to v4 oddity

2017-03-20 Thread Craig Barratt
Michael, Oops - I see a bug in BackupPC_refCountUpdate when it tallies up all the reference counts for each backup. It doesn't include the hybrid (migrated) backups. Here's the diff I just pushed to git. Craig diff --git a/bin/BackupPC_refCountUpdate b/bin/BackupPC_refCountUpdate index 0c2e027

Re: [BackupPC-users] v3 to v4 oddity

2017-03-20 Thread Craig Barratt
at > /usr/share/backuppc/bin/BackupPC_refCountUpdate line 413. > > Not grabbing the directory name? > > Cheers! > > mph > > > > On 2017-03-20 18:31, Craig Barratt wrote: > > Michael, > > Oops - I see a bug in BackupPC_refCountUpdate when it tallies up a

Re: [BackupPC-users] BackupPC 4.0.0 released

2017-03-22 Thread Craig Barratt
#x27;s what you normally use) to install it: sudo cpan install version Craig On Wed, Mar 22, 2017 at 7:40 AM, Steve Palm wrote: > Sorry, I sent this to the developer list, should probably have gone to the > users list... :( > > On Mar 4, 2017, at 1:12 PM, Craig Barratt > wrote

Re: [BackupPC-users] BackupPC 4.0.0 released

2017-03-22 Thread Craig Barratt
Steve, I'm not sure what caused that error. It sounds like you had an old or broken version of Socket, and re-installing it with cpan appears to have fixed it. Craig On Wed, Mar 22, 2017 at 3:26 PM, Steve Palm wrote: > I had installed BackupPC-XS and rsync-bpc, but I re-installed BackupPC-XS

Re: [BackupPC-users] BackupPC: can't run /usr/local/bin/ for version check

2017-03-23 Thread Craig Barratt
Rick, There are potential pitfalls upgrading using the native release tar.gz from an existing package manager installation - the package installer might make choices or enforce policies that configure.pl isn't aware of. That's the rsync_bpc version check. $Conf{RsyncBackupPCPath} is set to "/usr

Re: [BackupPC-users] No files dumped?

2017-03-23 Thread Craig Barratt
Steve, I agree this is a problem area for upgrading to 4.0 and it's the one place where some manual checking or updates may be necessary. Unfortunately it's hard to automatically split up $Conf{RsyncClientCmd} into $Conf{RsyncSshArgs} and $Conf{RsyncClientPath}. Also, $Conf{RsyncClientPath} is n

Re: [BackupPC-users] BackupPC v4 -- pool backups easier?

2017-03-23 Thread Craig Barratt
Steve, Yes, that's one of the major advantages of 4.x - the pool is now much easier to copy or backup. If you upgrade an existing 3.x installation then the hardlinks will still persist for the old backups (4.x is backward compatible - it knows how to view/restore 3.x backups). The 3.x backups wi

[BackupPC-users] BackupPC 4.1.0 released

2017-03-24 Thread Craig Barratt
BackupPC community, I'm happy to announce that BackupPC 4.1.0 has been released on Github . There are also new versions of BackupPC::XS (0.53) and rsync-bpc

Re: [BackupPC-users] rsync_bpc benign status 24

2017-03-27 Thread Craig Barratt
Steve, Yes, if that's the only error, then the backup should be considered ok. The log you pasted does say "Backup aborted by user signal", which is likely why it exited with a fatal error. Did you cancel or abort the backup? It would be helpful to see more of the log file, specifically all of t

Re: [BackupPC-users] Error ' getaddrinfo is not a valid Socket macro' after upgrading to 4.1

2017-03-27 Thread Craig Barratt
Steve Palm reported that error last week on this list. It relates to a patch included in 4.x to make ipv6 work. It's likely you have an old version of perl and Socket.pm. Could you tell us your versions? Run this: perl -v perl -e 'use Socket; print $Socket::VERSION . "\n"' Try upgrading Sock

Re: [BackupPC-users] Ubuntu install script failed

2017-03-28 Thread Craig Barratt
Bob, Do this before you run make: touch configure.sh config.h.in Craig On Tue, Mar 28, 2017 at 5:48 AM, Bob of Donelson Trophy < b...@donelsontrophy.net> wrote: > On 2017-03-28 06:42, Doug Lytle wrote: > > On 03/28/2017 07:22 AM, Bob of Donelson Trophy wrote: > > make: autoconf: Command not fo

Re: [BackupPC-users] Ubuntu install script failed

2017-03-28 Thread Craig Barratt
Bob, I removed the Makefile.in rule that runs autoconf, so if you fetch the current master this error should go away (no need to install autoconf or touch those files). Craig On Tue, Mar 28, 2017 at 8:43 AM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > Bob, > > Do

Re: [BackupPC-users] Error ' getaddrinfo is not a valid Socket macro' after upgrading to 4.1

2017-03-29 Thread Craig Barratt
following for different Debian releases: > > etch1.78 (for the fun of it) > squeeze 1.82 > wheezy 1.94 > jessie 2.013 > > > From: Craig Barratt [mailto:cbarr...@users.sourceforge.net] > > [...] > > Try upgrading Socket.pm: > > > > sudo c

[BackupPC-users] BackupPC 4.1.1 released

2017-03-30 Thread Craig Barratt
BackupPC 4.1.1 has been released on Github. BackupPC 4.1.1 is a bug fix release. There are several minor bug fixes listed below. Craig * Merged pull requests: #77, #78, #79, #82 * Added missing BackupPC_migrateV3toV4 to makeDist (issue

Re: [BackupPC-users] Full backups disappear

2017-04-02 Thread Craig Barratt
How many full backups are you keeping (ie, what are $Conf{FullKeepCnt}, $Conf{FullAgeMax} and $Conf{FullKeepCntMin} set to)? With 4.x, it is no longer necessary to keep extra full backups around for the incrementals (since filled/non-filled and incremental/full are decoupled), so it's possible tho

Re: [BackupPC-users] Full backups disappear

2017-04-04 Thread Craig Barratt
> $Conf{FullAgeMax} = 90; > > I'll try increasing $Conf{FullKeepCnt} to see if that helps. > > /Claus > > Original Message > *Subject: *Re: [BackupPC-users] Full backups disappear > *From: *Craig Barratt > > *To: *General list for user discuss

Re: [BackupPC-users] BackupPC 4.1.1 released

2017-04-04 Thread Craig Barratt
Doug, The hostIP fix did make it into 4.1.0 and 4.1.1, so that shouldn't be the issue. I did make a change to getHostAddrInfo() in lib/BackupPC/Lib.pm; hopefully that didn't break things. Can you look in the server LOG files to see if there are any clues while 4.1.1 was running? Similarly, do

Re: [BackupPC-users] BackupPC 4.1.1 Documentation

2017-04-05 Thread Craig Barratt
Michael, I updated backuppc.sourceforge.net. The new project page is backuppc.github.io/backuppc. I need to add release links to that site. Craig On Wed, Apr 5, 2017 at 3:35 PM, Michael McGregor wrote: > 1) I'm super stoked to see that BackupPC 4 is back under active > development and has

Re: [BackupPC-users] BackupPC 4.1.1 released

2017-04-07 Thread Craig Barratt
Doug, Can you run BackupPC_dump manually, with the -v option, on a host that fails? Eg, su backuppcUser BackupPC_dump -h winsHost -f -v Please email me the output (no need to post to the list). Thanks, Craig On Fri, Apr 7, 2017 at 6:09 AM, Doug Lytle wrote: > > > >>> On Apr 6, 2017, at 7:10

Re: [BackupPC-users] CPAN BackupPC::XS Fails

2017-04-07 Thread Craig Barratt
For the OP, the error says Test::More is missing, so try installing that first. An alternative (and less desirable option), since this is just a configuration-related test failure, is to just do a force install (ie: cpan -f). Craig On Fri, Apr 7, 2017 at 1:47 PM, Kenneth Porter wrote: > On 4/7

Re: [BackupPC-users] [BackupPC-devel] Troubleshoot full pool for 4.0 worth it?

2017-04-08 Thread Craig Barratt
Bill, /backuppc/cpool/0/0/0 is just one of the 4096 3.x pool directories (each of the last three digits is a single hex value from 0..9a..f). So to see the total storage remaining in the 3.x pool you should do this: du -csh /backuppc/cpool/?/?/? I'm not sure why some of the 3.x files didn't

Re: [BackupPC-users] Rsync errors after upgrading to BackupPC 4.1.1

2017-04-08 Thread Craig Barratt
Paul, Most likely this relates to $Conf{RsyncSshArgs} not being initialized correctly from the old 3.x settings for $Conf{RsyncClientCmd}. Can you tell us what $Conf{RsyncClientCmd} used to be (eg, there should be a copy of the pre-upgrade config in /etc/BackupPC/config.pl.pre-4.1.1), and what $C

Re: [BackupPC-users] Full backups disappear

2017-04-08 Thread Craig Barratt
Claus, I haven't been able to replicate this behavior with 4.1.1. The full/filled backup expire code did change between 4.0.0 and 4.1.0. What version of BackupPC were/are you using? Craig On Tue, Apr 4, 2017 at 10:56 PM, Craig Barratt < cbarr...@users.sourceforge.net> wrot

Re: [BackupPC-users] Multiple issues on newly installed 4.1.0.

2017-04-09 Thread Craig Barratt
I'm not sure where to start. First, I updated the documentation and pushed a change to update the mtime on the backup directories to match the backup ending time. Second, I'm ignoring a few comments since they seem like gratuitous complaining. Feel free to submit a pull request on git if you rea

Re: [BackupPC-users] Cannot create /var/run/BackupPC ??

2017-04-12 Thread Craig Barratt
Steve, In 4.1.1 I added this directive to the systemd backuppc.service file: RuntimeDirectory=BackupPC which creates the /var/run/BackupPC directory just before it starts BackupPC. Craig On Wed, Apr 12, 2017 at 12:45 PM, Steve Palm wrote: > Looked at the code, ${RunDir} is the location, and

Re: [BackupPC-users] New BackupPC 4 install & --acls option

2017-04-17 Thread Craig Barratt
Nicola, acls and xattrs need protocol version >= 30. What's the version and protocol of your remote (client) rsync? Eg, client% rsync --version rsync version 3.1.2 protocol version 31 Craig On Mon, Apr 10, 2017 at 1:50 AM, Nicola Ferrari (#554252) < nick-li...@posteo.eu> wrote: >

Re: [BackupPC-users] Xfer error but can't find it

2017-04-18 Thread Craig Barratt
Do you see anything useful if you display the log file errors only on the web interface? Craig On Tue, Apr 18, 2017 at 4:25 AM, Colin wrote: > Hello everyone, > Almost everyday I get Xfer errors from different hosts that are being > backup by BackupPC (version 3.3.1). > For example this one: >

Re: [BackupPC-users] Multiple issues on newly installed 4.1.0.

2017-04-20 Thread Craig Barratt
e (running time: 18 sec) > Xfer PIDs are now 11684 > xferPids 11684 > dump failed: aborted by user (signal=INT) > > > BackupPC 3.x worked flawlessly for many years. Is there anything I can do > to help fix this problem? > > > Regards, > > Jens > > > Am 2017-

Re: [BackupPC-users] Multiple issues on newly installed 4.1.0.

2017-04-20 Thread Craig Barratt
Matt, I somehow missed that. Can you re-send to me please? Craig On Thu, Apr 20, 2017 at 8:10 PM, Bedynek, Matthew J. wrote: > > On Apr 20, 2017, at 10:35 PM, Craig Barratt net> wrote: > > Jens, > > Thanks for including interesting parts of the XferLOG file. Co

Re: [BackupPC-users] Multiple issues on newly installed 4.1.0.

2017-04-21 Thread Craig Barratt
Matt, Thanks. Yes, please re-run with XferLogLevel set to 6 and send me the interesting parts (or all) of the log file. Craig On Fri, Apr 21, 2017 at 6:56 AM, Bedynek, Matthew J. wrote: > Craig, > > It was very short so I’ll probably redo it today with more debugging. The > high point being

Re: [BackupPC-users] New BackupPC 4 install & --acls option

2017-04-23 Thread Craig Barratt
Nicola, Unfortunately acls aren't supported by rsync_bpc if the BackupPC server doesn't support them (this can be fixed, since local acls aren't actually used to store the acls, but it will take some effort). I just discovered on my Ubuntu 16.04 server, rsync_bpc (and also rsync) don't detect tha

Re: [BackupPC-users] Multiple issues on newly installed 4.1.0.

2017-04-23 Thread Craig Barratt
t;flushXSLibMesgs(); # @@ -1140,6 +1140,7 @@ sub copyInodes } foreach my $fileUM ( keys(%$attrAll) ) { +next if ( $fileUM eq "." || $fileUM eq ".." ); my $a = $attrAll->{$fileUM}; if ( $a->{type} == BPC_FTYPE_DIR ) {

Re: [BackupPC-users] bug in backuppc 4.1.1 / rsync_bpc

2017-04-26 Thread Craig Barratt
ACR just noted the $Conf{ClientTimeout} doesn't do the right thing with rsync xfers. I need to fix that. What is your $Conf{ClientTimeout} set to, and does it match how long the backup runs before it fails? Craig On Wed, Apr 26, 2017 at 7:03 PM, Michael wrote: > I have a Windows machine runni

Re: [BackupPC-users] $Conf{ClientTimeout} wrong doc

2017-04-26 Thread Craig Barratt
I did look at the code, and it does restart $Conf{ClientTimeout} every time it sees output from rsync_bpc. Let me see if I can replicate what you observed. I agree for rsync it would make more sense to pass that setting onto rsync_bpc (if it's non-zero), and not set the timeout in BackupPC_dump.

Re: [BackupPC-users] $Conf{ClientTimeout} wrong doc

2017-04-27 Thread Craig Barratt
y OS > on server side tcp connection just hang, rsync_bpc hang and backup > process just hang, > it bad idea (i think) wait 72000 to start new backup session > > what about parameters to rsync_bpc? --timeout -z ? > > > > > 2017-04-27 10:25 GMT+07:00 Craig Barratt : > >&

Re: [BackupPC-users] BackupPC 4.1.1 bug report

2017-04-30 Thread Craig Barratt
Yes, good point. I've updated the language files to point that out. Craig On Mon, Apr 24, 2017 at 6:10 AM, Michael wrote: > When looking at the page "/index.cgi?action=dirHistory", the text at the > top of the page states > > "Files with the same contents between different backups have the sam

Re: [BackupPC-users] New BackupPC 4 install & --acls option

2017-04-30 Thread Craig Barratt
Matt, No, unfortunately BackupPC doesn't support the --acls gnu tar option. I'll add that to the planned feature list.k Craig On Mon, Apr 24, 2017 at 9:31 AM, Bedynek, Matthew J. wrote: > Craig, > > > I just discovered on my Ubuntu 16.04 server, rsync_bpc (and also rsync) > don't detect that

Re: [BackupPC-users] BackupPC 4.1.1 Restore Issue

2017-04-30 Thread Craig Barratt
Ray, This is now fixed in master (248f192). It was getting too aggressive stripping common portions of the remote directory path off, and it was empty (instead of "/") in the case you mentioned, causing the restore to the home directory, not /. Craig On Mon, Apr 24, 2017 at 9:20 AM, Ray Frush

Re: [BackupPC-users] How does BackupPC 4.1.1 calculate Pools size?

2017-05-01 Thread Craig Barratt
The nightly pool check (BackupPC_nightly) only traverses a portion of the pool each night. See $Conf{PoolSizeNightlyUpdatePeriod}. The default is 16, meaning it takes 16 nightly runs to get through the whole pool. It looks like your installation is quite small, so you could set $Conf{PoolSizeNig

[BackupPC-users] BackupPC 4.1.2 released

2017-05-02 Thread Craig Barratt
BackupPC 4.1.2 has been released on Github. BackupPC 4.1.2 is a bug fix release, with a few minor new features. The changes are listed below. Thanks to everyone who helped track down bugs and/or provided pull requests. Craig - Merged

Re: [BackupPC-users] appending to the Excludes hash

2017-05-07 Thread Craig Barratt
It's ok putting code in config.pl, but you should be aware that if you use the CGI editor, it will not survive. Craig On Thursday, May 4, 2017, Paul Fox wrote: > Bowie Bailey wrote: > > On 5/4/2017 10:35 AM, Paul Fox wrote: > > > > > > is there a nice perl way to do something like this? syn

Re: [BackupPC-users] BackupPC 4.1.2 released

2017-05-07 Thread Craig Barratt
> So we can now define a list of "host.internal.example.tld, > host.example,tld, > host.wireless.example.tld" and whichever one responds gets backed up? > Sweet. > That's a feature which has been needed for a while. > Yes, that's right. They are checked in order. Craig --

Re: [BackupPC-users] Nightly does not find some pool files, but they exist

2017-05-07 Thread Craig Barratt
Dieter, You are right about the pool files being in the correct location. Bit 0 of the first two bytes is ignored since the directory fanout is 128 at the first two levels. This does look like a minor or benign bug (perhaps it's just the error message that is wrong). Does it happen again the ne

Re: [BackupPC-users] rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.0]

2017-05-07 Thread Craig Barratt
Steve, Most likely it's a problem with ssh (perhaps it's prompting for a password) or the client shell is producing output before rsync is run. Craig On Wednesday, May 3, 2017, Steve Palm wrote: > Any clue what this is saying? > > > This is the rsync child about to exec /usr/local/bin/rsync_bp

Re: [BackupPC-users] How does BackupPC 4.1.1 calculate Pools size?

2017-05-07 Thread Craig Barratt
Yes, you're right. Looks like they got left over from an abnormal backup exit. I need to add some code that cleans up any that remain after the backup. It's certainly safe to remove them (assuming they are hours/days old). If you want to be really sure, the first integer is the pid of the proce

Re: [BackupPC-users] Display inconsistent for total/existing/new files.

2017-05-07 Thread Craig Barratt
Dieter, V4 rsync, by default, uses --checksum for full backups, which means the full-file digest of the existing file is sent to the client together with the meta data, and the client checks if the digest and meta data are the same. If so, then no file is transferred (it's skipped just like in an

Re: [BackupPC-users] problem with restore (4.1.1)

2017-05-08 Thread Craig Barratt
Roberto, What browser are you using? Craig On Saturday, April 29, 2017, Roberto Tagliaferri - Tosnet srl < r.tagliafe...@tosnet.it> wrote: > Excuse for the english.. > > When i tried a restore of a single file with download from browser the > file is correct. > > But if i select more files or a

Re: [BackupPC-users] Need script linux-backuppc

2017-05-09 Thread Craig Barratt
After you run configure.pl, it's in systemd/init.d/linux-backuppc. Craig On Tue, May 9, 2017 at 6:13 AM, Bob Katz wrote: > Hi guys. > > I've got too much time invested in Redhat to try Debian ;-( > > Currently I'm working my way through the out-of-date tutorial by the > excellent Gowtham: > htt

Re: [BackupPC-users] BackupFilesExclude issue

2017-05-12 Thread Craig Barratt
I pushed a fix for this last night. Craig On Fri, May 12, 2017 at 9:56 AM, Ray Frush wrote: > I’m seeing this issue too! > > I noticed that with 4.1.2 if I use the WebUI (CGI) to edit a host config > that ha

Re: [BackupPC-users] How does BackupPC 4.1.1 calculate Pools size?

2017-05-13 Thread Craig Barratt
I just pushed a change <https://github.com/backuppc/backuppc/commit/fef50dfc16ba255b101da22fb134d30237223a56> to BackupPC_nightly that removes any orphan temp write pool files. Craig On Sun, May 7, 2017 at 1:17 AM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: > Ye

Re: [BackupPC-users] Sending output of DumpPreUserCmd by email

2017-05-18 Thread Craig Barratt
You need DumpPreUserCmd to run to completion before continuing with the backup. Using systemd will run the command in the background (I believe even for oneshot), which is almost certainly not what you want to do. An easier solution is to write a cover script (pick you favorite scripting language

Re: [BackupPC-users] BackupPC, incremetal doesn't work

2017-05-18 Thread Craig Barratt
Lano, This does look like what Dieter and I have been trying to debug on his setup. For some reasons we don't yet understand, it is looking in pool (uncompressed pool) instead of cpool (compressed pool). Let me respond off-list with some questions about your setup and some things to try. Craig

Re: [BackupPC-users] delete backup

2017-05-21 Thread Craig Barratt
Is 134 large because it included additional directories or files that are not in 133 or 135? Is backup 133 filled? Craig On Sun, May 21, 2017 at 8:49 PM, Alexey Safonov wrote: > but if i do full backup for example 135 it will copy existing 134 and then > do diff into 134 > that's new in V4 > s

Re: [BackupPC-users] delete backup

2017-05-21 Thread Craig Barratt
>> >> here is one real example >> >> 321 incr num of files = 131074 >> 322 incr num of files = 774220 (because of error ib backupfilesonly) >> 324 incr num of files 130946 (after applying hotfix) >> >> >> and i can see graph on main page that s

Re: [BackupPC-users] Updated BackupPC 4 Debian Packages

2017-05-25 Thread Craig Barratt
Ludo, Cool - thanks! I'm close to releasing new versions for all the components: BackupPC, backuppc-xs and rsync-bpc. There are several important bug fixes. Also, Yves created a new cygwin-rsyncd-3.1.2.1 package that removes the blat.exe mailer, but still provides an email option (commented out

Re: [BackupPC-users] Updated BackupPC 4 Debian Packages

2017-05-26 Thread Craig Barratt
uments not being compatible between 3.x and 4.x. Configure.pl tries to extract $Conf{RsyncSshArgs} (a new 4.x setting) from the old $Conf{RsyncClientCmd} setting. Craig On Fri, May 26, 2017 at 1:23 AM, Ludovic Drolez wrote: > On Thu, May 25, 2017 at 10:53:05AM -0700, Craig Barratt wrote

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Craig Barratt
What version of rsync are you running on the client? Another user reported a problem that the default cygwin rsync setup on 3.x doesn't allow remote charset settings. BackupPC 4.x uses the --iconv rsync option, which will fail without a clear error message. You should add "charset = utf-8" to th

Re: [BackupPC-users] Permission denied at /usr/local/BackupPC/bin/BackupPC line 53.

2017-05-29 Thread Craig Barratt
Dieter, It looks like your perl installation is broken somehow. Perhaps this thread is helpful? Craig On Mon, May 29, 2017 at 7:26 AM, Dieter Fauth wrote: > Hello everybody, > running backuppc in a docker image (based on Ubuntu 16.04). > Just refres

Re: [BackupPC-users] error log for new host

2017-05-30 Thread Craig Barratt
Kris probably has the right explanation. But it shouldn't matter - multiple "/" in the middle of path have the same meaning as a single "/". There are certain cases where a double leading '/' can have a special meaning, although not on linux. Paths with a trailing (or multiple trailing) "/" are u

Re: [BackupPC-users] Problems Starting BackupPC

2017-05-30 Thread Craig Barratt
Michael is correct that BackupPC does use $Info->{pid} (which is read from status.pl). But it does check that that process exists before printing the error message (using perl's kill(0, pid) that doesn't really send a signal, but tells you whether the process is alive). So I don't know why it cla

[BackupPC-users] BackupPC 4.1.3 released (plus new versions of backuppc-xs, rsync-bpc and cygwin-rscynd)

2017-06-04 Thread Craig Barratt
BackupPC 4.1.3 has been released on Github. New versions of BackupPC-XS 0.55 , rsync-bpc 3.0.9.7 and cygwin-rsyncd 3.1.2

Re: [BackupPC-users] BackupPC 4.1.3 released (plus new versions of backuppc-xs, rsync-bpc and cygwin-rscynd)

2017-06-04 Thread Craig Barratt
0.9.7 version is still 3.0.9.6 > > RSYNC_VERSION=3.0.9.6 > > > On 5 June 2017 at 08:44, Craig Barratt > wrote: > >> BackupPC 4.1.3 <https://github.com/backuppc/backuppc/releases/tag/4.1.3> >> has been released on Github. >> >> New versions of BackupPC-

Re: [BackupPC-users] BackupPC Excludes - How To

2017-06-18 Thread Craig Barratt
Akibu, So we don't have to guess, please tell us the following settings from this client's config file: $Conf{XferMethod}, the corresponding $Conf{RsyncShareName} (or $Conf{SmbShareName} etc), $Conf{BackupFilesOnly} and $Conf{BackupFilesExclude}. Craig On Sun, Jun 18, 2017 at 5:19 PM, Akibu Flas

Re: [BackupPC-users] Unable to read config.pl after BackupPC update

2017-11-27 Thread Craig Barratt
Jamie, The new config file looks fine to me: it doesn't have any syntax errors, and the values seem to be unchanged from the previous version. To confirm, does it still work correctly if you swap back in the old config file? Was BackupPC also upgraded? Craig On Mon, Nov 27, 2017 at 3:11 AM, Ja

Re: [BackupPC-users] BackupPC 4.2.1 apparently in an infinite loop.

2018-09-20 Thread Craig Barratt
vv" to $Conf{RsyncArgs} (which increases the logging level from the remote (client) rsync). Craig On Thu, Sep 20, 2018 at 10:10 PM G.W. Haywood via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > Hi there, > > Thanks for your reply. > > On Thu, 20 Sep 2018, Cr

Re: [BackupPC-users] Where is the correct place to chage charset settings?

2008-04-23 Thread Craig Barratt
Felix writes: > I've just started using backuppc. Great job people! However I am having > some problems with charsets. My backuppc system deals with filenames > saved with Swedish characters like Å Ä and Ö. When looking at the file > names in the webgui a filename that should say "datakällor" > sa

Re: [BackupPC-users] Configure a front-end back-end setup

2008-05-03 Thread Craig Barratt
Randy writes: > I am not sure if this is possible but I want to run the web > front end of BackupPC on my apache server while having the > backup and storage on another box. Is it possible to have the > web front end talk to this back end? If possible can someone > give me some pointers on ge

Re: [BackupPC-users] Wrong servertime but systemtime is correct

2008-05-05 Thread Craig Barratt
Marco writes: > A few days ago the web interface reports the wrong time in > the first status line. The time reporting "started at" is 2 hours in the > future. > But my system time is correct. The other lines in the status window are also > correct. > The problem is, that the next start for autom

Re: [BackupPC-users] Wrong servertime but systemtime is correct

2008-05-05 Thread Craig Barratt
Marco writes: > > What does this print? > > > > su backuppc > > perl -e 'print scalar(localtime)' > > > > The reply is > > HASH(0x81545b8) I guess you typed: perl -e 'print scalar{localtime}' Please cut-and-paste exactly what I sent (note the parens instead of braces): perl -

  1   2   3   4   5   6   7   8   9   10   >