Logarithmic purge disabled/does not work

Bug #587911 reported by DiQ
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nssbackup
Won't Fix
Low
Jean-Peer Lorenz
0.2
Won't Fix
Undecided
Unassigned
0.3
Won't Fix
Low
Jean-Peer Lorenz
Devel
Won't Fix
Low
Jean-Peer Lorenz
sbackup
Status tracked in Trunk
0.11
Fix Released
Low
Jean-Peer Lorenz
Trunk
Fix Released
Low
Jean-Peer Lorenz

Bug Description

I have just updated 2 machines to the 0.2.0 release and the logarithmic settings are missing from both purging tabs

Revision history for this message
DiQ (dik23) wrote :

Oops - sorry, just read the change log

What will happen with purging if logarithmic was selected previous to upgrade ?

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

A warning is logged stating that logarithmic purging is disabled and that you should set an appropriate cutoff value in your configuration. Existing backups are not removed until you change to cutoff purge. That is, you can manually save your old backups and then enable cutoff purge.

Unfortunately, disabling the logarithmic purge was necessary since it had some serious (performance) issues. The current implementation merges existing snapshots during the purge process every time and this merge takes several hours when applied to archives containing more than 10.000 files. Practically, this makes (Not So) Simple Backup unusable for daily use. Therefore, I've decided to disable it and to provide only a working choice (the cutoff purge) for the stable release.

For later versions, it is planned to re-enable this feature.

I'll slightly modify the title of this bug and set its status to confirmed, so we can use it to track the progress on this issue.

Thanks for reporting and for using (Not So) Simple Backup.
Best, Jean-Peer.

summary: - Logarithmic purge missing after upgrade to 0.2
+ Logarithmic purge disabled in final release 0.2
Changed in nssbackup:
status: New → Confirmed
Revision history for this message
Anton (feenstra) wrote : Re: [Nssbackup-team] [Bug 587911] Re: Logarithmic purge missing after upgrade to 0.2

I've just started testing 0.3. Good news is that it works, and
(finally!!) accepts an ssh destination without password.

Bad news is that for me logarithmic purging is an absolutely essential
feature. I want to be able to go back to (old!) versions of files for
some considerable period of time.

I think dropping log purging due to an implementation crash with
(incremental) snapshot merging is not a good decision. For one thing,
you could retain log purging for the full snapshots, as no merging would
be required there. Then, simply, retain all incremental snapshots until
their base full snapshot is scheduled for purging.

I'd be happy to take some of this work on me (I'm on the sbackup
developer team, but not yet on the nssbackup team, at least according to
launchpad). But I do need one of you to get me started, and give me some
pointers on where to start looking and working.

(P.S., I could not bzr the nssbackup source. Is that due to launchpad
being in read-only?)

--
Groetjes,

Anton
  _____________ _______________________________________________________
| | |
| _ _ ___,| K. Anton Feenstra |
| / \ / \'| | | IBIVU/Bioinformatics - Free University Amsterdam |
|( | )| | | De Boelelaan 1083A - 1081 HV Amsterdam - Netherlands |
| \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
| | <email address hidden> - www.few.vu.nl/~feenstra/ |
| | "Got Coffee, Got Donuts, Got Wasted" (F. Black) |
|_____________|_______________________________________________________|

Revision history for this message
Holstener Liesel (holstenerliesel) wrote : Re: Logarithmic purge disabled in final release 0.2

Sounds great! It would be greatly appreciated if someone was able to fix this soon. I switched back to sbackup solely for logarithmic purge, but that of course is a bit of a pain with all those backups ver. 1.5 I had.

Revision history for this message
Anton (feenstra) wrote :

Jean-Peer (whoops, almost wrote 'Pear' there...), after you've explained me where & how to start, could you assign this bug to me?

Changed in nssbackup:
importance: Undecided → High
assignee: nobody → Jean-Peer Lorenz (peer.loz)
status: Confirmed → In Progress
summary: - Logarithmic purge disabled in final release 0.2
+ Logarithmic purge disabled/does not work
Revision history for this message
Dan Lea (danlea) wrote :

I agree with Anton: logarithmic purging of full backups is a key feature for the many people who'll want a selection of historical snapshots.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Fixed in latest release of Simple Backup 0.11.1: logarithmic purge is re-enabled.
Please take a look at sbackup's project site at https://launchpad.net/sbackup

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Since development of nssbackup and sbackup has merged this won't fix in nssbackup. Please take a look at sbackup's project site at https://launchpad.net/sbackup

Changed in nssbackup:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.