shell - mysql dump selection of databases (not sure how many) -


i create backup script (.sh can cron) backs following databases:

someotherdatabase database1 database2 database3 database4 database5 database6 ... database9999 

i know "someotherdatabase" have name can backed easily. other databases have incremental number don't know when backing how many be, has automatic (best wildcard database* i'm not sure if that's possible)

these live databases, i'm not sure if have enable sort of locking on databases when backing them up?

so in short, what's best way backup database pattern can restored importing them when goes wrong?

this might help.

cheers!

edit: here's more alternatives: 10 ways automatically & manually backup mysql database


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -