Backup capability ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Spike

Backup capability ?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Backup capability ?

Post 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
# 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/
Little Hamster
Regular
Posts: 62
Joined: Thu Oct 07, 2004 3:16 pm

Post 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 :)
Guest

Post 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 ;)
Post Reply