Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.27 KB

Magento Support Restore Tool

~/bin/restore.sh

This script is designed to be run from folder with Magento dumps. It restores dump files created by Magento Support module or backup.sh script:

code dump (for ex. f0fe94ea2a96cfb1ff3be6dada7be17f.201205151512.sql.gz)
DB dump (for ex. f0fe94ea2a96cfb1ff3be6dada7be17f.201205151512.tar.gz)

Screencast restore.sh

Options

restore.sh [option]
[options]
-h|--help - show available params for script
-w|--without-config - force do not use config
-f|--force - force install without wizzard
-r|--reconfigure - ReConfigure current magento instance
-i|--clean-install - Standard install procedure through CLI

Configuration file

You can use own configuration file. Create new file .restore.conf in your home directory. (~/.restore.conf)

Add configuration params:

DBHOST=localhost
DBUSER=your_user
DBPASS=your_pass
BASE_URL_PREFIX=http://dev.local/path/to/magento/

Run script

Progress bar

In order to see progress bar while restoring DB dump you should install pv util.