Skip to content

A simple bash script to import/export a prestashop database to/from prestashop root directory.

License

Notifications You must be signed in to change notification settings

alfiosalanitri/ps-db-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ps-db-sync

A simple bash script to import/export a prestashop database to/from prestashop root directory.

Installation

  • sudo chmod +x /path/to/ps-db-sync
  • sudo ln -s /path/to/ps-db-sync /usr/local/bin/ps-db-sync

Usage

  • cd /to/prestashop/website/directory/
  • ps-db-sync -e to export the database to /prestashop/website/directory/dump.sql
  • ps-db-sync -i to import the database from /prestashop/website/directory/dump.sql (note: the script will export a dump.sql.bkp before importing the database)

Author:

ps-db-sync is written by Alfio Salanitri www.alfiosalanitri.it and are licensed under the terms of the GNU General Public License, version 2 or higher.

About

A simple bash script to import/export a prestashop database to/from prestashop root directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages