Author Topic: Allowing admins to backup?  (Read 4089 times)

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Allowing admins to backup?
« on: April 13, 2009, 04:54:19 pm »
Is there any way to allow administrative users to do backups instead of having to log in as actual admin user?

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Allowing admins to backup?
« Reply #1 on: April 14, 2009, 05:55:28 pm »
For security reasons only the Owner of the installation is allowed to do backups, because giving access to someone to a backup is giving him access to all the information in the system.

We could however add a permission to control who can manage backups. Anyone else is interested in this feature?

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Allowing admins to backup?
« Reply #2 on: April 14, 2009, 06:02:43 pm »
That'd be another good idea, just giving them permission to allow others.

the whole thing is, i only ever login in as my user, who is an admin.

Also, cron backups would be super:)

Like, a weekly backup with the date in the filename.

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: Allowing admins to backup?
« Reply #3 on: April 14, 2009, 08:53:16 pm »
You could also check with your host.  Some do daily backups, you could copy those files to your own location using a cron/scheduled task with FTP.
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Allowing admins to backup?
« Reply #4 on: April 15, 2009, 03:30:36 am »
?  It's my database and files that I want to backup.

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: Allowing admins to backup?
« Reply #5 on: April 15, 2009, 04:59:06 am »
I'm sorry I wasn't clear.  Some web hosts do daily backups of your site in its entirely (mine does).  Every file, including all MySQL databases and all site files are put into a compressed folder and made available at the root, accessible via FTP.

Thus you could automate an unattended backup process.  After the host makes the backup, your cron (linux) or scheduled task (win) would ftp the files to your office or home machine for off-site storage.  This would eliminate the need to do backups yourself, or have any of your administrative users do it.  (This of course all depends on whether your host makes daily backups.)

Make sense now?
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Allowing admins to backup?
« Reply #6 on: April 15, 2009, 12:28:47 pm »
Not when it's running on a local machine.

Regardless, what you're saying is more an argument against opengoo having a backup process method, period.

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: Allowing admins to backup?
« Reply #7 on: April 17, 2009, 02:46:43 am »
I'm arguing nothing, I was only explain myself better after offering a friendly suggestion.
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Allowing admins to backup?
« Reply #8 on: April 17, 2009, 02:27:22 pm »
What Pet suggested is useful when you have it available. OpenGoo backups are not working for all users.

Cron backups will be available on next beta to test how it works out.

Capitan

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Allowing admins to backup?
« Reply #9 on: May 12, 2009, 01:51:33 am »
Pet,

I apologize if I came across the wrong way.  Thanks for the suggestions.

I look forward to the cron backups in the next release.  That should do me fine.  I hope they provide a file name that includes the date, etc.