Re: [BackupPC-users] Curious Message to PC user

2018-11-19 Thread Craig Barratt via BackupPC-users
I pushed a fix

for this issue.

Craig

On Mon, Nov 19, 2018 at 2:14 PM B  wrote:

> On Mon, 19 Nov 2018 21:48:30 +
> Jaime Fenton  wrote:
>
> > Where in the conf file will that be? (yes we had a chuckle at how far
> > back that time/date was).
>
> http://backuppc.sourceforge.net/faq/BackupPC.html
> look after: $Conf{EMailNotifyOldBackupDays} = 7.0;
> and following.
>
> d° for v4 into: http://backuppc.sourceforge.net/BackupPC-4.1.3.html
>
> Jenkins had an idea I checked it against postgresql
> select now() - interval '17851.4 days';
> and provided you received the e-mail 3 days ago, it matches
> (@ ~23:01 local time (+1)) :
>?column?
> ---
>  1970-01-04 13:25:12.889537+01
> (1 row)
>
> Ziziz quite strange (I'm not even sure a BIOS could go back such a
> long time backwards, never tried.)
>
> Wild guess: this was formerly a machine powered under m$ window$ and the
> soul of Paul Allen is punishing you for switching to Linux *<;-{p)
>
> Jiff
>
>
> ___
> 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 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] Curious Message to PC user

2018-11-19 Thread Bzzzz
On Mon, 19 Nov 2018 21:48:30 +
Jaime Fenton  wrote:

> Where in the conf file will that be? (yes we had a chuckle at how far
> back that time/date was).

http://backuppc.sourceforge.net/faq/BackupPC.html
look after: $Conf{EMailNotifyOldBackupDays} = 7.0;
and following.

d° for v4 into: http://backuppc.sourceforge.net/BackupPC-4.1.3.html

Jenkins had an idea I checked it against postgresql
select now() - interval '17851.4 days';
and provided you received the e-mail 3 days ago, it matches
(@ ~23:01 local time (+1)) :
   ?column?
---
 1970-01-04 13:25:12.889537+01
(1 row)

Ziziz quite strange (I'm not even sure a BIOS could go back such a
long time backwards, never tried.)

Wild guess: this was formerly a machine powered under m$ window$ and the
soul of Paul Allen is punishing you for switching to Linux *<;-{p)

Jiff


___
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] Curious Message to PC user

2018-11-19 Thread Craig Barratt via BackupPC-users
I suspect this happens when there is no completed backup, but the first one
is currently underway.  In 3.x the HOST's backups file is not updated until
after a backup completes, but in 4.x an "active" entry is written to the
backups file when the backup starts, which causes BackupPC_sendEmail to
send the confusing message.  Yes, as Wade observed it thinks the last
backup is the linux epoch at t = 0 because the temporary "active" entry in
the backups file doesn't yet have all the fields filled in.

The correct message to send is the "no successful backups" message.

I'll commit a fix, hopefully tonight.

Craig

On Mon, Nov 19, 2018 at 1:50 PM Jaime Fenton 
wrote:

> Where in the conf file will that be? (yes we had a chuckle at how far back
> that time/date was).
>
> Cheers,
> Jaime
>
> -Original Message-
> From: B [mailto:lazyvi...@gmx.com]
> Sent: Monday, November 19, 2018 10:06 AM
> To: Jaime Fenton
> Cc: General list for user discussion, questions and support
> Subject: Re: [BackupPC-users] Curious Message to PC user
>
> On Mon, 19 Nov 2018 17:55:31 +
> Jaime Fenton  wrote:
>
> > "Your PC (COMPUTERNAME.GOES.HERE) has not been successfully backed up
> > for 17851.4 days. Your PC has been correctly backed up 1 times from
> > 0.3 to 17851.4 days ago.  PC backups should occur automatically when
> > your PC is connected to the network.
>
> That's more than 48 years, did you check the SRV timestamp?
>
> …
> > This was for a brand new computer that was setup on Friday. Has anyone
> > else had wildly high numbers for "not backed up successfully" emails
> > previously?
>
> Yup, but only when going further than the number of days specified into
> the configuration file (and NOT +48yrs)
>
> Jiff
> --
> Jaime Fenton
> Support Engineer
>
> T: +1 604 398 4800 (main)
> D: +1 604 398 4813 (direct)
> E: jaime.fen...@animallogic.ca
>
> 840 Cambie Street
> Vancouver, BC V6B 2P6
> CANADA
>
>
>   [LinkedIn]    [Facebook]
>    [Twitter] <
> https://twitter.com/AnimalLogic>   [Instagram] <
> https://www.instagram.com/animallogicstudios/>
>
> [Animal Logic]
>
> www.animallogic.com
>
> CONFIDENTIALITY AND PRIVILEGE NOTICE
> This email is intended only to be read or used by the addressee. It is
> confidential and may contain privileged information. If you are not the
> intended recipient, any use, distribution, disclosure or copying of this
> email is strictly prohibited. Confidentiality and legal privilege attached
> to this communication are not waived or lost by reason of the mistaken
> delivery to you. If you have received this email in error, please delete it
> and notify us immediately by telephone or email.
>
> ___
> 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 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] Curious Message to PC user

2018-11-19 Thread Jaime Fenton
Where in the conf file will that be? (yes we had a chuckle at how far back that 
time/date was).

Cheers,
Jaime

-Original Message-
From: B [mailto:lazyvi...@gmx.com]
Sent: Monday, November 19, 2018 10:06 AM
To: Jaime Fenton
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Curious Message to PC user

On Mon, 19 Nov 2018 17:55:31 +
Jaime Fenton  wrote:

> "Your PC (COMPUTERNAME.GOES.HERE) has not been successfully backed up
> for 17851.4 days. Your PC has been correctly backed up 1 times from
> 0.3 to 17851.4 days ago.  PC backups should occur automatically when
> your PC is connected to the network.

That's more than 48 years, did you check the SRV timestamp?

…
> This was for a brand new computer that was setup on Friday. Has anyone
> else had wildly high numbers for "not backed up successfully" emails
> previously?

Yup, but only when going further than the number of days specified into the 
configuration file (and NOT +48yrs)

Jiff
--
Jaime Fenton
Support Engineer

T: +1 604 398 4800 (main)
D: +1 604 398 4813 (direct)
E: jaime.fen...@animallogic.ca

840 Cambie Street
Vancouver, BC V6B 2P6
CANADA


  [LinkedIn]    [Facebook] 
   [Twitter] 
   [Instagram] 


[Animal Logic]

www.animallogic.com

CONFIDENTIALITY AND PRIVILEGE NOTICE
This email is intended only to be read or used by the addressee. It is 
confidential and may contain privileged information. If you are not the 
intended recipient, any use, distribution, disclosure or copying of this email 
is strictly prohibited. Confidentiality and legal privilege attached to this 
communication are not waived or lost by reason of the mistaken delivery to you. 
If you have received this email in error, please delete it and notify us 
immediately by telephone or email.

___
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] Curious Message to PC user

2018-11-19 Thread Jenkins, Wade William
I think 17851 days ago would be 1/1/1970.  I’ve never seen this particular 
error with BackupPC, but it’s not that far-fetched for a non-existent last 
backup date to default to that.


--
Wade Jenkins, IT Administrator
Department of Electrical Engineering and Computer Science
University of Tennessee
wjenk...@utk.edu


From: Jaime Fenton 
Reply-To: "General list for user discussion, questions and support" 

Date: Monday, November 19, 2018 at 12:57 PM
To: "backuppc-users@lists.sourceforge.net" 

Subject: [BackupPC-users] Curious Message to PC user

Hi there,

One of my users received this recently:

“Your PC (COMPUTERNAME.GOES.HERE) has not been successfully backed up for 
17851.4 days.
Your PC has been correctly backed up 1 times from 0.3 to 17851.4 days ago.  PC 
backups should occur automatically when your PC is connected to the network.

If your PC has been connected for more than a few hours to the network during 
the last 17851.4 days you should contact IS to find out why backups are not 
working.

Otherwise, if you are out of the office, there's not much you can do, other 
than manually copying especially critical files to other media.  You should be 
aware that any files you have created or changed in the last 17851.4 days 
(including all new email and
attachments) cannot be restored if your PC disk crashes. “

This was for a brand new computer that was setup on Friday. Has anyone else had 
wildly high numbers for “not backed up successfully” emails previously?

Thanks,
Jaime
--
Jaime Fenton
Support Engineer

T: +1 604 398 4800 (main)
D: +1 604 398 4813 (direct)
E: jaime.fen...@animallogic.ca

840 Cambie Street
Vancouver, BC V6B 2P6
CANADA


  [LinkedIn]   [Facebook] 
   [Twitter] 
   [Instagram] 


[Animal Logic]

www.animallogic.com

CONFIDENTIALITY AND PRIVILEGE NOTICE
This email is intended only to be read or used by the addressee. It is 
confidential and may contain privileged information. If you are not the 
intended recipient, any use, distribution, disclosure or copying of this email 
is strictly prohibited. Confidentiality and legal privilege attached to this 
communication are not waived or lost by reason of the mistaken delivery to you. 
If you have received this email in error, please delete it and notify us 
immediately by telephone or email.
___
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] Curious Message to PC user

2018-11-19 Thread Bzzzz
On Mon, 19 Nov 2018 17:55:31 +
Jaime Fenton  wrote:

> "Your PC (COMPUTERNAME.GOES.HERE) has not been successfully backed up
> for 17851.4 days. Your PC has been correctly backed up 1 times from
> 0.3 to 17851.4 days ago.  PC backups should occur automatically when
> your PC is connected to the network.

That's more than 48 years, did you check the SRV timestamp?

… 
> This was for a brand new computer that was setup on Friday. Has anyone
> else had wildly high numbers for "not backed up successfully" emails
> previously?

Yup, but only when going further than the number of days specified into
the configuration file (and NOT +48yrs)

Jiff


___
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] Curious Message to PC user

2018-11-19 Thread Jaime Fenton
Hi there,

One of my users received this recently:

"Your PC (COMPUTERNAME.GOES.HERE) has not been successfully backed up for 
17851.4 days.
Your PC has been correctly backed up 1 times from 0.3 to 17851.4 days ago.  PC 
backups should occur automatically when your PC is connected to the network.

If your PC has been connected for more than a few hours to the network during 
the last 17851.4 days you should contact IS to find out why backups are not 
working.

Otherwise, if you are out of the office, there's not much you can do, other 
than manually copying especially critical files to other media.  You should be 
aware that any files you have created or changed in the last 17851.4 days 
(including all new email and
attachments) cannot be restored if your PC disk crashes. "

This was for a brand new computer that was setup on Friday. Has anyone else had 
wildly high numbers for "not backed up successfully" emails previously?

Thanks,
Jaime
--
Jaime Fenton
Support Engineer

T: +1 604 398 4800 (main)
D: +1 604 398 4813 (direct)
E: jaime.fen...@animallogic.ca

840 Cambie Street
Vancouver, BC V6B 2P6
CANADA


  [LinkedIn]    [Facebook] 
   [Twitter] 
   [Instagram] 


[Animal Logic]

www.animallogic.com

CONFIDENTIALITY AND PRIVILEGE NOTICE
This email is intended only to be read or used by the addressee. It is 
confidential and may contain privileged information. If you are not the 
intended recipient, any use, distribution, disclosure or copying of this email 
is strictly prohibited. Confidentiality and legal privilege attached to this 
communication are not waived or lost by reason of the mistaken delivery to you. 
If you have received this email in error, please delete it and notify us 
immediately by telephone or email.
___
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] failing smb backup

2018-11-19 Thread Gabriel Doring
By the looks of it, its hanging ou this file

tar:965  Error reading file \243471.SLI : NT_STATUS_IO_TIMEOUT

Maybe the file is too large, the disk is damaged, or someething...

Em seg, 19 de nov de 2018 às 08:50, Philip Parsons (Velindre - Medical
Physics)  escreveu:

> Hi,
>
>
>
> I have a new backup set up on backuppc that has run fully a few times
> (without any issues).
>
>
>
> However, it has stopped backing up and is repeated failing with the
> following error log:
>
>
>
> XferLOG file /data/backuppc/pc/backupname/XferLOG.23.z created 2018-11-17
> 15:00:01
>
> Backup prep: type = full, case = 4, inPlace = 0, doDuplicate = 0,
> newBkupNum = 23, newBkupIdx = 9, lastBkupNum = 22, lastBkupIdx = 8
> (FillCycle = 0, noFillCnt = 5)
>
> Running: /usr/bin/smbclient SERVERNAME\\ShareName\$ -U AccountName -E
> -d 1 -c tarmode\ full -mSMB3 -Tc -
>
> full backup started for share ShareName$
>
> Xfer PIDs are now 109802,109801
>
> WARNING: The "syslog" option is deprecated
>
> tarExtract: /usr/local/BackupPC/bin/BackupPC_tarExtract: got Full = 1
>
> tarExtract: /usr/local/BackupPC/bin/BackupPC_tarExtract starting...
> (XferLogLevel = 1)
>
> [ skipped 1 lines ]
>
> tar:316  tarmode is now full, system, hidden, noreset, quiet
>
> [ skipped 147412 lines ]
>
> tar:965  Error reading file \243471.SLI : NT_STATUS_IO_TIMEOUT
>
> XferErr NT_STATUS_UNSUCCESSFUL listing \\*
>
> tar:705  do_list fail NT_STATUS_UNSUCCESSFUL
>
> tar:712  Total bytes received: 1150121397029
>
> readOutput: sysread returns 0 and got EOF (exit ok = , )
>
> XferErr Non-zero exit status from smbclient
>
> [ skipped 176294 lines ]
>
> tarExtract: Done: 0 errors, 147412 filesExist, 1149785726035 sizeExist,
> 1110228159804 sizeExistComp, 147413 filesTotal, 1150121397029 sizeTotal, 1
> filesNew, 335670994 sizeNew, 55242365 sizeNewComp, 905531 inodeLast
>
> Xfer PIDs are now
>
> Got fatal error during xfer (Non-zero exit status from smbclient)
>
> Backup aborted (Non-zero exit status from smbclient)
>
> BackupFailCleanup: nFilesTotal = 147413, type = full, BackupCase = 4,
> inPlace = 0, lastBkupNum = 22
>
> Keeping non-empty backup #22 (/data/backuppc/pc/backupname/22)
>
> Running BackupPC_refCountUpdate -h backupname -f on backupname
>
> Xfer PIDs are now 118778
>
> BackupPC_refCountUpdate: backupname #23 inodeLast set to 905532 (was
> 905529)
>
> BackupPC_refCountUpdate: host backupname got 0 errors (took 5 secs)
>
> Xfer PIDs are now
>
> Finished BackupPC_refCountUpdate (running time: 5 sec)
>
> Xfer PIDs are now
>
>
>
> The setup is no different from any of the other backups I’m running.
> BackupPC is version 4.1.5
>
>
>
> Can anyone offer any advice in diagnosing this?
>
>
>
> Thanks in advance!
>
> Phil
>
>
> ___
> 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/
>


-- 


*Gabriel Delphino Doring*

*Cel.: (41) 99743-1821*
*doring.gabr...@gmail.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/


[BackupPC-users] failing smb backup

2018-11-19 Thread Philip Parsons (Velindre - Medical Physics)
Hi,

I have a new backup set up on backuppc that has run fully a few times (without 
any issues).

However, it has stopped backing up and is repeated failing with the following 
error log:

XferLOG file /data/backuppc/pc/backupname/XferLOG.23.z created 2018-11-17 
15:00:01
Backup prep: type = full, case = 4, inPlace = 0, doDuplicate = 0, newBkupNum = 
23, newBkupIdx = 9, lastBkupNum = 22, lastBkupIdx = 8 (FillCycle = 0, noFillCnt 
= 5)
Running: /usr/bin/smbclient SERVERNAME\\ShareName\$ -U AccountName -E -d 1 
-c tarmode\ full -mSMB3 -Tc -
full backup started for share ShareName$
Xfer PIDs are now 109802,109801
WARNING: The "syslog" option is deprecated
tarExtract: /usr/local/BackupPC/bin/BackupPC_tarExtract: got Full = 1
tarExtract: /usr/local/BackupPC/bin/BackupPC_tarExtract starting... 
(XferLogLevel = 1)
[ skipped 1 lines ]
tar:316  tarmode is now full, system, hidden, noreset, quiet
[ skipped 147412 lines ]
tar:965  Error reading file \243471.SLI : NT_STATUS_IO_TIMEOUT
XferErr NT_STATUS_UNSUCCESSFUL listing \\*
tar:705  do_list fail NT_STATUS_UNSUCCESSFUL
tar:712  Total bytes received: 1150121397029
readOutput: sysread returns 0 and got EOF (exit ok = , )
XferErr Non-zero exit status from smbclient
[ skipped 176294 lines ]
tarExtract: Done: 0 errors, 147412 filesExist, 1149785726035 sizeExist, 
1110228159804 sizeExistComp, 147413 filesTotal, 1150121397029 sizeTotal, 1 
filesNew, 335670994 sizeNew, 55242365 sizeNewComp, 905531 inodeLast
Xfer PIDs are now
Got fatal error during xfer (Non-zero exit status from smbclient)
Backup aborted (Non-zero exit status from smbclient)
BackupFailCleanup: nFilesTotal = 147413, type = full, BackupCase = 4, inPlace = 
0, lastBkupNum = 22
Keeping non-empty backup #22 (/data/backuppc/pc/backupname/22)
Running BackupPC_refCountUpdate -h backupname -f on backupname
Xfer PIDs are now 118778
BackupPC_refCountUpdate: backupname #23 inodeLast set to 905532 (was 905529)
BackupPC_refCountUpdate: host backupname got 0 errors (took 5 secs)
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 5 sec)
Xfer PIDs are now

The setup is no different from any of the other backups I'm running.  BackupPC 
is version 4.1.5

Can anyone offer any advice in diagnosing this?

Thanks in advance!
Phil

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