List:General Discussion« Previous MessageNext Message »
From:Xah Lee Date:April 21 1999 4:08pm
Subject:dump all databases
View as plain text  
Is there a way to quickly dump all databases into one directory, with files
corresponding to each database?

That is, I wish to do call one single script that:

1. find out what databases are available,
2. for each database, do a mysqldump -d database_name to /home/xah

This probably can be written in few lines of Perl. Ideas? (I guess my
question would be how to get the list of databases.)

Thanks.

Xah
Home: http://www.best.com/~xah/PageTwo_dir/more.html
Work: http://www.bpower.com/
Thread
dump all databasesXah Lee21 Apr
Re: dump all databasesJesus M. Arias Jr.21 Apr
RE: dump all databasesJay Miller21 Apr