Alle MySQL DBs im Hintergund auf USB-Stick speichern

 

Mysql-Backup-Alle-DBs-auf-USB.cmd

 

@echo off

c:\xampp\mysql\bin\mysql.exe -u root -s -N -e "SHOW DATABASES" |   for /F "usebackq" %%D in (`findstr /V "information_schema performance_schema"`) do c:\xampp\mysql\bin\mysqldump.exe %%D -u root > f:\backups\%%D.sql

 

 

Mysql-Backup-Alle-DBs-auf-USB.vbs

Set WshShell = CreateObject("WScript.Shell")

WshShell.Run chr(34) & "C:\Mysql-Backup-Alle-DBs-auf-USB.cmd" & Chr(34), 0

Set WshShell = Nothing

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare