Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Mod for doing a backup of SMF files (nopt database)

Started by atanua, November 27, 2022, 08:00:49 AM

Previous topic - Next topic


also if your forum goes down due to a bad mod install, you cannot access the admin panel to download the backup anyway. also you cannot restore it from the admin panel either.


Very good point.
It's always better and safer to do backups and restores via your web hosting control panel.
If you are unable to do that, it seems to me that there's something very strange about your web hosting situation.
I tell it how I see it... Don't like it? Hit Alt+F4!


Quote from: atanua on January 08, 2023, 03:52:29 PM
Quote from: live627 on November 28, 2022, 12:03:18 AMWhile that is true, you are in luck because there is this little known feature of the package manager that creates a tarball of all files including any known themes. It can be enabled at    Administration Center » Package Manager » Options as a mislabeled setting "Create Backup versions of replaced files with a tilde (~) on the end of their names."

Thank you for suggesting this. Would this create a backup on the server for downloading it?
Yes.      They are .tar.gz files and are in ./Packages/backups


actually it is the option Create a backup of key SMF files whenever a package is installed or uninstalled. on that page to create the tar.gz not the one you said. this is enabled by default. the option you said just creates the backup of each file with the ~ at the end of the file name.


Quote from: live627 on November 28, 2022, 12:03:18 AMFull disclosure for those in this thread excited to shout over me and prove me wrong: this is for 2.0.x. I'm aware that 2.1.x is more clear on this.
heh, who'da thunk, I predicted a totally predictable outcome >:D


Quote from: atanua on November 27, 2022, 08:27:54 AM
Quote from: Steve on November 27, 2022, 08:18:54 AMIs there some reason you can't do it from cPanel?

Yes there is

Is there any mod for this? I am using the no longer available file manager mod but it only allows a single file download at a time

If you have a valid web hosting account, you will have access to the account's control panel, most usually cPanel.

You can either use that to back up the files, or FTP into your hosting account to do the same.

If you managed to install and get SMF running there, then you should have the ability to go back in to back up the files.
I tell it how I see it... Don't like it? Hit Alt+F4!