Page 1 of 1

Backup capability ?

Posted: Fri Jan 14, 2005 4:38 am
by Spike
Hey Guys,
Ive started using your blog software and have come to like it. One area that I am having a bit of heartburn is in the area of backing up the blog in case of server crash. It would be great if there was a control panel or plugin to allow the adminstrator to backup the DB.

-- John
www.spikesplace.org/cgi-php/serendipity

Re: Backup capability ?

Posted: Fri Jan 14, 2005 10:48 am
by garvinhicking
Thanks for the suggestion, but it's actually quite hard to make an SQL Dump export file using PHP. There are several file and timelimits we may encounter.

Thus you'd be much better of to use the mysqldump utility, or phpMyAdmin. They have done the best to get exports running from within PHP, and we can't include their code because of GPL license.

Regards,
Garvin

Posted: Fri Jan 14, 2005 10:59 am
by Little Hamster
If you have cpanel, it has a backup "tab" which not only does a sql dump, but also full site backups. For the sqldump, you can choose which database you want to backup. Also it allows you restore from these backups using the same interface. If your webhost doesn't give you something like this, find another one. (If you use your own server, install it :)

Posted: Sat Jan 15, 2005 3:06 am
by Guest
I do use my own server. I imagine its freely available? I was only asking about this feature as phpbb uses it and it makes for nice lazy adminsitrating ;)