Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Bash script that goes and fetches database from remote host and imports it to local one, includes useful tweaks.

License

Notifications You must be signed in to change notification settings

rudissaar/fetch-and-update-db

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

update-db.sh

Bash script that goes and fetches database from remote host and imports it to the local one.

Script will ask credentials of remote and local systems interactively, but It can be skipped by creating update-db.conf file, it can be easily created by copying/moving file update-db.conf.sample to update-db.conf.

Sample config files includes option to make script work with WordPress and Magento's database so that certain data will be overwritten to work with local system automatically.

Dependencies

  • bash
  • openssh
  • mysql/mariadb

About

Bash script that goes and fetches database from remote host and imports it to local one, includes useful tweaks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.