Page 2 of 2

Posted: Sat Apr 14, 2007 5:40 pm
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.

Posted: Sat Apr 14, 2007 6:29 pm
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

Posted: Wed Apr 25, 2007 11:43 am
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

Posted: Wed Apr 25, 2007 12:42 pm
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

Posted: Wed Apr 25, 2007 4:15 pm
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

Posted: Wed Apr 25, 2007 4:18 pm
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