Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Logo

Laramate DDEV Database Sync

Copies production database data from a remote server to local workspace.

Setup

You need to add following variables to you local .env file:

REMOTE_USER=""
REMOTE_HOST=""
REMOTE_PATH_TO_PROJECT=""
REMOTE_DB_DATABASE=""

Use the following command to link the script to the right place:

ddev php -r "link('vendor/laramate/ddev-database-sync/src/db-to-local.sh', '.ddev/commands/host/db-to-local');"

Start your application with ddev start or ddev launch first. Then you can simply run this custom command. Only works with mysql database.

Usage

ddev db-to-local [OPTIONS]

Options

Parameter Description
--help, -h Prints help page.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages