Home / plugins / backup
Name Modified Size InfoDownloads / Week
Parent folder
readme_backup.txt 2009-07-30 1.7 kB
backup_1.0.zip 2009-07-27 33.7 kB
Totals: 2 Items   35.4 kB 0
OpenGoo Backup plugin 1.0
=========================
(c) 2009 Ignacio de Soto

Since OpenGoo 1.5, backup functionality has been removed from the main
release and is available separately as this plugin. It adds an icon
to the Administration panel that lets you perform or download backups.
It also allows you to automatically backup OpenGoo by cron. It's
licensed under the GPL license.


Prerrequisites
==============
- mysqldump installed on the same server as the web server
    (mysqldump is included qith MySQL).


Installation
============
- Extract the contents of the zip file into your OpenGoo installation
- Navigate to http://<your opengoo>/index.php?c=backup&a=install


Setup
=====
- To enable automatic backup you need a properly configured cron job.
    - See: http://wiki.opengoo.org/doku.php/setup#setting_up_a_cron_job_on_the_server
	- Go to "Administration" / "Cron Events" and enable "Backup OpenGoo". You can 
        change how often the backup is executed by modifying the "Delay" field.
        Enter a number in minutes (60 = 1 hour, 1440 = 1 day, 10080 = 1 week, etc).
- You can configure the plugin by defining these constants in "config/config.php":
    - MYSQLDUMP_COMMAND:
            Path to the "mysqldump" command. On linux, "mysqldump" should usually work.
    - DB_BACKUP_FILENAME:
            Name of the database file generated by the plugin. Default: "db.sql".
    - BACKUP_FILENAME:
            Name of the zip file generated by the backup. Default: "opengoo_backup.zip";
    - BACKUP_FOLDER:
            Where to store the backup. Default: "tmp/backup"
    - BACKUP_TIME_LIMIT:
            How long can the backup take in seconds. Default: 0 (no limit).
Source: readme_backup.txt, updated 2009-07-30