WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 7 weeks ago

#10666 new feature request

When an upgrade borks, There needs to be an ability to rollback

Reported by: jorbin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: close
Focuses: Cc:

Description

When an upgrade borks, there should be a simple script that allow you to rollback to the previous version. It should be mostly separate from the admin interface and allow for the restoration of both a database and the files associated with the previous version.

Change History (6)

comment:1 scribu5 years ago

  • Milestone changed from Unassigned to Future Release
  • Type changed from enhancement to feature request

comment:2 Denis-de-Bernardy4 years ago

I'd say close this one as fixed in WP 2.9, or wontfix. We check for PHP/MySQL version, and we abort as needed. Once we touch the database, there really isn't much turning back.

comment:3 scribu4 years ago

We could make a backup of the database before attempting an upgrade. Don't know how well that would work on MU though.

comment:4 hakre4 years ago

  • Milestone changed from Future Release to 3.0

This is a Feature Request for 3.0 (at least wished: #11646).

comment:5 nacin4 years ago

  • Milestone changed from 3.0 to Future Release

No traction on this.

comment:6 jeremyfelt7 weeks ago

  • Keywords close added

Our handling of a failed upgrade is much better now at the file level now. When automatic upgrades were introduced in 3.7, a lot of work went toward making sure this process is clean. I'm not sure what kind of DB stuff we could do on top of that.

Should this ticket remain open for attention, or are we pretty well set for now?

Note: See TracTickets for help on using tickets.