Skip to content

Instantly share code, notes, and snippets.

@PKuhlmay
PKuhlmay / importdatabase
Created March 4, 2024 16:21
Command for importing external database into own DDEV project
#!/usr/bin/env bash
## Description: Imports the database from the remote host
## Usage: importdatabase
## Example: "ddev importdatabase"
#!/bin/bash
# read .env file
if [ -f .env ]; then