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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -