Backup plugin doesn't work well?

Creating and modifying plugins.
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

RJH wrote:
hgoor wrote:[
Haha, actually I think this link is more usefull:

http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

And really: it's not as hard as you think.
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
I saw other posts about this plugin not working and it not being supported and think there should be a mention of issues and no support in its Spartacus listing.
You are right, we should have done that a long time before.

I just added such a Warning-Notice to the plugin now, which will be shown in the future description.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
iskru
Regular
Posts: 105
Joined: Thu Apr 19, 2007 9:39 pm

Post by iskru »

I just tested this plugin recently and had some issues with it too.

How is "large" defined?

Is there perhaps a how-to-guide or step-by-step guide how to use this plugin for a complete backup of a given s9y intallation with all db-entries, pics etc?

What settings to use etc?

tia
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

"large" depends on the RAM of your webserver, the size of the files, the size of the database and the speed of your CPU as well as the maximum PHP script execution time and the speed of your filesystem.

I always make backups using phpMyAdmin and FTP, so I can't help with this plugin. At least this time I didn't develop it. ;)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

I have looked into the plugin and seen that it uses a Linux script called backup.sh that gets some variables from PHP.

So I am sure that things like what version OS (Red Hat or Debian) and what shell (BASH) you use will have an influence too?

Also, I was wondering if this is not a VERY insecure way of working? I mean: allowing the execution of a script that rus at OS level?

Funny thing: I just looked at it in a long time, and I get these errors:

Warning: filemtime() [function.filemtime]: stat failed for /var/webbackup//www-backup250207.tar.gz in /var/www/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1326

Warning: filesize() [function.filesize]: stat failed for /var/webbackup//www-backup250207.tar.gz in /var/www/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1327
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That's true, the bash code for creation requires direct access to your server, on windows systems for example it will not work there.

Sadly using PHP it's quite hard to do what the bash script does.

I sadly really can't say much about the plugin, IMHO it really needs a supporter, but I don't have use for such a plugin. IMHO backup should never be done at applicaiton level, always at server-level or using maintenance tools like FTP+phpMyAdmin.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply