Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26269

Backup/Restore MySQL data when build BAT file

$
0
0
[quote="nageswaragunupudi":28s8wypk]You can use a simple program like this: [code=fw:28s8wypk][/code:28s8wypk] Make sure that the program does not contain any screen I/O. Now add this to the scheduled tasks on the server (with user as SYSTEM) to run every night at your convenient time. Assuming that your database name is "prova", this program will save backups each day in a different folder with weekday's name. On Sunday night it saves backup as "c:\pp\Sunday\prova.sql". On Monday night it saves backup as "c:\pp\Monday\prova.sql" and so on. After one week, it overwrites that weekdays backup. This way we have 7 backups at any time.[/quote:28s8wypk] Mr.Rao Nice good job. Try it and add my plan code.

Viewing all articles
Browse latest Browse all 26269

Trending Articles