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

XF 1.2 Recovery of Attachments

Discussion in 'Troubleshooting and Problems' started by Eoj Nawoh, Nov 9, 2013.

  1. Eoj Nawoh

    Eoj Nawoh Active Member

    I recently lost my board due to losing the MySQL database, however, I still have all the files. I've rebuilt my site and I have the old attachments, but I can't view them.

    Is there a way to recover them and 'reattach' them?
     
  2. Mike

    Mike XenForo Developer Staff Member

    No, the data in the database is required.
     
  3. Eoj Nawoh

    Eoj Nawoh Active Member

    Darn, so nothing I can do with them? I can view the thumbnails, but that's about it. Or is there any way I can even get the images in the original resolution?
     
  4. Mike

    Mike XenForo Developer Staff Member

    The (mostly) originals are still there -- just in the internal_data directory. However, you would need to manually rename them to the correct name/extension.
     
  5. Eoj Nawoh

    Eoj Nawoh Active Member

    Well, I found that if I rename all the files to test.jpg or etc, that I'm able to recover them. Although this would be one by one, I am willing to do that. Then I'd be able to manually re-attach, correct?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    How did you lose the database?

    Isn't there a backup available anywhere?
     
  7. Eoj Nawoh

    Eoj Nawoh Active Member

    There was a mistake and we lost it. Our host didn't have any backups.
     

Share This Page