This script is an universal backup script for sites using content management system (CMS) such as MediaWiki, Joomla and WordPress meant to be run daily using crontab. This script creates a copy of both database and files.
This repo was forked from here and has the same license.
Also is compatible with MediaWiki, Joomla, WordPress and others CMS with MySQL DB engine.
Not container support by now.
Be careful, this repo is in alpha stage, not for production purposes by now.
You can add PR, bugs, etc.
Fork if you want.
- Modify "Config" section
- Run script with ./backup-advanced.sh
- Add manually to your cron if you like
- Modify "Config" section
- Run script with ./restore-advanced.sh
- Includes a restore script
- Includes step 4 and 5 for copy data to a second remote server on main script. You can comment these steps if you don't want to use it.
- Includes a delete old backups script. Recommended to put on a second remote server.
- Script to add to your cron
- Add support for containers