Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-04-2012, 10:54 AM   #1
Registered: Aug 2009
Posts: 73

Rep: Reputation: 1
how to do mysql backup while the database is ON


I want to backup mysql database on the fly.
Is this the correct way to do this.... Since I don't know how many database out there on my server, I want to backup every thing on the server.

mysqldump -u sql_admin -pxyz --all- database > june4mysql_backup.sql
Old 06-04-2012, 08:59 PM   #2
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
mysqldump -u sql_admin --all-databases --skip-lock-tables -p > june4mysql_backup.sql


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to backup a particular Database!! in MYSQL anishkumarv Linux - Newbie 7 06-27-2011 06:52 PM
how to create backup MYSQL Script to backup my database for every 1hour RMLinux Linux - Newbie 3 11-20-2008 11:13 AM
backup mysql database nawuza Linux - Newbie 17 08-25-2008 03:40 PM
Backup software for MySql database blinton25 Linux - Software 5 06-01-2007 04:40 AM
How to import a mysql database from backup WindowBreaker Slackware 6 03-17-2006 12:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration