How To Backup Database Using MYSQL Dump Linux Command
Posted On Thu Aug 17, 2006 By braker In MySQL Forums And Topics Discussions About Open Source Database Forums
I would like to know how to backup my entire database using mysqldump. I know there is a command i can execute but i forgot..
lookcrabs Wed May 05, 2010
I think your symbol is wrong. try using
mysqldump -all-databases -u username -p password >thisismysqldump.sql
or something like that
mysqldump -all-databases -u username -p password >thisismysqldump.sql
or something like that
braker Sun Dec 03, 2006
I tried the example you gave me, but it doesn't work, i get this error when i try it:
i find that his works better...
CODE:
-bash: sqldump_name.sql.gz: No such file or directory
i find that his works better...
CODE:
mysqldump --opt -u username -p db_name | gzip > backup_file_name.sql.gz
braker Thu Aug 17, 2006
sure just run this command:
example: i want to backup a database called "forums_db", my login is welrose my password is ert345 my hostname is localhost and i want to name the sql dump as forums_db_backup.sql.gz - This is the command I would use to execute:
CODE:
mysql -h hostname -u user -p password db_name < sqldump_name.sql.gz
example: i want to backup a database called "forums_db", my login is welrose my password is ert345 my hostname is localhost and i want to name the sql dump as forums_db_backup.sql.gz - This is the command I would use to execute:
CODE:
mysql -h localhost -u welrose -p ert345 forums_db < forums_db_backup.sql.gz
Related Content
Information
Forums »
MySQL Forums And Topics Discussions About Open Source Database »
How To Backup Database Using MYSQL Dump Linux Command
MySQL Forums And Topics Discussions About Open Source Database »
How To Backup Database Using MYSQL Dump Linux Command
Title: How To Backup Database Using MYSQL Dump Linux Command
Description: How To Backup Database Using MYSQL Dump Linux Command
Tags: how ,to ,backup ,database ,using ,mysql ,dump ,linux ,command
Info: This Post Has Been Viewed 0 Times Since
Date: Thu Aug 17, 2006
Author braker Received 3 Replies #856
Date: Thu Aug 17, 2006
Author braker Received 3 Replies #856
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5