On ons, 2006-10-11 at 19:29 +0200, Stian Jordet wrote: > On man, 2006-10-02 at 09:56 +0200, Stian Jordet wrote: > > Thanks! But this doesn't really seem to work... > > > > Doing host pontiac > > Reading LOG > > Got full backup 38 at 2006-09-03 02:05:43 > > Got incr backup 39 at 2006-09-05 20:00:37 > > Got incr backup 40 at 2006-09-09 13:00:36 > > Got full backup 41 at 2006-09-10 13:00:57 > > Got incr backup 42 at 2006-09-14 17:00:36 > > Got incr backup 43 at 2006-09-15 22:00:44 > > Got full backup 44 at 2006-09-22 01:13:18 > > Got incr backup 45 at 2006-09-23 01:11:49 > > Got incr backup 46 at 2006-09-24 01:13:34 > > Reading LOG.0.z > > Got full backup 29 at 2006-08-02 09:02:04 > > Got incr backup 30 at 2006-08-03 22:00:48 > > Got incr backup 31 at 2006-08-07 01:14:26 > > Got incr backup 32 at 2006-08-08 19:01:03 > > Got full backup 33 at 2006-08-09 20:02:42 > > Got incr backup 34 at 2006-08-13 02:00:53 > > Got incr backup 35 at 2006-08-15 19:00:37 > > Got full backup 36 at 2006-08-21 20:06:18 > > Got incr backup 37 at 2006-08-27 21:00:32 > > Reading LOG.1.z > > Got full backup 21 at 2006-07-03 21:03:54 > > Got full backup 22 at 2006-07-06 22:39:26 > > Got full backup 23 at 2006-07-15 11:32:29 > > Got incr backup 24 at 2006-07-19 22:01:05 > > Got incr backup 25 at 2006-07-20 22:00:53 > > Got full backup 26 at 2006-07-24 23:01:28 > > Got incr backup 27 at 2006-07-29 01:10:00 > > Got incr backup 28 at 2006-07-30 01:13:06 > > Reading LOG.2.z > > Got full backup 14 at 2006-04-03 23:09:03 > > Got full backup 15 at 2006-04-13 18:01:41 > > Got incr backup 16 at 2006-04-17 22:00:46 > > Got full backup 17 at 2006-05-04 19:04:05 > > Got full backup 18 at 2006-06-12 23:39:05 > > Got incr backup 19 at 2006-06-16 20:00:59 > > Got full backup 20 at 2006-06-24 16:07:15 > > Reading LOG.3.z > > Got full backup 10 at 2006-03-03 02:44:52 > > Got full backup 11 at 2006-03-12 23:01:40 > > Got incr backup 12 at 2006-03-17 22:00:44 > > Got full backup 13 at 2006-03-20 21:01:46 > > Reading LOG.4.z > > Got full backup 0 at 2006-02-05 17:13:08 > > Got incr backup 1 at 2006-02-06 22:00:36 > > Got incr backup 2 at 2006-02-08 21:01:14 > > Got incr backup 3 at 2006-02-09 21:01:19 > > Got incr backup 4 at 2006-02-11 13:00:36 > > Got incr backup 5 at 2006-02-12 14:01:01 > > Got full backup 6 at 2006-02-14 22:02:57 > > Got incr backup 7 at 2006-02-15 22:01:00 > > Got full backup 8 at 2006-02-22 17:01:35 > > Got incr backup 9 at 2006-02-23 20:00:35 > > *** No info for backup number 33 > > *** No info for backup number 39 > > *** No info for backup number 40 > > *** No info for backup number 36 > > *** No info for backup number 17 > > *** No info for backup number 41 > > *** No info for backup number 38 > > *** No info for backup number 42 > > *** No info for backup number 18 > > *** No info for backup number 0 > > *** No info for backup number 46 > > *** No info for backup number 45 > > *** No info for backup number 43 > > *** No info for backup number 23 > > *** No info for backup number 44 > > No changes for host pontiac > > > > Any ideas as to what I'm doing wrong? > > Umm, sorry to nag you with this again, but I haven't taken a backup for > almost two weeks, trying to get this fixed first. Was this the only way, > and what am I doing wrong? What info does it need that it doesn't find?
I think I found why it wasn't working. You (seem) to have a typo in line 171 of BackupPC_fixupBackupSummary. It should have been $3, not $2. And in line 157 I think you should have $1, not $str. And third, somehow I need to have the parsedate statements outside the array to make them work. Have no idea why (I know absolutely nothing about perl whatsoever!). But anyway, with these three changes, I get this output: $VAR1 = [ { 'noFill' => 0, 'num' => '33', 'size' => '26265851', 'endTime' => 1155146562, 'fillFromNum' => '44', 'xferErrs' => '0', 'startTime' => 1155146402, 'mangle' => 1, 'nFilesExist' => 0, 'tarErrs' => 0, 'xferBadShare' => '0', 'sizeExist' => 0, 'level' => 0, 'nFiles' => '2678', 'sizeExistComp' => 0, 'compress' => 3, 'xferBadFile' => '0', 'type' => 'full' }, { 'noFill' => 1, 'num' => '39', 'size' => '2000', 'endTime' => 1157479237, 'fillFromNum' => '38', 'xferErrs' => '0', 'startTime' => 1157241602, 'mangle' => 1, 'nFilesExist' => 0, 'tarErrs' => 0, 'xferBadShare' => '0', 'sizeExist' => 0, 'level' => 1, 'nFiles' => '4', 'sizeExistComp' => 0, 'compress' => 3, 'xferBadFile' => '0', 'type' => 'incr' }, { 'noFill' => 0, 'num' => '36', 'size' => '26301884', 'endTime' => 1156183578, 'fillFromNum' => '33', 'xferErrs' => '0', 'startTime' => 1156183202, 'mangle' => 1, 'nFilesExist' => 0, 'tarErrs' => 0, 'xferBadShare' => '0', 'sizeExist' => 0, 'level' => 0, 'nFiles' => '2683', 'sizeExistComp' => 0, 'compress' => 3, 'xferBadFile' => '0', 'type' => 'full' }, And so on. While this may seem right (for what I know, that is), I wonder why they are sorted wrong, and "fillFromNum" on fulls are totally weird, but that doesn't matter, probably? But what I _really_ wonder about, is how to make this a pc/$host/backups file? :) Thanks! Best regards, Stian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/