Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Magento Support Restore Script

~/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
-c|--reconfigure - ReConfigure current magento instance
-r|--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.

About

Magento Support Restore Script

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages