Re: [BackupPC-users] BackupPC_tarExtract exited with fail status 256

2017-07-30 Thread Craig Barratt via BackupPC-users
I just pushed a change to git to make the SMB pipe non-blocking, which is the same change I made to Tar.pm in 4.1.3 to fix a stall issue with tar reported by Matt Bedynek. Here's a diff that you could apply

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
On 07/30/2017 06:26 PM, Craig Barratt via BackupPC-users wrote: Doug, Here's a simplified combined patch. After you gunzip it, it should work cleanly on 4.1.2, 4.1.3 etc. Thanks! Zip and Tar have been tested to be working again. Doug

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Craig Barratt via BackupPC-users
Doug, Here's a simplified combined patch. After you gunzip it, it should work cleanly on 4.1.2, 4.1.3 etc. Craig On Sun, Jul 30, 2017 at 3:10 PM, Doug Lytle via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > On 07/30/2017 05:42 PM, Doug Lytle via BackupPC-users wrote: > >>

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
On 07/30/2017 05:42 PM, Doug Lytle via BackupPC-users wrote: On 07/30/2017 05:01 PM, Alexander Moisseev via BackupPC-users wrote: Doug, you can just add ".diff" or ".patch" at the end of the commits URIs like this:

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
On 07/30/2017 05:26 PM, Craig Barratt wrote: ince you copied the exact source from git, you should make sure these two lines (the first, and a few lines down): #!/usr/bin/perl use lib "/usr/local/BackupPC/lib"; Perl path was fine, lib path had to be modified. Still no

Re: [BackupPC-users] Using many storage pools

2017-07-30 Thread Craig Barratt via BackupPC-users
> > So, I think to run two instance of BackupPC on the server with different > storage directory. Is there a proper way to do this? It is possible to run two separate BackupPC instances. However, you have to be careful to make sure all the key installation directories (and configuration paths

Re: [BackupPC-users] status graph

2017-07-30 Thread Craig Barratt via BackupPC-users
Alexey, BackupPC's archive functionality shouldn't create extra hardlinks to the pool. Can you tell us specifically where else you found the mystery hardlinks to the V3 pool files? If you manually did something like cp -a or rsync -H to make a copy of one of the client backup trees than that

Re: [BackupPC-users] I'd like to make a suggestion to the BPC devsm

2017-07-30 Thread Craig Barratt via BackupPC-users
Back to the original request - you could set up a second BackupPC host (using ClientNameAlias to point to the real host) to do incrementals-only (with rsync) every hour. However, as others have noted, it's a lot less efficient to do that versus snapshots: rsync has to traverse the whole client

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
On 07/30/2017 05:01 PM, Alexander Moisseev via BackupPC-users wrote: Doug, you can just add ".diff" or ".patch" at the end of the commits URIs like this: https://github.com/backuppc/backuppc/commit/6f01264005310cffe55d5258436d38609a1ac99d.diff

Re: [BackupPC-users] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Craig Barratt via BackupPC-users
Moving that setting to the main config file wasn't intended to be a fix - it was simply an observation that it is simpler to put global settings in the main config file. The XferLOG.bad file can be accessed from the client's status page via the web interface, or from the command line. If HOST is

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Craig Barratt via BackupPC-users
Doug, Since you copied the exact source from git, you should make sure these two lines (the first, and a few lines down): #!/usr/bin/perl use lib "/usr/local/BackupPC/lib"; in BackupPC_tarCreate and BackupPC_zipCreate point to the correct perl and BackupPC lib directory on your

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Alexander Moisseev via BackupPC-users
On 7/30/2017 10:49 PM, Doug Lytle via BackupPC-users wrote: On 07/30/2017 01:43 PM, Craig Barratt wrote: Doug, I pushed a fix that should fix the problem. I couldn't figure out how to download a patch

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
On 07/30/2017 01:43 PM, Craig Barratt wrote: Doug, I pushed a fix that should fix the problem. I couldn't figure out how to download a patch from the interface, so I selected view/raw Did a CTRL A to

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Craig Barratt via BackupPC-users
Doug, I just pushed a minor fix to the last commit. Please tell me if these two patches work in your setup. Craig On Sun, Jul 30, 2017 at 10:43 AM, Craig Barratt < cbarr...@users.sourceforge.net> wrote: >

Re: [BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Craig Barratt via BackupPC-users
Doug, I pushed a fix that should fix the problem. Craig On Sun, Jul 30, 2017 at 4:54 AM, Doug Lytle via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > I'm looking for a patch for the GitHub

Re: [BackupPC-users] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Romain Pelissier
Hi, I don't think it made a difference since the system starts ok with the setting set on each client (I made the change very quickly so you are right, this setting should be in the main conf file). But event after making the change (putting the setting in the main conf file) I still got the

Re: [BackupPC-users] backuppc 4: rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.8])

2017-07-30 Thread Romain Pelissier
Hi, So I have made the change (putting the conf in mail config file) and still have the issue. I don't have a XferLOG.bad file, since the backup fail as soon as it starts..I don't know if there is a debug option or something to have more details about the issue...

[BackupPC-users] restore .tar / .zip files empty #128

2017-07-30 Thread Doug Lytle via BackupPC-users
I'm looking for a patch for the GitHub issue listed: https://github.com/backuppc/backuppc/issues/128 I'm seeing the same thing on a 4.1.2 and 4.1.3 install Any comments? Thanks, Doug -- Check out the vibrant tech