Bug 129840 - keep backups too often
Summary: keep backups too often
Status: RESOLVED FIXED
Alias: None
Product: keep
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: VHI major
Target Milestone: ---
Assignee: Jean-Rémy Falleri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 11:34 UTC by Artur Jaroschek
Modified: 2008-10-17 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artur Jaroschek 2006-06-26 11:34:23 UTC
Version:           0.3.0 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-25-k7

Keep seems to backup much too often. It is configured to make backups every 6 days, but after some weeks it starts to backup after every login, and soon even after exactly every hour. I have to delete the profile and to create a new one to make keep stop from doing this irregular backups.
Comment 1 candtalan 2006-08-08 06:43:07 UTC
Using Suse 10.0, with Keep 0.3.0, KDE 4.3.2 level 'b'
Keep backups only hourly, ignoring settings of once daily.
The timeout delete also appears to be uncontrolled. This makes the Keep app unreliable and unfortunately *unusable*
Comment 2 Kenneth Aar 2006-09-18 12:29:19 UTC
Same problem as candtalan with both OpenSUSE 10.1 and Kubuntu 6.06
Comment 3 Jean-Rémy Falleri 2006-09-23 02:18:50 UTC
Can you tell me which version of rdiff-backup you are using?
Comment 4 Jean-Rémy Falleri 2006-09-23 02:50:53 UTC
Here is the rdiff-command used to detect outdated backup list:
rdiff-backup --list-increments -v2 --parsable-output '/your/backup/here'

Can someone post the output of this command here?
Comment 5 Kenneth Aar 2006-09-23 09:12:34 UTC
I get this output:

1158994868 directory

After typing this command:

rdiff-backup --list-increments -v2 --parsable-output /home/kenneth/grafikern-backup
Comment 6 Kenneth Aar 2006-09-23 13:42:45 UTC
My Rdiff-backup version: 1.0.4-2
Comment 7 Jean-Rémy Falleri 2006-11-06 19:22:03 UTC
SVN commit 602749 by jrfaller:

Fixed lastIncrement(Backup backup) method. Now returns the last 
increment instead of the first one. Many thanks to auxsvr for the 
patch!
BUG: 129840
CCMAIL: auxsvr@yahoo.com


 M  +2 -2      rdbmanager.cpp  


--- trunk/playground/sysadmin/keep/common/rdbmanager.cpp #602748:602749
@@ -177,8 +177,8 @@
 QDateTime RDBManager::lastIncrement(Backup backup)
 {
 	QValueList<QDateTime> increments = incrementList(backup);
-	QValueList<QDateTime>::Iterator last = increments.begin();
-	return *last;
+	QDateTime last = increments.last();
+	return last;
 }
 
 QValueList<Backup> RDBManager::outdatedBackupList()
Comment 8 Smeagal 2008-05-05 17:49:49 UTC
umm, can this be reopened?
At least on my Kubuntu 8.04 (hardy heroen) with keep 0.4.0 it makes a backup every hour, regardless the job setting. Same on a friends computer with a fresh install.
Worked for my in Gutsy though.
Comment 9 gukk-devel 2008-10-17 14:43:48 UTC
same happend to me