Results 1 to 5 of 5

Thread: How To perform a Sugar Backup?

  1. #1
    mariana.malta is offline Member
    Join Date
    Oct 2007
    Posts
    6

    Cool How To perform a Sugar Backup?

    Apart from the database, which files should I backup in a SugarCRM installation?

    Thank you for your help,

    Mariana

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: How To perform a Sugar Backup?

    Easiest solution would be to backup your entire SugarCRM folder along with the database.

    Some people prefer to only backup those files that change in the SugarCRM folder, mostly for optimization purposes, but quickly figuring out a process to do that is another matter. Unless you have a lot of e-mail attachments or files in your Documents/Notes modules, I fail to see the point in investing so much time in developing a solution for that purpose, especially given the fact that disk space is so cheap nowadays.

    Simply copying the entire folder will do it and it can't get any simpler than that.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Lightbulb Re: How To perform a Sugar Backup?

    Use a search engine, I forget if its linked in these formus. There are a couple of backup scripts that will take care of the process for you.

    First I need to know what OS you are using. If Linux I will post my modiefied shell script for you to use. Someone else wrote it such that it date stamps the file names for you and has a way to ftp or wget the files to another server.

    Reply with your OS and I'll point you in the right direction.

    Paris


    BTW The script will backup the database and all necessary files and can be easily expanded if you need to backup things like asterisk (which I do :>)
    Last edited by ptemplin7; 2008-03-01 at 05:59 AM. Reason: adding thought

  4. #4
    mariana.malta is offline Member
    Join Date
    Oct 2007
    Posts
    6

    Default Re: How To perform a Sugar Backup?

    Thank you for your reply!

    I use Debian Linux!

    Thanks, MAriana

  5. #5
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Lightbulb Re: How To perform a Sugar Backup?

    Here's the script I have. I forget who to thank for this as I got it from someone else and modified it a bit.

    Since I am using Asterisk VOIP I have the cp command to move the backup for it into the current directory. You will need to delete this and the tar/zip of the tftpboot directory (also for asterisk).

    Edit your crontab (crontab -e -u {root or whatever} to call this shell script and you are off and running!


    Thanks Paris

    PS Remove the .txt file extension. Had to add that to let Sugar upload it. Also make sure you fix the directory listing to point to where you want it stored.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  2. backup my sugar option, help please
    By aaaa1es2000 in forum Help
    Replies: 0
    Last Post: 2007-02-20, 04:13 PM
  3. Sugar Suite 3.5 Beta Now Available
    By clint in forum Announcements
    Replies: 0
    Last Post: 2005-08-01, 02:03 PM
  4. Sugar Backup.......
    By techex in forum Help
    Replies: 4
    Last Post: 2005-03-16, 07:25 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
  •