Skip to content

Instantly share code, notes, and snippets.

View timmillwood's full-sized avatar
🏠
Working from home

Tim Millwood timmillwood

🏠
Working from home
View GitHub Profile
@webbj74
webbj74 / drupal-quick-dump.sh
Last active October 29, 2023 10:10
Script to dump Drupal database structure, but exclude data from massive/unneeded tables.
#!/bin/bash
# usage: drupal-quick-dump user host database
USER="$1"
HOST="$2"
DB="$3"
DATE=`date +%Y%m%d`
# Get User Password
echo "Please provide the password for ${USER} on db ${DB} hosted at ${HOST}:"