BoldGrid / boldgrid-backup

The Total Upkeep plugin.
GNU General Public License v2.0
11 stars 9 forks source link

[Feature] Generate backup from command line #475

Open joe9663 opened 3 years ago

joe9663 commented 3 years ago

Submission from UserEcho

Describe the solution you'd like Currently only Site Checks and Restorations can be execute from the command line, but adding the ability to create a backup could be an interesting feature idea.

Optional flags could be passed in the command to exclude specific files/database tables or to specify a remote storage location to upload to once the backup generates.

davidleebooth commented 3 years ago

I would like to second this motion! This would streamline managing maintenance in WP CLI. No need to look at a dashboard unless an update caused an issue and needs investigating.

W3ap0n-X commented 1 year ago

+1 for this feature from userecho

timnolte commented 1 year ago

I'm faced with the issue that I disable the WP Cron for performance reasons, but also have my sites in a Docker container, so Upkeep can't be using a real Cron because the Docker container is immutable. I have a separate Docker WP-CLI container running the WP Cron from the CLI but this isn't working as Upkeep doesn't do anything. I'm rather frustrated that I basically now have a useless license since moving to Docker containers. If I could at least manually execute a weekly backup, and have that sent to my connected cloud storage that would solve that bit.

timnolte commented 1 year ago

I will say that given this issue has been open for 2 years I'm not going to hold my breath I guess. 🤷‍♂️