Make WordPress Core

Opened 4 years ago

Closed 21 months ago

#50937 closed feature request (wontfix)

Auto-backup in core

Reported by: davelo's profile davelo Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Administration Keywords: close
Focuses: Cc:

Description

We have auto-updates in core since 5.5.
Is there ever been thought about the idea of (optional) auto-backups?

And now: like doing an auto-backup before an auto-update. And as extra: the possibility of planning a daily backup in WordPress.

As someone noted in the dutch WP Slack channel: "have been seeing 10 years the notice in WordPress about backing up database and files. Why isn't WordPress itself capable of doing that"

So, that message sparked my attention.
Never thought of that before, cause i'm kinda confident to get (bad) stuff fixed.

But i can assume that a lot of non-tech users haven't got a clue about wether their backups are running okay or not. Or that they even tested setting back a backup. Or that user assume's it's the task of their hosting company.

So, auto-backups in core:

  • yes, WordPress should take care
  • no, it's not for WordPress to take care of that

Change History (6)

#1 @woutergroenewold
4 years ago

"Simplest" way would be to store core-version and (.org repo) plugin/theme versions to provide information for a rollback. Maybe offer a ZIP button for DB + non-repo plugins/themes.

#2 @desrosj
4 years ago

  • Keywords close added

Welcome to Trac, @davelo!

I feel like I have seen a ticket for this in the past, but I am currently unable to locate one.

Thinking this through, I am inclined to close this out as "plugin territory". There are a lot of different ways to approach site backups and restores (at the host level, offsite backups, etc.), and I think it could be difficult for Core to keep up. There are many different hosts and plugins in the directory that handle backups, and many do a very good job.

As this would be a large feature, it would definitely need to be worked on as a feature plugin before proposing a Core merge.

This feature would also fall outside of the current priorities for the project, so the likelihood of this being considered within the next ~12-18 months is very low.

I'm marking with a close suggestion with the maybelater resolution, but leaving it open for more thoughts and feedback.

#3 @desrosj
4 years ago

  • Component changed from General to Administration

#4 @woutergroenewold
4 years ago

@desrosj I see your point, but how about a way for backup-plugins universal hook into this part of the update process? So your favorite, already configurated, plugin can do it's magic.

#6 @JeffPaul
21 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I concur with @desrosj that this is best handled via plugin(s) and if a specific hook is needed then a separate ticket can be re-opened (or YOLO re-open this one for context I support) to discuss that addition to core to support the extensibility for said plugin(s) use case on auto-backups.

Note: See TracTickets for help on using tickets.