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 <jaime.fen...@animallogic.ca> 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: Bzzzz [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 +0000 > Jaime Fenton <jaime.fen...@animallogic.ca> 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] <https://www.linkedin.com/company/animal-logic> [Facebook] > <https://www.facebook.com/Animal-Logic-129284263808191/> [Twitter] < > https://twitter.com/AnimalLogic> [Instagram] < > https://www.instagram.com/animallogicstudios/> > > [Animal Logic]<http://www.animallogic.com> > > www.animallogic.com<http://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/