Re: [BackupPC-users] Full backups disappear

2017-04-04 Thread Claus Tøndering
After using $Conf{FullKeepCnt}=4 for a couple of days, I believe the 
problem has been solved.


Thank you.

/Claus


On 03-04-2017 11:22, I wrote:

$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
$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 discussion, questions and support 


*Date: *02-04-2017 20:44
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 those settings were too small.


Craig

On Sun, Apr 2, 2017 at 5:21 AM, Claus Tøndering <mailto:cl...@tondering.dk>> wrote:


I have recently moved to BackupPC version 4, and strange things
now happen to my full backups.

I have set
$Conf{FullPeriod} = '60';
which I believe would indicate a full backup every 60 days.
However, instead I get a full backup every other day.

The "Backup Summary" on the admin page looks like this:

Backup# TypeFilled  Level   Start Date  Duration/mins   Age/days
Server Backup Path
15 <http://kreacher/bpc?action=browse&host=legolas&num=15>incr
no  1   3/20 20:06  14.012.7/var/lib/backuppc/pc/legolas/15
17 <http://kreacher/bpc?action=browse&host=legolas&num=17>incr
no  1   3/22 20:05  15.310.7/var/lib/backuppc/pc/legolas/17
19 <http://kreacher/bpc?action=browse&host=legolas&num=19>incr
no  1   3/24 20:04  12.68.7 /var/lib/backuppc/pc/legolas/19
21 <http://kreacher/bpc?action=browse&host=legolas&num=21>incr
no  1   3/27 20:05  13.35.8 /var/lib/backuppc/pc/legolas/21
22 <http://kreacher/bpc?action=browse&host=legolas&num=22>
partial no  0   3/28 20:00  0.0 4.8
/var/lib/backuppc/pc/legolas/22
25 <http://kreacher/bpc?action=browse&host=legolas&num=25>incr
no  1   4/1 10:01   12.91.2 /var/lib/backuppc/pc/legolas/25
26 <http://kreacher/bpc?action=browse&host=legolas&num=26>full
yes 0   4/2 13:00   62.60.1 
/var/lib/backuppc/pc/legolas/26



Except for a problem around backup 22/23 you see this pattern:
Backups 15, 17, 19, 21, 25 (all odd numbers) are incremental;
backups 16, 18, 20, 24 (all even numbers) are missing.

Backup 26 (an even number) is full. Tomorrow, the list will show
backup 27 being incremental and backup 26 will have disappeared.
The day after tomorrow a new full backup 28 will appear.

Is this the intended behaviour?

/Claus





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Full backups disappear

2017-04-03 Thread Claus Tøndering

$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
$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 discussion, questions and support 


*Date: *02-04-2017 20:44
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 those settings were too small.


Craig

On Sun, Apr 2, 2017 at 5:21 AM, Claus Tøndering <mailto:cl...@tondering.dk>> wrote:


I have recently moved to BackupPC version 4, and strange things
now happen to my full backups.

I have set
$Conf{FullPeriod} = '60';
which I believe would indicate a full backup every 60 days.
However, instead I get a full backup every other day.

The "Backup Summary" on the admin page looks like this:

Backup# TypeFilled  Level   Start Date  Duration/mins   Age/days
Server Backup Path
15 <http://kreacher/bpc?action=browse&host=legolas&num=15>incr
no  1   3/20 20:06  14.012.7/var/lib/backuppc/pc/legolas/15
17 <http://kreacher/bpc?action=browse&host=legolas&num=17>incr
no  1   3/22 20:05  15.310.7/var/lib/backuppc/pc/legolas/17
19 <http://kreacher/bpc?action=browse&host=legolas&num=19>incr
no  1   3/24 20:04  12.68.7 /var/lib/backuppc/pc/legolas/19
21 <http://kreacher/bpc?action=browse&host=legolas&num=21>incr
no  1   3/27 20:05  13.35.8 /var/lib/backuppc/pc/legolas/21
22 <http://kreacher/bpc?action=browse&host=legolas&num=22>
partial no  0   3/28 20:00  0.0 4.8 
/var/lib/backuppc/pc/legolas/22
25 <http://kreacher/bpc?action=browse&host=legolas&num=25>incr
no  1   4/1 10:01   12.91.2 /var/lib/backuppc/pc/legolas/25
26 <http://kreacher/bpc?action=browse&host=legolas&num=26>full
yes 0   4/2 13:00   62.60.1 
/var/lib/backuppc/pc/legolas/26



Except for a problem around backup 22/23 you see this pattern:
Backups 15, 17, 19, 21, 25 (all odd numbers) are incremental;
backups 16, 18, 20, 24 (all even numbers) are missing.

Backup 26 (an even number) is full. Tomorrow, the list will show
backup 27 being incremental and backup 26 will have disappeared.
The day after tomorrow a new full backup 28 will appear.

Is this the intended behaviour?

/Claus



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
<mailto:BackupPC-users@lists.sourceforge.net>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
<https://lists.sourceforge.net/lists/listinfo/backuppc-users>
Wiki: http://backuppc.wiki.sourceforge.net
<http://backuppc.wiki.sourceforge.net>
Project: http://backuppc.sourceforge.net/
<http://backuppc.sourceforge.net/>




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
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/


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Full backups disappear

2017-04-02 Thread Claus Tøndering
I have recently moved to BackupPC version 4, and strange things now 
happen to my full backups.


I have set
$Conf{FullPeriod} = '60';
which I believe would indicate a full backup every 60 days. However, 
instead I get a full backup every other day.


The "Backup Summary" on the admin page looks like this:

Backup# 	Type 	Filled 	Level 	Start Date 	Duration/mins 	Age/days 
Server Backup Path
15  	incr 	no 	1 
3/20 20:06 	14.0 	12.7 	/var/lib/backuppc/pc/legolas/15
17  	incr 	no 	1 
3/22 20:05 	15.3 	10.7 	/var/lib/backuppc/pc/legolas/17
19  	incr 	no 	1 
3/24 20:04 	12.6 	8.7 	/var/lib/backuppc/pc/legolas/19
21  	incr 	no 	1 
3/27 20:05 	13.3 	5.8 	/var/lib/backuppc/pc/legolas/21
22  	partial 	no 
0 	3/28 20:00 	0.0 	4.8 	/var/lib/backuppc/pc/legolas/22
25  	incr 	no 	1 
4/1 10:01 	12.9 	1.2 	/var/lib/backuppc/pc/legolas/25
26  	full 	yes 	0 
	4/2 13:00 	62.6 	0.1 	/var/lib/backuppc/pc/legolas/26




Except for a problem around backup 22/23 you see this pattern: Backups 
15, 17, 19, 21, 25 (all odd numbers) are incremental; backups 16, 18, 
20, 24 (all even numbers) are missing.


Backup 26 (an even number) is full. Tomorrow, the list will show backup 
27 being incremental and backup 26 will have disappeared. The day after 
tomorrow a new full backup 28 will appear.


Is this the intended behaviour?

/Claus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Successful backup marked as failed

2017-03-05 Thread Claus Tøndering
On 03.03.2017 21:39, I wrote:
> On 03.03.2017 18:32, Alexander Moiseev wrote:
>> BackupPC 3.3.1 doesn't support smbclient 4.x output.
>> You should upgrade BackupPC to 3.3.2 or downgrade smbclient to 3.6. 
>> Replacing smb transfer method with rsync would be good choice as well.
>>
>
> Thank you, Alexander, I'll try version 3.3.2 of BackupPC. I'll let you 
> know how it works.

I went all the way to version 4.0.0 of BackupPC, and it works nicely. 
Problem solved. Thank you, Alexander.

Best wishes,
Claus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
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] Successful backup marked as failed

2017-03-03 Thread Claus Tøndering
On 03.03.2017 18:32, Alexander Moiseev wrote:
> On 03.03.2017 18:43, Claus Tøndering wrote:
>> On 03.03.2017 16:26, Alexander Moisseev wrote:
>>
>>> What BackupPC and smbclient versions are you using?
>>>
>> BackupPC 3.3.1
>> smbclient 4.3.11
>>
>> These are the standard versions installed with Ubuntu 16.04 LTS.
>>
> BackupPC 3.3.1 doesn't support smbclient 4.x output.
> You should upgrade BackupPC to 3.3.2 or downgrade smbclient to 3.6. Replacing 
> smb transfer method with rsync would be good choice as well.
>

Thank you, Alexander, I'll try version 3.3.2 of BackupPC. I'll let you 
know how it works.

Privet,
Claus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
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] Successful backup marked as failed

2017-03-03 Thread Claus Tøndering

On 03.03.2017 16:26, Alexander Moisseev wrote:


What BackupPC and smbclient versions are you using?




BackupPC 3.3.1
smbclient 4.3.11

These are the standard versions installed with Ubuntu 16.04 LTS.

/Claus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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] Successful backup marked as failed

2017-03-03 Thread Claus Tøndering
Hi,

I'm using BackupPC to back up a Windows computer. The configuration file 
contains this:

 $Conf{ClientNameAlias} = '192.168.0.23';
 $Conf{SmbShareName} = [ 'Users' ];
 $Conf{BackupFilesOnly} = ['/Trine/SkyDrive'];
$Conf{SmbShareUserName} = 'Trine';
 $Conf{SmbSharePasswd} = 'X';

After running BackupPC, the XferLOG contains:

 Running: /usr/bin/smbclient 192.168.0.23\\Users -U Trine -E -d 
1 -c tarmode\ full -Tc - /Trine/SkyDrive
 full backup started for share Users
 Xfer PIDs are now 12274,12273
 Domain=[EOWYN] OS=[Windows 10 Home 14393] Server=[Windows 10 Home 6.3]
 tar:316  tarmode is now full, system, hidden, noreset, quiet
 tar:712  Total bytes received: 14482767
   create   755   0/0   0 Trine/SkyDrive
   pool 644   0/0 268 Trine/SkyDrive/desktop.ini
   create   755   0/0   0 Trine/SkyDrive/Dokumenter
   create   755   0/0   0 Trine/SkyDrive/Dokumenter/Arbejde
   pool 644   0/0   36519 
Trine/SkyDrive/Dokumenter/Arbejde/3 ekstra kapitler til Birk.docx

    Many more files transferred

 tarExtract: Done: 0 errors, 61 filesExist, 14484845 sizeExist, 
10253128 sizeExistComp, 61 filesTotal, 14484845 sizeTotal
 Got fatal error during xfer (No files dumped for share Users)
 Backup aborted (No files dumped for share Users)
 Saving this as a partial backup, replacing the prior one (got 61 
and 0 files versus 0)

In short, all the files are backed up correctly, and I can see them in 
the BackupPC web page, but as you can see, the backup is marked as 
failed with this message:

 Got fatal error during xfer (No files dumped for share Users)
 Backup aborted (No files dumped for share Users)

What could be wrong?

/Claus


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
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/