Purii / simple-webapp-backup

A useful shellscript to backup and restore every Webapp which is based on MySQL and Files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-webapp-backup

This script just does its job. Creating a quick backup of a webapp and restore it if it's necessary without any hassle. It's also useful when you want to move or copy a webapp with the whole database. (I use this before installing updates to WordPress, or any other productive app)

The script uses cp -p to preserve the permissions and ownerships.

Versioning

The script can handle multiple versions of backups. Just add the parameter --version and it asks for an identifier.

Commands

Create Backup: sh restore.sh --create

Do Restore: sh restore.sh --restore

About

A useful shellscript to backup and restore every Webapp which is based on MySQL and Files

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%