Skip to content

yvoronoy/restore.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Magento Support Restore Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages