Results 1 to 8 of 8

Thread: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM content

  1. #1
    apples017 is offline Member
    Join Date
    Jan 2010
    Posts
    8

    Default How do I backup all data, so I can reformat my drive then reinstall Sugar CRM content

    Hi,

    First time user here. I'm going to try using sugar in the delvery van with a laptop. Long story short is I have two laptops but one is dead because the drive is fried.

    I bought an inverter to power the laptop the good one in the truck, but iot does not work with the inverter. SO I am going to try it on the other laptop, but first I will pinch the drive from the good laptop and put it in the bad laptop.

    I will have to reformat the drive and re install xp to make the disk work, in doing so I will lose all my sugar data.

    How can I copy everything I need onto a portable drive then reinstall it all back onto the fresh copy of xp?

    I will be pulling my hair out if I lose all the data I have entered into sugar in the last 3 days........



    Then how do I reinstall the saved data back in? Will it just be a simple click and import?

    Peter

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    What you need to do is backup Sugar's files and Sugar's database using a tools like phpMyAdmin, then just put the files back and use phpMyAdmin again to import the database back. Your Apache/MySQL/PHP setup can be handled by something like WAMP.

    Do not rely on Sugar export, you will lose relationships between items.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    apples017 is offline Member
    Join Date
    Jan 2010
    Posts
    8

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    Okay,

    1. phpMyAdmin - This is hosted just on the computer at home, ie not on the internet. is phpMyAdmin only for internet hosted sites? The reason I say this is because I have seen it in my Hostgator control panel.

    2. "Your Apache/MySQL/PHP setup can be handled by something like WAMP." umm oaky (have no idea here)

    Where I'm at now.
    I have just done a clean install of Sugar on to the desktop computer. What are the exact steps to get all my accounts and data over to the desktop computer Sugar installation?

    Peter

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    If you have not a single customization, you're done with the code.

    Use phpmyadmin to export your old db and import it replacing the empty db your new install just created. Do everything with phpmyadmin. It's not a tool for sites, it's a manager for mysql databases. Do an export -> save to file and an import -> from file on the other machine. One issue you might stumble upon is that you export all tables and not the creation of the database, or include the creation of the database while you already have it on the new machine. To prevent this, just make sure you export all tables in the old database (and not the database itself). To do this, first open the database in phpmyadmin and then click on export. On the import, make sure you already have an empty database and open that, then import the export file. You can just remove all tables from the new database prior to importing.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    apples017 is offline Member
    Join Date
    Jan 2010
    Posts
    8

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    from my desktop (xp) how do I access phpmyadmin?

    Peter

  6. #6
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    --
    Mário Pereira Martins

    Javali - Administração e Desenvolvimento de Sistemas Informáticos, Lda.
    Madan Parque Edifício VI Campus da FCT/UNL
    Quinta da Torre 2829-516 Caparica Portugal
    Phone: +351 212949666 Fax: +351 212948313
    http://www.javali.pt

  7. #7
    apples017 is offline Member
    Join Date
    Jan 2010
    Posts
    8

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    thanks mapm,

    now the next step.

    I export the.sql file to the other computer
    open up phpmyadmin
    click on import from the main page
    import file, and I get this.

    -------------------------------------------------------


    Error

    SQL query:

    --
    -- Database: `information_schema`
    --
    CREATE DATABASE `information_schema` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

    MySQL said: Documentation
    #1044 - Access denied for user 'root'@'localhost' to database 'information_schema'

    -----------------------------------------------------------------------------------------------

  8. #8
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: How do I backup all data, so I can reformat my drive then reinstall Sugar CRM con

    Hi,
    You dumped all databases in your computer, you should only export the one that you need, and import that one.
    --
    Mário Pereira Martins

    Javali - Administração e Desenvolvimento de Sistemas Informáticos, Lda.
    Madan Parque Edifício VI Campus da FCT/UNL
    Quinta da Torre 2829-516 Caparica Portugal
    Phone: +351 212949666 Fax: +351 212948313
    http://www.javali.pt

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-07-15, 04:19 AM
  2. HowTo Reinstall Sample Data
    By Victor Rosillo in forum Help
    Replies: 2
    Last Post: 2009-05-08, 05:21 PM
  3. Configuring Which Disk Drive For Data
    By barrettp in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2008-09-18, 01:54 PM
  4. How do I reinstall SugarCRM and use existing data?
    By jnovak in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-03-19, 09:36 AM
  5. Backup data in Sugar
    By nmpaulcp in forum General Discussion
    Replies: 7
    Last Post: 2006-01-18, 02:29 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
  •