Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Gandalf Corvotempesta
2016-01-15 14:41 GMT+01:00 Nicola Scattolin : > now i'm copying my old pools on the new drive but i got a lot of I/O > errors on old drive, there is a way to force backuppc to check if the > files are still ok? Because i know that if a file is alredy been copy by > backuppc it

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Johan Ehnberg
On 2016-01-15 17:15, Gandalf Corvotempesta wrote: > 2016-01-15 14:41 GMT+01:00 Nicola Scattolin : >> now i'm copying my old pools on the new drive but i got a lot of I/O >> errors on old drive, there is a way to force backuppc to check if the >> files are still ok? Because i

[BackupPC-users] check backuppc file

2016-01-15 Thread Nicola Scattolin
Hi to all, i got a problem about a week ago and i found that my backuppc drives was dying. now i'm copying my old pools on the new drive but i got a lot of I/O errors on old drive, there is a way to force backuppc to check if the files are still ok? Because i know that if a file is alredy been

[BackupPC-users] Strange issue with pc configs

2016-01-15 Thread Gandalf Corvotempesta
Based on official docs: http://backuppc.sourceforge.net/faq/BackupPC.html#Configuration-File I can read this: "The BackupPC configuration file resides in __CONFDIR__/config.pl. Optional per-PC configuration files reside in __CONFDIR__/pc/$host.pl (or __TOPDIR__/pc/$host/config.pl in non-FHS

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Johan Ehnberg
On 2016-01-15 18:31, Les Mikesell wrote: > On Fri, Jan 15, 2016 at 9:57 AM, Nicola Scattolin wrote: >> >> i'm using smb xfermethod, where do i set backuppc to set the checksum to 1? >> > > With smb you are going to get a complete new copy transferred on the > next full run

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Johan Ehnberg
If you use the script, it moves the files for you, no need to touch the pool yourself. I have not tried the script with smb. But unless backuppc structures smb backups differently from tar or rsync backups, it should work. And you are right about the missing files, they will be fetched at the

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Carl Wilhelm Soderstrom
On 01/15 02:41 , Nicola Scattolin wrote: > now i'm copying my old pools on the new drive but i got a lot of I/O > errors on old drive, there is a way to force backuppc to check if the > files are still ok? Because i know that if a file is alredy been copy by > backuppc it will not copy it

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Johan Ehnberg
Hi Nicola, We were in this exact situation not long ago. We came up with a simple method to use any intact files as the base for new backups. You can find the details here: http://johan.ehnberg.net/backuppc-pre-loading-seeding-and-migrating-moving-script/ Or in my post to this mailing list.

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Nicola Scattolin
i'm using smb xfermethod, where do i set backuppc to set the checksum to 1? Il 15/01/2016 16:26, Johan Ehnberg ha scritto: On 2016-01-15 17:15, Gandalf Corvotempesta wrote: 2016-01-15 14:41 GMT+01:00 Nicola Scattolin : now i'm copying my old pools on the new drive but i got

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Johan Ehnberg
Hi Nicola, We were in this exact situation not long ago. We came up with a simple method to use any intact files as the base for new backups. You can find the details here: http://johan.ehnberg.net/backuppc-pre-loading-seeding-and-migrating-moving-script/ Or in my post to this mailing list.

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Les Mikesell
On Fri, Jan 15, 2016 at 9:57 AM, Nicola Scattolin wrote: > > i'm using smb xfermethod, where do i set backuppc to set the checksum to 1? > With smb you are going to get a complete new copy transferred on the next full run anyway. The checksum cache only works for rsync.

Re: [BackupPC-users] Strange issue with pc configs

2016-01-15 Thread Gandalf Corvotempesta
2016-01-15 15:01 GMT+01:00 Gandalf Corvotempesta : > Surely, i'm missing something. How can I use the /pc/ folder ? It doesn't matter, I can't use v4. It takes ages just to build file list on client side (I have more than 4 millions of small file) With v4 and

Re: [BackupPC-users] check backuppc file

2016-01-15 Thread Nicola Scattolin
i use smb tranfer mathod so i'm not sure it works. I almost copy the full cpool folder, even if many file are missing cp: cannot stat ‘cpool/4/0/7/407a0d08be5776e7c2091d48a050640f’: Input/output error i think that the file that are not beign copyed will be store at the new full backup ( that i

Re: [BackupPC-users] Garbage into XferLog.z

2016-01-15 Thread Bzzzz
On Thu, 14 Jan 2016 10:14:59 +1100 Adam Goryachev wrote: Hi Adam, I just reinstalled perl and all of backuppc dependencies, unfortunately, this doesn't change anything about XferLOG.z :( (no sign of HD degradation.) JY

Re: [BackupPC-users] Issue with samba client 4.1.6 and newer

2016-01-15 Thread David Cramblett
I found in my testing that you don't want that backslash before "verbose". What you have specified: Running: /bin/smbclient \\host\share -U username -E -d 1 -c tarmode full \verbose -Tc - What I found I needed with BackupPC v4 (should be same with 3) Running: /bin/smbclient \\host\share -U

Re: [BackupPC-users] BackupPC_tarCreate failed

2016-01-15 Thread Carl Wilhelm Soderstrom
On 01/14 10:42 , David Rotger wrote: > and now I can connect from user backuppc to localhost without password. And > the restore work!!! Glad you got things solved! It seems strange to me, to use ssh to back up the local machine. Here's the configuration I use in localhost.pl, to back up the

Re: [BackupPC-users] BackupPC_tarCreate failed

2016-01-15 Thread David Rotger
Many thanks, tomorrow I will check the config. I'am using Debian 8 and installed backuppc from repos. I have an external HD mount bind to backuppc. It's strange the ssh El 15/1/2016 22:56, "Carl Wilhelm Soderstrom" escribió: > On 01/14 10:42 , David Rotger wrote: > >

Re: [BackupPC-users] Issue with samba client 4.1.6 and newer

2016-01-15 Thread David Cramblett
It's looks as though it may be more than RegEx issues. I looked the RegEx lines over in Smb.pm and could see some changes were needed, but those alone are not the only problem. It also looks like BackupPC expects a line of output for each file that is transferred with smbtar. The new version of