Advertisement:

Author Topic: [Tutorial] ''How to backup&restore your forum in several different ways''  (Read 105472 times)

Offline angrybanana5000

  • Semi-Newbie
  • *
  • Posts: 29
    • Gamers Crib
I have done this as I am switching hosts but when I imort it to my new host it says access denied.

babjusi

  • Guest
I have done this as I am switching hosts but when I imort it to my new host it says access denied.

Access denied to what? Is the access denied to the db user for the db that you have created? If so, make sure to give the user full permission and access to the database. If that is not the case, can you please post here the full ''access denied'' message that you are getting?

Offline Gà Mái

  • Jr. Member
  • **
  • Posts: 258
  • Gender: Female
Re: A a tutorial of ''How to backup your forum&restore it in different ways''
« Reply #42 on: September 10, 2008, 02:59:42 PM »
Many thanks. Marked to find later!
-- I love SMF --

Offline tittiger

  • Semi-Newbie
  • *
  • Posts: 53
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #43 on: September 13, 2008, 07:36:08 PM »
Does the built in SMF tool also restore the database?

And what of the SMF directory files themselves? How to back them up and restore
and are there any caveats?

From experience I know that backups and restores have a lot of pitfalls.

Personally  may try installing SMF into a Joomla database, whether or not I am using
the Joomla installation because then I can use Joomla Cloner http://www.joomlaplug.com/
to do both the backup and restore.

It seems sort of round about but like I said, too many pit falls
with most methods.


« Last Edit: September 20, 2008, 12:27:49 PM by tittiger »

Offline dwd2000

  • Jr. Member
  • **
  • Posts: 193
  • Gender: Male
  • Is it Friday yet?
    • Dave's Games
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #44 on: September 20, 2008, 12:22:29 PM »
Thanks for the "Restore" tutorial.
I have 3 sites and accidentally overwrote an index.template on one site with another. (all using "default")
Lucky I backed up a few days before with tables included.


30 years ago I was young and foolish.
Now I'm just young.

DAMMIT JIM...I'M A TWEAKER...NOT A CODER!!!

Dave's Games

Offline vaarplezier

  • Semi-Newbie
  • *
  • Posts: 19
  • Gender: Male
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #45 on: November 19, 2008, 05:57:56 PM »
When i try to restore with phpADMIN:
 vaarplezier-complete_2008-11-04.sql

i do get the next message :


------------------------------------------------------------------------------
SQL-query:

CREATE TABLE `smf_vaarpleziersessions` (

session_id char( 32 ) NOT NULL default '',
(X) last_update int( 10 ) unsigned NOT NULL default '',
DATA text NOT NULL default '',
PRIMARY KEY ( session_id )
) TYPE = MYISAM ;



MySQL retourneerde: 

#1067 - Invalid default value for 'last_update'
------------------------------------------------------------------------
i also tried with my other backup files and i get the same message ... :(
« Last Edit: November 19, 2008, 06:01:21 PM by vaarplezier »
Tot later,Georges

babjusi

  • Guest
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #46 on: November 20, 2008, 07:34:07 AM »
@vaarplezier, try to search the forums as this kind of error has been asked/answered plenty of times before :)

Offline Swayforth

  • Semi-Newbie
  • *
  • Posts: 62
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #47 on: November 20, 2008, 02:55:48 PM »
I am not sure if this has been asked yet or not but how would i restore to a fresh install of SMF into a new folder on the same site/host and restore the forum like it was in the original site.

Original site running version1.1.7 upgraded from 1.1.3 install so im not sure if the databases would match when i restore to a clean install of 1.1.7.

I found this infor very helpful cuz my database is 15mb and have learned of new ways to restore which i will try when i get off of work.

thanks for any help you could provide.


babjusi

  • Guest
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #48 on: November 20, 2008, 02:59:18 PM »
I am not sure if this has been asked yet or not but how would i restore to a fresh install of SMF into a new folder on the same site/host and restore the forum like it was in the original site.

Original site running version1.1.7 upgraded from 1.1.3 install so im not sure if the databases would match when i restore to a clean install of 1.1.7.

I found this infor very helpful cuz my database is 15mb and have learned of new ways to restore which i will try when i get off of work.

thanks for any help you could provide.



There are no db changes among the versions of the same series, so a 1.1.3. db will be restored fine in a 1.1.7 forum :)

Now, for the other part, you want to move your forum from a folder to another one? Cos if that is the case, no restore is needed. Can you tell me exactly in which folder your forum is and in which folder you want to move it?

Offline Swayforth

  • Semi-Newbie
  • *
  • Posts: 62
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #49 on: November 20, 2008, 04:12:20 PM »
thanks for your quick reply. Reason why i want to change directory is to do a fresh install of SMF then restore back to it. /forums to /forum.

When i first started using SMF i installed it from the control panel on godaddy ... well i have different issue with this and would like to install it fresh and not use the control panel.

Plus i am using this as a learning experience for a backup/restore, better to know before you need to do it  :P 

babjusi

  • Guest
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #50 on: November 20, 2008, 04:39:33 PM »
thanks for your quick reply. Reason why i want to change directory is to do a fresh install of SMF then restore back to it. /forums to /forum.

When i first started using SMF i installed it from the control panel on godaddy ... well i have different issue with this and would like to install it fresh and not use the control panel.

Plus i am using this as a learning experience for a backup/restore, better to know before you need to do it  :P 

As I said, if you want to change folders then no restore is needed. All you have to do is rename your forum folder from forums to forum via the ftp client or the file manager in the cp of your host and run the repair_settings.php file to straighten out all the urls, paths and the other settings :)

If you want to exercise yourself with the backup/restore process, then you can install a test forum, export the db from your live forum and import it at the test''s forum''s db.

Offline Swayforth

  • Semi-Newbie
  • *
  • Posts: 62
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #51 on: November 20, 2008, 05:21:29 PM »
I'm not changing folders just to change folders ... i want a fresh (manual - not installed by godaddy software options) install of SMF with all my data in it.

Reason i want to do this is because i tried to update SMF using godaddy and it killed the forum had to roll back to get it up and running again. Well i would much rather install it myself and not have godaddy install it. (i think i was trying to get the core files to match)

File Maintence - Check all files against current versions.

i know im just being picky but i have always learned that if you want it done right you need to do it yourself :)

thank you for your help though

Offline JeffGoudreau

  • Semi-Newbie
  • *
  • Posts: 32
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #52 on: September 27, 2010, 03:26:10 PM »
Ok. So my friend with his server is getting attacked by viruses and he says I have to find new hosting for my site. It is version 1.1.11 www.canadiankayakanglers.com and here is the problem Im running into. I dont know what I am doing :( haha. I was told that the option 1. SMF forum maintanance option you are suggesting isnt going to backup the gallery and the avatars and possible other things. I need to backup the entire site. Which option would you suggest someone that has no experience at this. I am willing to learn. I just dont want to disappoint my members and have us lose everything when we do a server change. Also do you guys know what server host is best for SMF? I was told that Godaddy isnt the greatest and Im not sure which to go with. Suggestions would be appreciated :)
Thanks
 

Offline Lucky Chance

  • Newbie
  • *
  • Posts: 1
Re: [Tutorial] ''How to backup&restore your forum in several different ways''
« Reply #53 on: October 04, 2010, 02:47:29 PM »
Hi everyone!

I have a SMF Community which I also just aquired a WHM account with a new host.  I have been trying to get This Site which is a addon, into it's own Cpanel.  I have tried the steps above each time I do however I am getting a error.  I don't know what I am doing with this part of websites, never have done it, have attempted is all.  I asked host if they would do it I can copy all files etc, just don't have enough knowledge on doing the database and would assume not lose 6 months of postings. 

Does anyone know how to move a Addon from a WHM into it's own cpanel?  Can you describe step by step on how to do for SMF?  I would appreciate it a lot.

Thanks