Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / remote / mysql-backup
diff --git a/remote/mysql-backup b/remote/mysql-backup
deleted file mode 100755 (executable)
index 0879dfd..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh -eu
-tool=$(readlink -e "${0%/*}/..")
-. "$tool"/remote/lib.sh
-
-mkdir -p "$tool"/var/backup/mysql
-"$tool"/remote/ssh -l backup '
-       for db in $(sudo -u backup mysql -u backup --skip-column-names <<-EOF
-               SELECT schema_name
-                       FROM information_schema.schemata
-                       WHERE schema_name NOT IN ("information_schema", "performance_schema");
-               EOF
-        ); do
-               echo $db
-        done
- '