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

XF 1.2 Is there a way to retrieve drafts?

Discussion in 'XenForo Questions and Support' started by MistyMeanor, Jul 25, 2013.

  1. MistyMeanor

    MistyMeanor Active Member

    I feel so stupid, I know better than this. I was working on a long and detailed thread relating to what I expect out of my mods. I have been on/off working on it for days, but today spent HOURS working on it. I didn't save it, but it was auto-saving the entire time. We just had a power surge and it didn't pop back up when everything loaded back up. I just lost it all didn't I? Or is there somewhere in the system they are stored temporarily?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    It should appear in the forum you were posting it in. How long do you store the for? You'd have to check in the database most likely, there isn't a direct way to see them.
     
  3. MistyMeanor

    MistyMeanor Active Member

    I have it set to store drafts every 24 hours and every 20 seconds. I went to the "history" link, but its not showing me anything from today there.
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    If the save was interrupted, it may be possible that the draft was erased. You would have to look in the database directly. Do you have PhpMyAdmin access?
     
  5. MistyMeanor

    MistyMeanor Active Member

    Yeah I think I do... can you tell me where to look? I have only been in phpmyadmin a few times before in the past and was able to tinker around and find private messages and such.
     
  6. The Forum Heroes

    The Forum Heroes Well-Known Member

    If you have cPanel, it will be the third button in the database section of it.
     
  7. The Forum Heroes

    The Forum Heroes Well-Known Member

    I see you do :) Ok, it is here..

    cPanel X 2013-07-24 22-42-51.png
     
  8. MistyMeanor

    MistyMeanor Active Member

    Ok I am in...
     
  9. MistyMeanor

    MistyMeanor Active Member

    I clicked on databases and clicked the one for nomuscle_xenforo... am I in the right place? Now what am I looking for?
     
  10. MistyMeanor

    MistyMeanor Active Member

    Hello? anyone?
     
  11. Luke F

    Luke F Well-Known Member

    Table xf_draft
     
  12. MistyMeanor

    MistyMeanor Active Member

    It only pulled up two things... not related to mine. I guess when someone hit the save button during posting? I don't think thats where things are auto-saved??

    Ugh! I guess it's all gone... all that work. Boo! What makes me hurt even worse about this is that during the power surge it screwed up my DVR cable box. So ALL of my DVR shows recorded are GONE! Just a crappy evening overall! Sigh... Thanks for the help though guys. :(
     
  13. AndyB

    AndyB Well-Known Member

    Do you do daily backups of your forum database?
     
  14. MistyMeanor

    MistyMeanor Active Member

    Yes, I have the tech guys I hired to set it up for daily backups.
     
  15. Jeremy

    Jeremy XenForo Moderator Staff Member

    They are saved to xf_draft, but once you hit post (or wait > 24 hours) they are removed from the table.
     
  16. MistyMeanor

    MistyMeanor Active Member

    I am not understanding where they could be then... I have several things in there... about 6 databases. I looked in the one that it should be, and it didn't even show an xf_draft. Then I looked in another, and it had an xf_draft but only two items in it that were other threads. One database is my old vb, one is my new xf, one is a test xf (just added today), then there is a couple others.

    I had that thread up all day, so it should have numerous drafts (since saves every 20 secs.) and I had not hit post, nor has it been 24hrs. This was just a couple of hours ago.
     
  17. AndyB

    AndyB Well-Known Member

    You might like to ask your tech guy for help. He can retrieve the saved draft from the daily backup.
     
  18. Mike

    Mike XenForo Developer Staff Member

    You talked about "history", were you editing a post? Edits don't save drafts.
     
    Jeremy likes this.
  19. MistyMeanor

    MistyMeanor Active Member

    Oh man... YES! Darnit!! Yes, I was editing a post... but it still showed it was auto-saving periodically?? I guess not into the actual database, it would just be there if I accidentally clicked out of it or something, but not a computer reboot because we had a power surge.
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    The "draft saved" message does not appear when editing a post.
     

Share This Page