Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can i backup the mysql database automatically every week like scheduled job in local Phpmyadmin.

if possible i would like to take the each database separate file.Is this possible !


share|improve this question
Short answer - no, even if were possible it would be a bad idea to use phpmyadmin to run this. If you want a recommendation of how you should do this then we'd need to know what OS it runs on. – symcbean Oct 31 '11 at 15:23
@symcbean:windows xp , windows 7 or Ubuntu any thing is ok – Gowri Nov 1 '11 at 3:38
up vote 4 down vote accepted

You should not use phpmyadmin for critical maintenance tasks, as it is not reliable enough.

Instead, write a simple cron script to do this with the mysqldump utility:

for d IN (mysql yourdb1 yourdb2) do
 mysqldump "$d" | tar czf "${outdir}/${d}.tgz"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.