SMF Development > Applied or Declined Requests

Backup

<< < (2/2)

emanuele:
Back in the days of course, now I think you have to search for a host that doesn't give you phpmyadmin access...I think. ;)

MrPhil:
There's no technical issue that says that SMF couldn't do a restore itself (so long as the database info in Settings.php is up to date). It's just that no one ever bothered to write the code to do it. It should require entry of a separate password (hard coded in Settings.php), to keep a hacker from restoring a backup that you were too lazy to remove from your site, but other than that, I can't see that there would be any security problem. It would be more complicated than making a backup (which SMF still doesn't do right), and would probably have to be a separate utility script, rather than built into SMF via index.php.

The fact that phpMyAdmin should be available to any site owner, and the fact that the current backup is very buggy, suggests that backup and restore be "left to the professionals" (phpMyAdmin, etc.). But, I suppose separate backup and restore utilities could be written for SMF, for the benefit of those unfortunate souls on bare-bone systems which don't provide phpMyAdmin or the forum owner is unable or unwilling to install it -- is this a common enough problem to warrant the effort?

Antechinus:
TBH, if your host is that bad, find a better one. It wont cost much more.

Navigation

[0] Message Index

[*] Previous page

Go to full version