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 will not copy it again, but i don't want to lose files when
> backuppc think a file is already in the pool, but it's corrupted.

I think BPC is smart enough to detect differences.
AFAIK , BPC check file checksum between backupped file and "fresh" file.
If different, file would be transfered.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 know that if a file is alredy been copy by
>> backuppc it will not copy it again, but i don't want to lose files when
>> backuppc think a file is already in the pool, but it's corrupted.
>
> I think BPC is smart enough to detect differences.
> AFAIK , BPC check file checksum between backupped file and "fresh" file.
> If different, file would be transfered.

When using checksum caching, the detection of corrupt files on the 
backuppc server is only the set percentage probability. Corrupt files 
may go unnoticed for quite a while. Setting checksum probability to 1 
for a complete round of full backups will check every file to be extra sure.

The script I mentioned use goes through tar, so checksums are not 
carried over. I had some issues (duplicated files that would cause an 
error on each transfer) that backuppcc was unable to solve in the 
corrupt pool even after the pool was moved to a good drive. They went 
away when pre-seeding the new pool.

/johan

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 copy by 
backuppc it will not copy it again, but i don't want to lose files when 
backuppc think a file is already in the pool, but it's corrupted.
If it's not possible i will erase the old backups and start new ones, 
but i got a 1.4 TB backup to do and it will take a lot

Thanks
  Nicola

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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
versions of BackupPC). This file can be used to override settings just
for a particular PC."

i've tried to use a config file placed in /etc/backuppc/pc/hostname.pl
, same path used with success by v4, but v3 doesn't read that.

By customizing config from web interface, the customized file is saved
in __CONFDIR__/$host.pl

Surely, i'm missing something. How can I use the /pc/ folder ?

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 anyway.  The checksum cache only works for rsync.
> Personally I would just start over and only worry about extracting
> anything from the old drive if you had to recover some older flle.

I agree. If the clients to be backed up are on the local network, simply 
starting a fresh pool is easiest and likely fastest for 1,4TB compared 
to working with recovery.

/johan

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 
next backup. Since you are using SMB, moving the pool will replace all 
corrupt files also simply as newer versions of the files. This means old 
backups will remain corrupt.

/johan

On 2016-01-15 18:22, Nicola Scattolin wrote:
> 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 hope to run this night ), not sure for the ones
> that MAY be corrupted.
> If i read correctly the script has to be run before start moving the files.
>
>
> Il 15/01/2016 16:29, Johan Ehnberg ha scritto:
>> 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.
>>
>> Basically, it creates a new partial backup on your new drive and when
>> backuppc backs it up the first time, any files that do not match the
>> client's corresponding files are discarded. This is verified with
>> checksum by backuppc.
>>
>> Let me know if you need any help.
>>
>> Best regards,
>> Johan
>>
>> On 2016-01-15 15:41, Nicola Scattolin wrote:
>>> 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 copy by
>>> backuppc it will not copy it again, but i don't want to lose files when
>>> backuppc think a file is already in the pool, but it's corrupted.
>>> If it's not possible i will erase the old backups and start new ones,
>>> but i got a 1.4 TB backup to do and it will take a lot
>>>
>>> Thanks
>>> Nicola
>>>
>>> --
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>>> ___
>>> 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/
>>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>
> --
> Nicola
> Ser.Tec s.r.l.
> Via E. Salgari 14/D
> 31056 Roncade, Treviso
>
> Follow us on  YouTube 
> Facebook  Twitter
>    Google+
> 
>
>
> Ser-Tec 
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>
>
>
> ___
> 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/
>

-- 
Johan Ehnberg
jo...@ehnberg.net
johan.ehnberg.net
+358503209688


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 again, but i don't want to lose files when 
> backuppc think a file is already in the pool, but it's corrupted.
> If it's not possible i will erase the old backups and start new ones, 
> but i got a 1.4 TB backup to do and it will take a lot

I believe BackupPC does eventually check all the files on its stored pools
to verify the checksum on them matches the remote side. Other people here
will remember the mechanics more precisely than I; but I'm vaguely thinking
that if you do a full backup of each host, that causes a comparison of the
checksum of each of the files on the backup server against each of the files
on the machine to be backed up.

I could be wrong. Someone will have to back me up on this.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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.

Basically, it creates a new partial backup on your new drive and when 
backuppc backs it up the first time, any files that do not match the 
client's corresponding files are discarded. This is verified with 
checksum by backuppc.

Let me know if you need any help.

Best regards,
Johan

On 2016-01-15 15:41, Nicola Scattolin wrote:
> 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 copy by
> backuppc it will not copy it again, but i don't want to lose files when
> backuppc think a file is already in the pool, but it's corrupted.
> If it's not possible i will erase the old backups and start new ones,
> but i got a 1.4 TB backup to do and it will take a lot
>
> Thanks
>Nicola
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 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 again, but i don't want to lose files when
backuppc think a file is already in the pool, but it's corrupted.

I think BPC is smart enough to detect differences.
AFAIK , BPC check file checksum between backupped file and "fresh" file.
If different, file would be transfered.

When using checksum caching, the detection of corrupt files on the
backuppc server is only the set percentage probability. Corrupt files
may go unnoticed for quite a while. Setting checksum probability to 1
for a complete round of full backups will check every file to be extra sure.

The script I mentioned use goes through tar, so checksums are not
carried over. I had some issues (duplicated files that would cause an
error on each transfer) that backuppcc was unable to solve in the
corrupt pool even after the pool was moved to a good drive. They went
away when pre-seeding the new pool.

/johan

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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/


--
Nicola
Ser.Tec s.r.l.
Via E. Salgari 14/D
31056 Roncade, Treviso

Follow us on 	YouTube  
Facebook  	Twitter 
 	Google+ 




Ser-Tec 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] 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.

Basically, it creates a new partial backup on your new drive and when 
backuppc backs it up the first time, any files that do not match the 
client's corresponding files are discarded. This is verified with 
checksum by backuppc.

Let me know if you need any help.

Best regards,
Johan

On 2016-01-15 15:41, Nicola Scattolin wrote:
> 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 copy by
> backuppc it will not copy it again, but i don't want to lose files when
> backuppc think a file is already in the pool, but it's corrupted.
> If it's not possible i will erase the old backups and start new ones,
> but i got a 1.4 TB backup to do and it will take a lot
>
> Thanks
>Nicola
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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.
Personally I would just start over and only worry about extracting
anything from the old drive if you had to recover some older flle.

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 native rsync this phase takes less than 1 second and
transfer starts immediatly

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 hope to run this night ), not sure for the ones 
that MAY be corrupted.

If i read correctly the script has to be run before start moving the files.


Il 15/01/2016 16:29, Johan Ehnberg ha scritto:

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.

Basically, it creates a new partial backup on your new drive and when
backuppc backs it up the first time, any files that do not match the
client's corresponding files are discarded. This is verified with
checksum by backuppc.

Let me know if you need any help.

Best regards,
Johan

On 2016-01-15 15:41, Nicola Scattolin wrote:

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 copy by
backuppc it will not copy it again, but i don't want to lose files when
backuppc think a file is already in the pool, but it's corrupted.
If it's not possible i will erase the old backups and start new ones,
but i got a 1.4 TB backup to do and it will take a lot

Thanks
Nicola

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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/


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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/


--
Nicola
Ser.Tec s.r.l.
Via E. Salgari 14/D
31056 Roncade, Treviso

Follow us on 	YouTube  
Facebook  	Twitter 
 	Google+ 




Ser-Tec 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] 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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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 username -E -d 1 -c tarmode full
verbose -Tc -


Here is what I changed my backuppc config.pl to look like:

$Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option
-U $userName -E -d 1 -c tarmode\\ full\\ verbose -Tc$X_option - $fileList';

I also updated the SMB  incremental and restore commands.

David


On Sun, Dec 27, 2015 at 10:29 AM, pasci 
wrote:

> By the way:
>
> Your tarmode string is wrong! The first space of the tarmode option is not
> escaped:
>
> Currently:
> Running: /bin/smbclient \\hayun-13\GIS -I 192.168.1.75 -U arava\adir -E -d
> 1 -c tarmode full \verbose -TcrX - ortho DEM
>
> But should by:
> Running: /bin/smbclient \\hayun-13\GIS -I 192.168.1.75 -U arava\adir -E -d
> 1 -c tarmode\ full \verbose -TcrX - ortho DEM
>
> +--
> |This was sent by p.kuen...@pk-its.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> ___
> 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/
>



-- 
David Cramblett
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] 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 BackupPC server itself.
This uses plain tar, running with sudo in order to get the necessary
permissions to back up all the files, even the ones owned by root.
(Note that the BackupPC data pool is on disks separate from the root
filesystem, so if the root disks die this can be used to recover the
configuration).

You may find this useful for backing up files like /etc/shadow.

Here are the contents of /etc/backuppc/localhost.pl. Note that there are
some extraneous line wraps:
#
# Local server backup as user backuppc
#

# dunno why it needs to ping
$Conf{PingCmd} = '/bin/true';

$Conf{XferMethod} = 'tar';

# let it back itself up anytime it wants to.
$Conf{BlackoutPeriods} = [];

$Conf{TarShareName} = ['/'];

$Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc',
'/var/log', '/tmp', '/var/tmp', '/mnt', '/media'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f
- -C $shareName --totals';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

# turning off compression on these files, so they can be recovered without
# backuppc.
# wouldn't make sense to need your backup server, 
# in order to recover your backup server, now would it?
$Conf{CompressLevel} = 0;



Here is the relevant line from /etc/sudoers, which gives the necessary
permissions:
# allow backuppc to run as root, in order to get all the files
backuppc ALL=NOPASSWD: /bin/tar


-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] 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:
> > 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 BackupPC server
> itself.
> This uses plain tar, running with sudo in order to get the necessary
> permissions to back up all the files, even the ones owned by root.
> (Note that the BackupPC data pool is on disks separate from the root
> filesystem, so if the root disks die this can be used to recover the
> configuration).
>
> You may find this useful for backing up files like /etc/shadow.
>
> Here are the contents of /etc/backuppc/localhost.pl. Note that there are
> some extraneous line wraps:
> #
> # Local server backup as user backuppc
> #
>
> # dunno why it needs to ping
> $Conf{PingCmd} = '/bin/true';
>
> $Conf{XferMethod} = 'tar';
>
> # let it back itself up anytime it wants to.
> $Conf{BlackoutPeriods} = [];
>
> $Conf{TarShareName} = ['/'];
>
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc',
> '/var/log', '/tmp', '/var/tmp', '/mnt', '/media'];
>
> $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v
> -f
> - -C $shareName --totals';
>
> # remove extra shell escapes ($fileList+ etc.) that are
> # needed for remote backups but may break local ones
> $Conf{TarFullArgs} = '$fileList';
> $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
>
> # turning off compression on these files, so they can be recovered without
> # backuppc.
> # wouldn't make sense to need your backup server,
> # in order to recover your backup server, now would it?
> $Conf{CompressLevel} = 0;
>
>
>
> Here is the relevant line from /etc/sudoers, which gives the necessary
> permissions:
> # allow backuppc to run as root, in order to get all the files
> backuppc ALL=NOPASSWD: /bin/tar
>
>
> --
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] 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
smbclient is only dumping three lines:

Domain=[HOST] OS=[Windows Server 2012 R2 Standard 9600] Server=[Windows
Server 2012 R2 Standard 6.3]
tar:322  tarmode is now full, system, hidden, noreset, verbose
tar:800  Total bytes received: 463398359

If you update your Smb.pm per this patch:
https://bugzilla.redhat.com/show_bug.cgi?id=1294761 You can get BackupPC to
read the new style lines properly. However, without the (missing) output
lines for each file being transfered, $t->{fileCnt} is never incremented,
and thus is 0 after the transfer.

This results in:

if ( $newStat->{fileCnt} == 0 ) {
   $noFilesErr ||= "No files dumped for share $shareName";
}

I'm having a hard time finding an example of what the tarmode verbose
output used to look like, and also how to get (actual) verbose output from
the new smbclient.

David







On Mon, Jan 4, 2016 at 5:19 AM, Micha Silver  wrote:

> Thanks for verifying. I hope someone with good regex skills will work out
> a solution. It seems newer samba versions return results formatted slightly
> differently, so parsing fails.
> There is a config setting:  $Conf{BackupZeroFilesIsFatal} = 1; (Under
> "Schedule").
> I have changed this to '0' so that even tho' I get the warning, the
> "partial" backup is still saved.
>
>
> On 01/04/2016 11:14 AM, Otto Wincrantz wrote:
>
> Hi,
>
> For the record I am experiencing the same issue as you are seeing with a
> BP install on a CentOS 7.2 with smbclient 4.2.3.
> Backups are working for the 1st share listed in the job, but BackupPC
> reports them as failed with "backup failed (No files dumped for share
> backuppc$)"
>
> A resolution would be most welcome...
>
> Cheers,
>
> Otto
>
>
> On Mon, Dec 28, 2015 at 2:58 PM, Micha Silver  wrote:
>
>> On 27/12/2015 20:26, pasci wrote:
>>
>> I tried to add the "verbose" option, and I'm still getting a failure:
>>
>> Missunderstanding - The verbose option is only ONE of TWO required changes. 
>> The second one is to fix the regex of Smb.pm. Because my know how to create 
>> a new filter is really bad, I can't publish the solution for this (I've 
>> tried, but is still not working). Perhaps someone else has an idea/fixed 
>> regex?
>>
>>
>> OK, I got it now.
>> So this problem parsing the output of smbclient affect both versions 3.x
>> and 4.x of BackupPC.
>> Quite a show stopper.
>>
>>
>> +--
>> |This was sent by p.kuen...@pk-its.com via Backup Central.
>> |Forward SPAM to ab...@backupcentral.com.
>> +--
>>
>>
>>
>> --
>> ___
>> BackupPC-users mailing listbackuppc-us...@lists.sourceforge.net
>> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>>
>>
>> --
>> Micha Silver
>> Arava Drainage Authority
>> cell: +972-523-665918
>>
>>
>> --
>>
>> ___
>> 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/
>>
>>
>
>
> --
> *Otto Wincrantz*
> EMEA IT Manager
> *O*  +*46 31 7504815*  |  *M*  +46 733 525862  |  *E*  *
> owinc...@tibco.com * |
> *TIBCO Software* |  Första Långgatan 26 41328 Gothenburg, Sweden |
> www.tibco.com  |
>
>
>
> The information transmitted in this electronic communication is intended
> only for the person or entity to whom it is addressed and may contain
> confidential and/or privileged material. Any review, retransmission,
> dissemination or other use of or taking of any action in reliance upon this
> information by persons or entities other than the intended recipient is
> prohibited.
>
> This mail was received via Mail-SeCure System.
>
>
> --
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
> ___
> BackupPC-users mailing listbackuppc-us...@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
> This