Make WordPress Core

Opened 18 months ago

Last modified 18 months ago

#50937 new feature request

Auto-backup in core

Reported by: davelo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5
Component: Administration Keywords: close
Focuses: Cc:


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 (5)

#1 @woutergroenewold
18 months 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
18 months 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
18 months ago

  • Component changed from General to Administration

#4 @woutergroenewold
18 months 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.

Note: See TracTickets for help on using tickets.