Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl Dump

Status
Not open for further replies.

jpillonel

Programmer
Dec 17, 2003
61
CH
Hello,

Does somebody have a perl script to dump some or all databases on a local server (win32) ?

I've done with msdos bat, but not so easy and flexible..

Thanks
 
I'm not a perl coder, but maybe something like this. ;-)

Code:
#!/usr/bin/perl
exec( 'mysqldump --all-databases > dump.sql' );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top