DBToFile - databases export to files »

Download DBToFile Free Trial »     Buy DBToFile Now »

How to execute command line and scheduled to export databases data to files

When you save session

save session

Click "Save & Make Batch File"

create 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\DBToFile\"
DBToFile session="C:\Users\pan\Documents\DBToFile_t.uld" logfile="C:\Users\pan\Documents\DBToFile_t.log"

	

In Linux:

/usr/share/DBToFile/DBToFileCmd session="/home/pan/Documents/DBToFile_t.uld" logfile="/home/pan/Documents/DBToFile_t.log"

	

In macOS:

/Applications/DBToFile.app/Contents/MacOS/DBToFile session="/Users/pan/Documents/DBToFile_t.uld" logfile="/Users/pan/Documents/DBToFile_t.log"

	

Or click "Create & Schedule Task", you can run this batch file at a specific time and/or at a certain time every day. See this for detail: Schedule Task.