News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

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

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

Previous topic - Next topic

IP_Board_Rules

Is there a mod for downloading all the files from the Server / doing a backup of a site? I am refering to the sources, theme folder files etc. Thank you

Kindred

No. And this will not be a feature.

We literally REMOVED the backup option from smf admin since it generated so many problems based on server configuration
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Steve

DO NOT pm me for support!

IP_Board_Rules

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

Illori

Quote from: Kindred on November 27, 2022, 08:15:20 AMWe literally REMOVED the backup option from smf admin since it generated so many problems based on server configuration

that was for the database, we never had an option to do a file backup on demand. except for when installing mods but that does not auto download the backup.

m4z

"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

IP_Board_Rules

Okay. So there is no mod. Thanks for letting me know

m4z

As we tried to explain, this feature was very much limited by the hosting setup, so it caused more support effort than it helped people. Using your hosting Webinterface or shell access is much more reliable.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Illori

Quote from: m4z on November 27, 2022, 05:20:49 PMAs we tried to explain, this feature was very much limited by the hosting setup, so it caused more support effort than it helped people. Using your hosting Webinterface or shell access is much more reliable.

there was NEVER a feature in SMF to do a file backup that is what the op is asking for.

Kindred

While that is true, Illori - the point remains that we removed the existing backup from the software because the backup from Cpanel is better, in every way.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

live627

Quote from: atanua on November 27, 2022, 02:42:43 PMOkay. So there is no mod. Thanks for letting me know
While 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."

Install/uninstall any random mod to make a new backup in ./packages/backups




Full 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.

m4z

The OP was asking for a feature to also download the files (from within SMF, I assume).
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

mgcAna

OP is probably inspired form wordpress ecosystem where there are many plugins where user can backup and restore full WP without leaving admin interface.

IP_Board_Rules

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?

IP_Board_Rules

Quote from: mgcAna on November 29, 2022, 01:48:46 PMOP is probably inspired form wordpress ecosystem where there are many plugins where user can backup and restore full WP without leaving admin interface.

Yes that is correct. Basically a mod that will do a zipped backup of all the source & theme files etc. Not necessarily but preferably also the other folders.

Illori

Quote from: atanua on January 08, 2023, 03:57:47 PM
Quote from: mgcAna on November 29, 2022, 01:48:46 PMOP is probably inspired form wordpress ecosystem where there are many plugins where user can backup and restore full WP without leaving admin interface.

Yes that is correct. Basically a mod that will do a zipped backup of all the source & theme files etc. Not necessarily but preferably also the other folders.

SMF does a file backup if enabled when you install mods. you just cannot download it from within SMF.

Kindred

Why?

The backup routine from your host is better and more robust than anything we could write
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

IP_Board_Rules

Quote from: Kindred on January 08, 2023, 05:01:05 PMWhy?

The backup routine from your host is better and more robust than anything we could write

No doubt about that but I was specificly looking for a possible mod to download it via the admin interface

Kindred

Again, why?

The hosting cpanel is more robust, faster, and potentially more secure.

Allowing download of site contents from admin - although SMF has a VERY good security record,  potentially exposes the site contents to a hacker who gets access to the smf admin tools (say through social engineering)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: