Wp Backup

Snapshot and backups for WordPress in pure Bash
Alternatives To Wp Backup
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Unyson919
5 months ago687PHP
A WordPress framework that facilitates the development of WP themes
Backupwordpress324
a year ago86PHP
Simple automated backups of your WordPress powered website.
Syncdb220
5 years ago14mitShell
Bash script meant to take the tedium out of deploying and updating database-driven (eg Wordpress) websites. It rapidly synchronizes local and remote versions of a MySQL database, performs the necessary search and replace queries, then synchronizes all your uploads/binaries.
Revisr183
4 years ago36gpl-3.0JavaScript
Revisr: Git for WordPress
Wp Tools172
3 months ago3December 12, 2016otherPerl
Tools to backup and upgrade WordPress installations
Www.mygalgame.com171
3 months agoHTML
mygalgame.com backup
Wp Static168
a year ago6Shell
Bash script to turn a WordPress install into static HTML.
Capistrano Wpcli115
403 years ago12December 22, 201612mitRuby
Provides command line tools to facilitate Wordpress deploy.
Sms Wp To Android114
4 years ago3mitPython
📱 Converts .msg (WP) file to standard XML (Android)
Wordpress Backup To Dropbox111
6 years ago31PHP
A plugin for WordPress that automatically uploads your blogs files and a SQL dump of its database to Dropbox. Giving you piece of mind that your entire blog including its precious posts, images and metadata regularly backed up.
Alternatives To Wp Backup
Select To Compare


Alternative Project Comparisons
Readme

Snapshot and backups for WordPress in pure Bash

logo

Create backups or restores on your WordPress using a simple Bash script and don't rely on plugins or WP-CLI.

Why should I use it?

  • Easy.
  • Very fast.
  • Multi-site compatible.
  • Docker compatible.
  • Working with cron and any unix utility.
  • Maintains settings, plugins and any important elements.
  • Compatible with Linux, MacOS and BSD.

Use

Backup ⬇️ 📁 ➕ ⬇️ 📓

Create a zip file with important files and backup of the database.

./wp-backup.sh backup-all

Backup only database ⬇️ 📓

./wp-backup.sh backup-database

Restore only files ⬇️ 📁

./wp-backup.sh restore-files [{backup}.zip]

Restore only database ⬆️ 📓

./wp-backup.sh restore-database [{database}.sql]

Restore files and database ⬆️ 📁 ➕ ⬆️ 📓

./wp-backup.sh restore-all [{backup}.zip]

Check the connection to the database ✅ 📓

./wp-backup.sh check-database

Connection to the database 🔌 📓

./wp-backup.sh connect-to-database

Requirements

  • bash 4.0 or higher
  • curl
  • zip
  • Only macOS users, gsed: brew install gnu-sed

Install

Go to the WordPress directory (Where are all the files and folders like wp-admin, wp-config, wp-content ...).

cd wordpress-folder

Download script.

curl -o wp-backup.sh https://raw.githubusercontent.com/tanrax/wp-backup/master/wp-backup.sh

Grant execute permissions.

sudo chmod +x wp-backup.sh

Run.

./wp-backup.sh

Are you using Docker?

Enter the container with bash. For example wordpress_web_1.

docker exec -it wordpress_web_1 bash

You will need to enter the WordPress container and install a minimum of unix commands.

  • zip
  • unzip
  • mariadb-client
apt update && apt install -y mariadb-client zip unzip

Run wp-backup.sh inside container.

./wp-backup.sh

Disclaimer

The author is not responsible for any loss of information or side effects. Use at your own risk.

Popular Wordpress Projects
Popular Backup Projects
Popular Content Management Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Database
Wordpress
Wp
Bash
Backup
Restore