• So, I accidentally deleted my wp-contents folder when I upgraded to the latest version of wp. I had backed up my site via the cpanel backup feature and separately backed up my database. Now my site is working and I have all my posts (thank God!) but all my pics that I had inserted into them are gone. Are they somewhere in the db or site backup? If so, how do I find them and reopen/re-associate them with the posts?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Your images should be in your site backup inside the wp-content/uploads folder. Try transferring the entire uploads folder to wp-content on your live site.

    Thread Starter erstoriesnet

    (@erstoriesnet)

    That folder is empty except for one new pic I just uploaded. As I said, I accidentally deleted the entire wp-content folder from before (including the uploads subfolder) – but I backed up the whole site prior to that. I just have no idea where the files are in the database. It is weird since all the post content other than the pics are preserved in the db.

    The pics themselves aren’t stored in the database, just pointers to their actual location under the wp-content folder.

    If you backed up the whole site, then you’ll have a copy of the wp-content/uploads folder.

    Thread Starter erstoriesnet

    (@erstoriesnet)

    I can’t find it. I did the “full back up” via Cpanel and separately downloaded a copy of the db (in sql format) but can’t find any real folders in the back up files.
    The back up appears in a file called “backup-4.23.2010_08-18-57_erstor” but when I open it, I can’t find any folders that has “uploads” in it.

    Thread Starter erstoriesnet

    (@erstoriesnet)

    I also have a file on my computer called “backup-4.23.2010_08-18-57_erstor.tar.gz” which I figure I can try to unzip with winRAR or something. Should this file contain the wp-contents/uploads folder?

    I have no idea. Perhaps your hosting provider can help?

    Thread Starter erstoriesnet

    (@erstoriesnet)

    OK, Thanks for in the input. I will give that a try.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Lost all my pics!’ is closed to new replies.