Creating a backup when upgrading should be optional

Bug #501622 reported by Rune Philosof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

It might be that the user already has a backup (for instance from the previous crashed attempt to upgrade).
With large repositories it can take a long time to make a backup.
So make it optional!

Revision history for this message
Martin Pool (mbp) wrote :

We do use the other copy while upgrading, in at least some cases, but we could delete it when we're done.

Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Rune Philosof (olberd) wrote :

Do you change anything in the copy while upgrading?
In the case where the user already has a backup, it would be very nice with an option to point to an existing backup.

I am trying to debug bzr on a repository of 16GB (nfs mounted), so it takes a while for it to do the backup when I want to test if bzr can upgrade it.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 501622] Re: Creating a backup when upgrading should be optional

On 10 March 2010 18:48, Olberd <email address hidden> wrote:
> Do you change anything in the copy while upgrading?

No, it's just a copy.

> In the case where the user already has a backup, it would be very nice with an option to point to an existing backup.

That would be a nice way to solve this bug. It's probably reasonably
easy to do if you want to try it.

> I am trying to debug bzr on a repository of 16GB (nfs mounted), so it
> takes a while for it to do the backup when I want to test if bzr can
> upgrade it.

I see.

--
Martin <http://launchpad.net/~mbp/>

Changed in bzr:
importance: Low → Wishlist
Revision history for this message
Martin Pool (mbp) wrote :

Oh, actually there is a better workaround: create a new repository in the desired format, then branch into it. This will be approximately as fast as upgrading in place (except for tiny upgrades) and it will avoid making a copy.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.