Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: bobbbruce on August 12, 2022, 05:41:04 AM

Title: Cannot find the option to backup database in SMF 2.1.2
Post by: bobbbruce on August 12, 2022, 05:41:04 AM
I have just successfully upgraded from 2.0.19 to 2.1.2 Everything seems to work ok. I am looking around the Admin area but just cannot find any task that allows me to backup the database, as I could in the earlier version. Has this been removed now? I expected to see it in Forum Maintenance | Database | etc. (see screenshot)

I note that the advice around upgrading said not to rely on an admin backup but use a phpmyadmin backup is that why it has been removed? I cannot find any documentation to say it has been removed.

Sorry if I am missing something obvious
Title: Re: Cannot find the option to backup database in SMF 2.1.2
Post by: Dzonny on August 12, 2022, 06:54:54 AM
As far as I know it has been removed because it was not adviced to be used for some time now. The best indeed would be to use phpMyAdmin directly to make a db backup.
Title: Re: Cannot find the option to backup database in SMF 2.1.2
Post by: Sir Osis of Liver on August 12, 2022, 12:48:29 PM
Admin backup was one of the first things that got the hook going from 2.0 to 2.1.  It was unreliable and didn't work on most servers, but failed without error, so you thought you had a good backup but you didn't.  PMA exports may also fail dumping large databases on some servers, but at least you'll know.  Cpanel has a backup utility that usually works.
 
Title: Re: Cannot find the option to backup database in SMF 2.1.2
Post by: Kindred on August 12, 2022, 02:04:02 PM
Quote from: Sir Osis of Liver on August 12, 2022, 12:48:29 PMIt was unreliable and didn't work on most servers,


not quite accurate.  It was not reliable, because it failed on SOME (not most) servers.  However, Backup is one of those things that really needs to work 100% of the time - so even the relatively small number that it failed on meant that it was safer for us to remove it and depend on the admin's site CPanel or manual process.
Title: Re: Cannot find the option to backup database in SMF 2.1.2
Post by: Sir Osis of Liver on August 12, 2022, 09:38:57 PM
Well, I don't have any statistics, but it never worked on any forum I tried it, including some with small databases.  In any case, the margin of error was too great to recommend anyone using it.  I've had similar problems with pma, so I'd assume it was more a server issue than anything wrong with the backup feature.