Skip to content

Instantly share code, notes, and snippets.

@10pies
10pies / PMAbkp.sh
Created December 10, 2014 11:42
Download entire database(s) using the PhpMyAdmin web interface. Useful when the hosting provider does not allow remote connections with the database server.
#!/bin/bash
HOST="example.com"
USER="dbuser"
PASS="pass123"
TARGETDIR="/backup"
TMPFN=".export.tmp"
for DB in "xyz" "pqr"