Skip to content

JMAConsulting/source_target_refresh_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Refresh Target site with Source site's sqldumps and/or codebase

This script refresh a target site's CMS and CiviCRM databases with respective source databases or create a copy of source site as target site as per given target parmeters.

Example

  • Read help
$sh source_target_refresh.sh help
Usage: refreshsite.sh {refreshsite|copysite|print_var|help}
  refreshsite - Refresh a target/staging site with sql dumps of source/production site
  copysite - Create a site using codebase and dumps of source site
  print_var - Just to test if the variables are included from the source file
  help - this help info
  • Copy site
$sh source_target_refresh.sh copysite
  • Refresh site
$sh source_target_refresh.sh refreshsite

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages