Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Phat^Trance on January 10, 2009, 05:05:36 AM

Title: How to restore a crached / Hacked forum?
Post by: Phat^Trance on January 10, 2009, 05:05:36 AM
just want to know how to restore a database/posts (the entire forum) on my SMF 1.1.7 in case something happens or the forum get hacked :)

do i just upload the backup database to my server and ad the database settings @ admin board under the server settings?  do i need to do anything else?
Title: Re: How to restore a crached / Hacked forum?
Post by: kat on January 10, 2009, 05:10:25 AM
Different people have differing methods. I simply go to my cpanel and do a "Full home directory" backup and backup the database.

You can restore, from there, just as easily.

Odd SMF thing, is that you can backup the database from admin, but not restore.
Title: Re: How to restore a crached / Hacked forum?
Post by: Phat^Trance on January 10, 2009, 05:26:09 AM
Quote from: Kat on January 10, 2009, 05:10:25 AM
Different people have differing methods. I simply go to my cpanel and do a "Full home directory" backup and backup the database.

You can restore, from there, just as easily.

Odd SMF thing, is that you can backup the database from admin, but not restore.

what if i only takes backup of the database ONLY, since my blog is in the same home dir it will take the blogs backup also if i do a full home directory backup.

will that still work to only backup the database?
Title: Re: How to restore a crached / Hacked forum?
Post by: kat on January 10, 2009, 05:33:58 AM
As long as your site doesn't get hacked and the files changed.

You could backup the files, via ftp. Just download the whole forum directory to your drive.

That way, you only need to re-backup, if you add any mods, or change any files.
Title: Re: How to restore a crached / Hacked forum?
Post by: H on January 10, 2009, 01:55:12 PM
You should backup the files as well. If you don't you won't have a backup of attachments.

bigdump and phpmyadmin will restore just the database .sql files though.
See: What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)