1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

S'more did it.

Discussion in 'XenForo Questions and Support' started by Gabby, Sep 4, 2012.

  1. Gabby

    Gabby Well-Known Member

    So after hogging down seven s'mores, I deleted my xf database by mistake. :confused:

    Any chance I can revive it?

    Ice cold milk helped but still no database or forum. LOL

    I should be really upset about this but for some reason I'm not at the moment. :D
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Can you talk us through how you deleted the database?

    Did you do it in PHP My Admin? Did you run some sort of query?
     
  3. Gabby

    Gabby Well-Known Member

    Oh no worse. I went to my control panel and deleted it, instead of another one I wanted to delete. I don't know anything about phpadmin.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    There's probably nothing you can do to get it back, but I would open a support ticket with your hosts ASAP.

    They may be able to retrieve it.
     
  5. Gabby

    Gabby Well-Known Member

    I did go online to see if I could find a way to restore it but it was way over my head.
     
  6. Gabby

    Gabby Well-Known Member

    I have all the files can I just attach another database to it or would I have to reinstall XF again? I don't know what the hell I"m doing.
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Well you could just attach another database to it, but your database stores all of your configuration, styles, and loads more. If you set up a blank database you will essentially be starting again.

    Again, speak with your hosts. They may do daily backups or have some other ingenious way of restoring the data for you.
     
    Gabby likes this.
  8. borbole

    borbole Well-Known Member

    Do you have a recent backup? If you do, simply restore it. You can create a new db using the same info like it had or if you don''t remember them, use other info and then update the db info at the config.php file.

    Or as mentioned above, ask your host about it. Most hosts make daily backups and restore them for free of charge in similiar situations.
     
    Gabby likes this.
  9. Gabby

    Gabby Well-Known Member

    Thank you Chris and Borbole.. Meh.. my host isn't great anymore so I probab;y have to start over.
     
  10. borbole

    borbole Well-Known Member

    Don''t you have a backup at all Gabby?
     
  11. Gabby

    Gabby Well-Known Member

    You mean one that I manually did? If so, probably not. I won't lose any member data because forum hadn't open yet. I will just lose design.
     
  12. borbole

    borbole Well-Known Member

    Yes, I meant of the db that you deleted.
     
  13. Gabby

    Gabby Well-Known Member

    No I don't think so. Just got a message back from Host, the don't either. Oh well. My fault for not paying attention.
     
  14. MagnusB

    MagnusB Well-Known Member

    I usually wait until the whiskey bottle is at least half empty before deleting db's....
     
    CyclingTribe and Gabby like this.
  15. borbole

    borbole Well-Known Member

    May I give you an advice? It would be much better to set up a test forum using a different db and whenever you want to try out something like create a new style, mod etc do it there. Also make your own backups and not not rely on the host. It is much better that way.
     
    Gabby likes this.
  16. Gabby

    Gabby Well-Known Member

    Well I was doing something with my family (making s'mores), on my computer and testing several different installs of differnt forum software. Probably not a good thing to do all at one time. LOL
     
  17. Gabby

    Gabby Well-Known Member

    Yes for sure Barbole. I guess I learned the hard way. I thought my host did backups well but I was wrong. It is ok to set up XF multiple times on same domain?
     
  18. borbole

    borbole Well-Known Member

    I think that your license allows you to set up an extra forum for testing purposes. Yes, you can use the same domain for that as well. Say for ex, www.yourforum.com/testforum or you can also set it up at a subdomain. Whatever is easier/handier for you.
     
  19. Gabby

    Gabby Well-Known Member

    Ok this is good to know. So I'll be setting up two new XF forums. LOL
     
  20. Gabby

    Gabby Well-Known Member

    P.S. Well I'm getting really good at installing XF...LOL

    Silver lining...:D
     

Share This Page