1
talunceford
Site Backup Module

Hi all!

I thought I would let everyone know that I just hacked a script that will allow the web admin to backup his/her site to a tar.gz file, then download it. Some things that you might need to know about this module, is that the directory where you install this module, the sitebackup folder, needs to be chmodded 777.

Get it here. You have to register to download.

http://www.tswn.com/modules/wfdownloads/singlefile.php?cid=7&lid=25

Resized Image

2
Shine
Re: Site Backup Module
  • 2005/3/8 15:24

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Apart frm this module a question.
I see your XOOPS admin interface is quit different (nicer and cleaner) than the standard xoops.
Is this a hack or........? and if so,.....where can I find it because it looks as if this one works much faster with a good overview.

[edit]
Never mind, found it
http://dev.xoops.org/modules/xfmod/project/?admin_area_rev
[/edit]

Thanks in advance,
Grtz., Shine

3
hyperpod
Re: Site Backup Module
  • 2005/3/8 15:35

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


This is cool.
This would be more awesome if it also grabbed all tables associated with the XOOPS prefix and pulled the database and included it in the tar as well. or does it do this too?


Good job,

4
talunceford
Re: Site Backup Module

Yeah that would be cool. That might be something that I could look into.

5
noisia
Re: Site Backup Module
  • 2005/3/12 0:31

  • noisia

  • Not too shy to talk

  • Posts: 123

  • Since: 2004/8/24


Hi talunceford,

This is really a module, i have been looking for...

There are a few problems though:
Make sure you change the path to PEAR in backup.php

I could not find any line to specify the path.
I looked into my info.php and it states that pear is:
include_path    .:/usr/share/pear


The module does not seem to have a module icon.

The module does not show up in my admin, although in the xoopsversion.php it says: $modversion['hasAdmin'] = 1;
I run it from it from the modules admin page, but I get an error:

Fatal errorCall to a member function on a non-object in 
/var/www/site.com/html/backup/modules/sitebackup
/admin_header.php on line 7


Looking forward to your response

6
talunceford
Re: Site Backup Module

Yeah, I never said it was perfect yet lol!! But, as far as the admin thing goes, it sounds like a permissions error. Make sure that its chmodded to 777.

7
talunceford
Re: Site Backup Module

I have found a MySQL backup module too that I am going to somehow incorp into this quick and dirty module.

8
brash
Re: Site Backup Module
  • 2005/3/17 12:29

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Promising looking module TIm . I am getting the same fatal error as noisia though . Will have a look on my test server tomorrow I think...

9
noisia
Re: Site Backup Module
  • 2005/3/17 15:18

  • noisia

  • Not too shy to talk

  • Posts: 123

  • Since: 2004/8/24


Hi talunceford,

I just found a neat little MySQL backup script

http://www.absoft-my.com/pondok/backup.php

Perhaps this one could be integrated? It has a nice and simple interface...

10
talunceford
Re: Site Backup Module

What OS are you running brash?

Login

Who's Online

163 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits