Results 1 to 3 of 3

Thread: how to backup sugarcrm database mysql stack

  1. #1
    bapon is offline Member
    Join Date
    Apr 2011
    Posts
    10

    Default how to backup sugarcrm database mysql stack

    hi,
    i'm using sugarcrm 6.1.4 mysql win stack locally on my pc.
    How do i backup the sugarcrm database?

    What i've tried so far (windows!):

    started command line:
    cd to sugarcrm-6.1.4\mysql\bin

    entered: .\mysqldump -u root -p ****

    i get:

    mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect

    btw: don't know the name of my sugarcrm database.
    1. how do i find out the name?
    2. how do i correctly enter the mysqldump. password is correct, i know.

    thanks for helping.

    bapon

  2. #2
    marklark is offline Sugar Community Member
    Join Date
    Jan 2010
    Location
    Colorado Springs, USA
    Posts
    29

    Default Re: how to backup sugarcrm database mysql stack

    All you have to do is find where MySQL keeps the databases, locate yours and copy all the files in its directory to another (new) directory.

    It's very similar to what you would do to back up your Sugar app.

    Doing both at the same time makes it very easy to revert any changes.

    To use both, you'll have to point the moved Sugar's config.php at the moved database. Failing to do so can cause errors like "I can't use that database, it's too old."

  3. #3
    bapon is offline Member
    Join Date
    Apr 2011
    Posts
    10

    Default Re: how to backup sugarcrm database mysql stack

    Hi,

    thanks for replying.

    I found out how to backup the database(s):

    "c:\program files\sugarcrm-6.1.4\mysql\bin\mysqldump" -u root --password=***** --port=3307 --all-databases --complete-insert --create-options > C:\Users\...\Documents\sugarcrm-dbdump\sugarcrm-db.sql

    It's the port name!

    Hope restore will work once i have my system crash.

    Bapon

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Newbie question: Do you need a seperate MySql database for SugarCRM?
    By Nick77 in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2010-06-11, 03:47 PM
  2. How do I backup my database using MySql?
    By apples017 in forum Help
    Replies: 7
    Last Post: 2010-01-29, 12:07 PM
  3. external data backup in the sugarcrm database
    By midjinou in forum Developer Help
    Replies: 0
    Last Post: 2009-08-27, 09:32 AM
  4. can we take database backup througn sugarCRM
    By sarabjeetdhillon in forum Help
    Replies: 1
    Last Post: 2007-05-22, 01:15 PM
  5. RESOLVED: Using a remote MySQL database with SugarCRM
    By cosjef in forum General Discussion
    Replies: 0
    Last Post: 2006-02-04, 05:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •