How to Install wo-scripts.sh (WIP)
Introduction
WordOps scripts is a collection of custom scripts used on a server running WordOps. These scripts will perform the following:
- Creates a backup of a WordPress website running in WordOps
- Migrates a website to a different URL
- Imports a website to a specified URL
Prerequisites
- WordOps installed on your server
- Git
Step 1 — Creating a Directory for the Scripts
Make a scripts
directory in the root of your server.
mkdir /scripts
Step 2 — Cloning the wo-scripts Repository
Move to the /scripts
directory and clone the repository.
cd /scripts
git clone https://code.superrad.dev/superrad/wo-scripts.git
Conclusion
Now you'll be able to run the wo-backup.sh
script to backup a specified website on your server. For example:
/scripts/wo-scripts/wo-backup.sh superrad.dev
For more information, see How to Manually Backup a Website.