Results 1 to 4 of 4

Thread: BAcking up sugar files with scheduler

  1. #1
    aheuermann is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    61

    Question BAcking up sugar files with scheduler

    Is it possible to use the scheduler to zip the sugar application files and save it to the server. I know the directory must be writable by sugar ans such but how easy is it to schedule something like this in the sugar scheduler?

  2. #2
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: BAcking up sugar files with scheduler

    I don't think there's an easy way to do that right now.

    The Sugar files don't actually change that often, only when you apply a patch or make layout changes using the studio. You can perform a backup of this data yourself using the built-in backup tool.

    Backing up the database at regular intervals is a good idea, but this is probably best implemented outside of Sugar (using a shell script for instance). I think you can probably configure a tool like MySQL Administrator or Navicat to do this for you.

    The last thing to worry about is the directory of uploaded files (cache/upload). While you could just zip up the whole thing, a lot of the files are probably compressed already. In this case a tool like rsync might be the most appropriate. This would just copy the new or modified files to another server incrementally, and you could add it to the same shell script you used to back up the database. There are also various other solutions (some commercial) to perform this type of backup.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

  3. #3
    Erik Geurts is offline Member
    Join Date
    Apr 2006
    Location
    The Netherlands
    Posts
    9

    Default Re: BAcking up sugar files with scheduler

    A nice little tool to backup database and files using a scheduler can be found here:

    http://www.phpmybackuppro.net/

  4. #4
    TKzmanda is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    13

    Default Re: BAcking up sugar files with scheduler

    Zmanda just released Zmanda Recovery Manager [ZRM] for MySQL. It is a easy-to-use yet flexible and robust backup and recovery solution for MySQL server that has some great features, including scheduling and reporting.

    Check out http://www.zmanda.com/backup-mysql.html

    Thanks
    tk

Thread Information

Users Browsing this Thread

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

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
  •