for MODx Revolution (traditional) with mysql database
Purpose:
- Backup (complete; files and database)
- Restore (complete; files, database and new environment config)
- Move to another server (by backup & restore)
###Disclaimer This script is provided "AS-IS" without warranty of any kind.
###Requirements
- MODx Revolution (traditional), (tested with 2.2.8-pl)
- MODx package: "databackup-1.1.7-pl"
- PHP Modules (CURL, PDO + mysql driver, ZipArchive)
- Write access
###How to use this script: First create a backup:
- Make sure your ip is in the ip-whitelist or remove the ip check. (top of ziproot.php)
- Copy this script into the root of an existing MODx installation.
- Call the script and run step (1 create backup).
- Make sure you cleaned the files (after step 1) for security reasons!.
- ./export-db/
- ./[the zip]
- ./[the script]
Then restore the backup on another server:
- Copy zip + script to the root of the new server.
- Call the script and run step (2, 3 and 4).
- Make sure you cleaned the files (after step 4) for security reasons!.
- ./export-db/
- ./bigdump.php
- ./[the zip]
- ./[the script]
- Ozerov for sql import (bigdump)
- Jgulledge19 for sql dump (databackup)
- Bootstrap for lay-out (bootstrap)
- Jquery for interaction (jQuery)