Re: [BackupPC-users] How to find files in the pool?

2020-04-25 Thread R.C.
Thank you Craig! Very clear and helpful. Raf Il 25/04/2020 04:06, Craig Barratt via BackupPC-users ha scritto: In the example you showed, the file contents have digest 4b544ad7b8992fbbc0fafe34ae6ab5d5.  You can pass that directly to BackupPC_zcat if you want, which will uncompress the file t

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-25 Thread Graham Seaman
Thanks Craig That's clearly the problem, but I'm still mystified. I have backuppc running on my home server; the storage is on a NAS NFS mounted on the home server. Backing up other hosts on my network (both full and incremental) over rsync works fine. The home server backs up using tar. The com

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-25 Thread Craig Barratt via BackupPC-users
Graham, Your script is the problem. Using $* causes the shell the resplit arguments at whitespace. To preserve the arguments you need to put that in quotes: exec /bin/tar -c "$*" Craig On Sat, Apr 25, 2020 at 5:04 AM Graham Seaman wrote: > Thanks Craig > > That's clearly the problem, but I'

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-25 Thread Graham Seaman
Craig Quoting $* gives me a new error: /bin/tar: invalid option -- ' ' (I get exactly the same error whether I use $incrDate or $incrDate+) That script is to avoid potential security problems from relaxing the rules in sudoers, so I'd rather not get rid of it, but I'm a bit surprised no-one

Re: [BackupPC-users] full backup ok, incremental fails

2020-04-25 Thread Craig Barratt via BackupPC-users
It would be helpful if you included the edited script in your reply. Did you use double quotes, or two single quotes? I'd recommend trying without the script, just the make sure it works correctly. Then you can be sure it's an issue with how the script handles/splits arguments. Craig On Sat, A