Feng Forum

Support => Older versions => : Capitan August 02, 2009, 06:31:18 PM

: 1.5 final has no backup feature???
: Capitan August 02, 2009, 06:31:18 PM
Am I missing something?  I upgraded to 1.5 final, logged in as admin, and went to administration and "Backup" is no longer something listed there. 

How do you backup?
: Re: 1.5 final has no backup feature???
: Pet August 03, 2009, 06:39:28 AM
It is now separate. I think it's available on the OG download page.
: Re: 1.5 final has no backup feature???
: DewBob August 03, 2009, 11:21:32 AM
Thanks for the post Pet.

I found the Backup_1.0.zip file in the downloads section and have extracted in my opengoo directory as instrcuted in the readme file.  However when I try to navigate to http://<my opengoo>/index.php?c=backup&a=installSetup i get the following error message:

Error
We are sorry, but OpenGoo is not currently able to execute your request. An Error Report has been sent to the administrator.


Even though I received this error, I now have the Backup menu under administration and all functionality under the backup menu (Launch backup process, Download Backup, Delete backup).  However, in Cron Events there is not an option to enable back-up.

I found in the cron_functions.php file that there was not a function backup, and added the following code:
:
function backup() {
        try {
                _log("Creating backup...");
                include_once "application/controllers/BackupController.class.ph$
                do_backup();
                _log("Backup created.");
        } catch (Exception $e) {
                _log("Error creating backup: " . $e->getMessage());
        }
}

However, I do not know where I should go, or what code to add to make the backup function appear in the Cron Events list. 

Anyone have any suggestions?
: Re: 1.5 final has no backup feature???
: ignacio August 03, 2009, 12:13:24 PM
Hi,

The correct URL is http://<my opengoo>/index.php?c=backup&a=install (not installSetup). Seems that your text viewer doesn't understand the readme file's line breaks :)
: Re: 1.5 final has no backup feature???
: Pet August 03, 2009, 04:38:54 PM
Hi,

The correct URL is http://<my opengoo>/index.php?c=backup&a=install (not installSetup). Seems that your text viewer doesn't understand the readme file's line breaks :)

Yeah, you have to use Wordpad instead of notepad.exe if using Windows
: Re: 1.5 final has no backup feature???
: DewBob August 05, 2009, 10:56:59 AM
That was it.  Thank you!  :D  All is working now.
: Re: 1.5 final has no backup feature???
: Capitan August 05, 2009, 02:02:40 PM
I have manual backup working again, and turned on cron backup, but it's not doing it auto.
: Re: 1.5 final has no backup feature???
: Capitan August 09, 2009, 04:39:43 PM
So is there any way to get auto backup working?
: Re: 1.5 final has no backup feature???
: Pet August 09, 2009, 10:06:23 PM
if you've turned on debugging (see my sig), plz report any error message you're getting from it or from the console