Skip to content

Instantly share code, notes, and snippets.

View grantnorwood's full-sized avatar

Grant Norwood grantnorwood

View GitHub Profile
@grantnorwood
grantnorwood / wp-backup.sh
Last active April 30, 2022 09:36 — forked from pacoorozco/wp-update.sh
Backup and update a Wordpress Site using wp-cli
#!/usr/bin/env bash
##########################################################################
# Shellscript : Backup and update WordPress using wp-cli
# Author : Grant Norwood <grantnorwood.com>
# Original Author : Paco Orozco <paco@pacoorozco.info>
# Requires : wp-cli
##########################################################################
# Changelog
# 20220430: 2.0
# Adds a user-specified option for forcing backup & updates