Answers for "Drupal import db ftom backup"

0

Drupal import db ftom backup

ddev ssh
drush sql-drop
 
Copy the database export from other-developer/git/alpha/beta/prod into the backup directory (to keep it gitignored)
  
gunzip -c backup/<name-of-compressed-database-backup-file.gz> | drush sqlc
    NOTE:   This may take a while because we are importing while decompressing on the fly.
   
exit
Posted by: Guest on March-09-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language