Author Topic: 1.5 final has no backup feature???  (Read 3610 times)

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
1.5 final has no backup feature???
« on: 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?

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: 1.5 final has no backup feature???
« Reply #1 on: August 03, 2009, 06:39:28 am »
It is now separate. I think it's available on the OG download page.
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

DewBob

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: 1.5 final has no backup feature???
« Reply #2 on: 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:
Code: [Select]
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?

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.5 final has no backup feature???
« Reply #3 on: 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 :)

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: 1.5 final has no backup feature???
« Reply #4 on: 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
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

DewBob

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: 1.5 final has no backup feature???
« Reply #5 on: August 05, 2009, 10:56:59 am »
That was it.  Thank you!  :D  All is working now.

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: 1.5 final has no backup feature???
« Reply #6 on: 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.

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: 1.5 final has no backup feature???
« Reply #7 on: August 09, 2009, 04:39:43 pm »
So is there any way to get auto backup working?

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: 1.5 final has no backup feature???
« Reply #8 on: 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
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?