Results 1 to 3 of 3

Thread: Restore Backup(s)

  1. #1
    barrettp is offline Member
    Join Date
    Aug 2008
    Posts
    17

    Exclamation Restore Backup(s)

    Running SugarCRM Community Edition Ver. 5.1.0a
    Windows XP Pro (with all updates)

    Used "Backup" command from within SugarCRM to create a file on my server.
    Used the mysqldump to create a backup of my database.

    Now I want to restore both of these on to a laptop I have setup running the same version of SugarCRM.

    I have checked both the forum and the wiki but neither provide a solution that worked on my Windows system. After "showing" the databases, finding my SugarCRM database, "dropping" that database, "Creating" a new database with the same name...but when I try to restore my backup file I get a message like "line 22 no database in use". So I "Use" my SugarCRM database before restoring the backup but it still make no difference.

    1) How do I restore the backup file created from within SugarCRM.

    2) How do I restore the "dump" backup file to the correct database.

    At this time, I would prefer not to use other applications like PHPAdmin.

    Thanks,
    Barrett

  2. #2
    barrettp is offline Member
    Join Date
    Aug 2008
    Posts
    17

    Default Re: Restore Backup(s)

    Ah, I figured out one item number 1. If you don't put the ".zip" extension on the internal backup file it makes a world of difference. Now I see how you just unzip back into it's directory. That part worked great.

    Now if I an only figure out why I can't restore my dump file. I do this with another application I use on a idifferent system. Maybe I am using te wrong database name. What is the "default" database for SugarCRM is you use one of the all inclussive stack installers?

    Thanks,
    Barrett

  3. #3
    barrettp is offline Member
    Join Date
    Aug 2008
    Posts
    17

    Default Re: Restore Backup(s)

    Nevermind, found the last problem also.

    The syntax is "mysql -u USERNAME -p DATABASENAME < BACKUPFILENAME.SQL"

    The Wiki syntax is wrong for Windows and the version of MYSQL in 5.1.0a.

    Barrett

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Backups: guardar configuracion del sugar ?
    By aaaa1es2000 in forum Espaņol
    Replies: 6
    Last Post: 2007-02-23, 01:46 PM
  2. how to restore the sugarCRM backup???
    By sultan in forum Help
    Replies: 0
    Last Post: 2006-11-30, 10:38 AM
  3. Restore Backup made it with sugar
    By mariogamboa in forum Help
    Replies: 0
    Last Post: 2006-06-06, 03:20 AM
  4. Replies: 0
    Last Post: 2006-03-29, 05:09 PM
  5. Backup and Restore of SugarSuite DB
    By stevenwck in forum General Discussion
    Replies: 4
    Last Post: 2005-03-23, 09:52 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
  •