Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-2009, 10:19 PM
Advanced Member
 
Posts: 186
Post [SOLVED] Backup Mysql

Hi all,
I have executed the following command for the backup of mysql.
mysqldump -u mysql --all-databases > /opt/zimbra/zimbra.sql.bu
but as a result only test's database backup is taken.
Any one who can help me with the backup of rest of the databases?
I guess "mysqldump -u mysql --all-databases > /opt/zimbra/zimbra.sql.bu"
should be taking the backup of all the databases present in mysql server ?

Any IDEAS.
Regards
Adeel
Reply With Quote
  #2 (permalink)  
Old 08-02-2009, 10:49 PM
Junior Member
 
Posts: 7
Default

your only baking up your default mysql database you should probably give the path to the zimbra database.

What platefome are you on ?

/opt/zimbra/mysqlbin/mysqldump could maybe do the trick ?

Bye
Reply With Quote
  #3 (permalink)  
Old 08-04-2009, 02:00 AM
Advanced Member
 
Posts: 186
Exclamation

Well, this is right that the command was taking the backup of the mysql comes with linux rather then zimbra.

I also have to provide the path where the DB is store, may be database files.

Do some onw know about the right path I am suppose to give.
Well, this is right that the command was taking the backup of the mysql comes with linux rather then zimbra.
Regards
Adeel
Reply With Quote
  #4 (permalink)  
Old 08-04-2009, 10:15 PM
Advanced Member
 
Posts: 186
Exclamation

Hi all,
I had tried the following but didn't had any luck.
mysqldump --u mysql --all-databases -P 7306 --socket /opt/zimbra/db/mysql.sock > /opt/zimbra/zimbra.sql.bu

regards
Adeel
Reply With Quote
  #5 (permalink)  
Old 08-05-2009, 02:00 AM
Moderator
 
Posts: 7,928
Default

Perhaps if you checked the wiki you would have found your answer Mysql Crash Recovery - Zimbra :: Wiki - Read section 2.
__________________
Reply With Quote
  #6 (permalink)  
Old 08-05-2009, 02:26 AM
Advanced Member
 
Posts: 186
Default

It worked,


Thanks you very much
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.