1

Topic: The best way of backing up your punbb database?

perhaps this really isn't a punbb question, but after i accidentally deleted my forum with a little over 2500 posts, i'd like to know for future reference.

Thanks.

Re: The best way of backing up your punbb database?

well, as of right now, i dont think there is any....

buuut, if you have phpmyadmin (ALL HOST SHOULD PROVIDE IT!!!) you can back it up in there.

This would be a great addition to 1.2, hint hint...

Indocron
$theQuestion = (2*b) || !(2*b);

Re: The best way of backing up your punbb database?

Yes, use the tools supplied by your web host. If you're hosting it yourself, install a tool such as phpMyAdmin or even better, run the dump tool that came with your database (mysqldump if you're running mysql).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

4

Re: The best way of backing up your punbb database?

The backup code in Nucleus is based on phpBB code. If you have a chance you can look at it and add it to PunBB at a future date.

Look at the file backup.php, pretty generic and very easy to retrofit to any project.

Personally, for my local sites, I use phpMyadmin, for external Nucleus sites, I use the built in backup utility.