Results 1 to 2 of 2

Thread: Need help backing up SugarCRM 5.0 CE.

  1. #1
    rwilkinson is offline Junior Member
    Join Date
    Jul 2008
    Posts
    1

    Default Need help backing up SugarCRM 5.0 CE.

    I recently installed SugarCRM 5.0 CE, and I have been testing with it for a short time. I would like to attempt a backup and restore procedure but I am not sure exactly how to do this. I've tried connecting the mySQL server to do a mysqldump, but it keeps telling me that mySQL is not running on the socket. (I can log into SugarCRM mind you, so I'm certain that mySQL is indeed up and running.) From a bit of troubleshooting, it seems like PHPAdmin will only let me connect from the localhost address (127.0.0.1) and this is a problem, since I am running this on a linux box with no graphical desktop installed and I do all administration via the command line. Can anyone suggest the best procedure to do a backup and restore test in this configuration?


    Thank you,

    Ross Wilkinson

  2. #2
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Need help backing up SugarCRM 5.0 CE.

    Via the linux command line...

    mysqldump -u %mysqluser% -p%mysqlpassword% --all-databases >%workdir%\backup.sql

    or more probably if you've not got paths set up something like (depending on *nix flavour)...

    /usr/bin/mysqldump -u %mysqluser% -p%mysqlpassword% --all-databases >%workdir%\backup.sql

    You can then stick that in a cron job and automate it, using logrotate to rotate the backups.

    We have it in a script that then ftp's the results to a different server in a different country!
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Query Failed: AND users.id = '1'::MySQL error 1064:
    By artco001 in forum Installation and Upgrade Help
    Replies: 63
    Last Post: 2009-05-07, 05:56 AM
  2. Replies: 16
    Last Post: 2008-08-11, 08:58 PM
  3. PHP 4.4.3 and SugarCRM 5.0 CE upgrade question.
    By Sabiniewicz in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2008-05-28, 01:45 PM
  4. SugarCRM 5.0 Översättning - Ordbok
    By eNZo in forum Swedish
    Replies: 23
    Last Post: 2008-04-07, 12:34 AM
  5. Replies: 5
    Last Post: 2007-11-13, 02:51 PM

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
  •