SQLDumpSplitter - Split large SQL dump file to smaller files »

Download SQLDumpSplitter Free Trial »     Buy SQLDumpSplitter Now »

How to execute command line and scheduled for splitting large SQL dump file to smaller files

When you save session

save session

Click "Save & Make Batch File"

make batch file

Click "OK", you'll get batch file created.

.bat file for Windows command line, or .sh file for Linux / macOS.

And you can run it in command line.

In Windows:

C:
cd "C:\Users\pan\AppData\Local\Programs\SQLDumpSplitter\"
SQLDumpSplitter session="C:\Users\pansh\Documents\pd_dump.sdt" logfile="C:\Users\pansh\Documents\pd_dump.log"

	

In Linux:

/usr/share/SQLDumpSplitter/SQLDumpSplitterCmd session="/home/pansh/Documents/pd_dump.sdt" logfile="/home/pansh/Documents/pd_dump.log"

	

In macOS:

/Applications/SQLDumpSplitter.app/Contents/MacOS/SQLDumpSplitter session="/Users/pansh/Documents/pd_dump.sdt" logfile="/Users/pansh/Documents/pd_dump.log"

	

Or click "Create & Schedule Task" (this only for Windows now, Linux/macOS can use Crontab), you can run this batch file at a specific time and/or at a certain time every day. See this for detail: Schedule Task.