Skip to content
Useful script to maintain remote wordpress (use wp-cli)
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
wp-remote-maintenance.sh

README.md

wp-remote-maintenance

Useful script to maintain remote wordpress.

Requiremenmt

wp-cli ("wp" in remote $PATH): https://make.wordpress.org/cli/

Getting started

  1. Install wp-cli into remote.

  2. Create temporary directory in remote. (/remote-path/to/tmp)

  3. Get wp-remote-maintenance.sh from GitHub

  4. Create backup directory (/path/to/)

  5. Execute update and backup

    ./wp-remote-maintenance.sh -n Backup-name -b /path/to/ -t /remote-path/to/tmp/ -d /remote-path/to/wp-dir/ -H user@remote-host -P 22

You can’t perform that action at this time.