How to Manually Backup a Website
Introduction
@todo
Prerequisites
To follow this article, you will need:
- WordOps installed on your server
- wo-scripts installed on your server
Step 1 — Backing up the website
Each site running on the server that's using WordOps can be backed up by running the following:
/scripts/wo-scripts/wo-backup.sh superrad.dev
This will backup everything excluding WordPress core files a directory above the root of the site.
exclusions.txt
wp-admin
wp-includes
wp-content/index.php
wp-content/upgrade
wp-content/cache
wp-content/*.zip
wp-content/*.gz
wp-content/plugins/index.php
wp-content/themes/index.php
index.php
license.txt
readme.html
wp-activate.php
wp-blog-header.php
wp-comments-post.php
wp-config-sample.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php
In this example the backup will be located in /opt/backups/superrad.dev
.