WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can one restore wordpress site without database(sql) back-up file? (9 posts)

  1. rokkitboy
    Member
    Posted 7 months ago #

    I created a wordpress site and only have a back-up of all the public-html folder files. The client changed hosts without giving me notice and I didn't do a back-up of the database files before the move to the new hosts. The client has a dispute with previous hosts and can't gain access to the old servers to recover the database files. There weren't many posts in the blog section yet. The main concern is the theme customisations that we applied and the pages we created for the site. Is there a way to recover the wordpress site without the database file?

    I replaced the public_html folder on the new host server with the backed-up public_html folder of the original site. And it is giving me the: "Error establishing a database connection" error.

    Please let me know if anyone has any advice or recommendations on this issue.

    Thanks a mill!

  2. kmessinger
    Volunteer Moderator
    Posted 7 months ago #

    Is there a way to recover the wordpress site without the database file?

    No.

    The main concern is the theme customisations that we applied and the pages we created for the site

    WordPress Pages? No.

  3. rokkitboy
    Member
    Posted 7 months ago #

    That doesn't sound good at all...
    Any advice on what to do kmessinger ?
    Does this mean my only choice is to rebuild the whole site?

  4. kmessinger
    Volunteer Moderator
    Posted 7 months ago #

    You should have the css file which would help and the wp-cnotent/uploads directory and files. The graphics won't be linked to anything but at least they are there. You also have the plugins but they will need to be re-installed.

    It depends on the theme but some have a custom functions php file where much of the customization is saved along with a custom css file.

    First you have to have a talk with your client to insure you don't get caught up in the flak after spending time rebuilding. The best and least costly thing would be to kiss/make-up and get the files. Otherwise, yes you are going to have to rebuild but at least you have some of the parts you need.

    The database error is because you need to change the wp-config.php to reflect the new server info.

  5. rokkitboy
    Member
    Posted 7 months ago #

    Thanks so much for the advice - I really appreciate it. Now to convince the client to kiss and make up with the previous hosts... hopefully they still have the data on their servers.

  6. rokkitboy
    Member
    Posted 7 months ago #

    Thanks

  7. rokkitboy
    Member
    Posted 7 months ago #

    Thanks

  8. jackieforjustice
    Member
    Posted 6 months ago #

    I just created my blog site, then read I really ought to have it under a seperate directory. I went to my Admin page and added to the end of my blog URL /MyBlog. As soon as I did that, I could only view a very pared down version of my site (was pretty bare anyway being so new).

    I do not have MyPHP or MySQL nor do I have any coding experience. Will someone please tell me if there is someone who can walk me through fixing this nightmare?:-(

    Thanks,
    Jackie

  9. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    @jackieforjustice - please start your own thread - this one is marked resolved and it's not the same issue - see:

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

Reply

You must log in to post.

About this Topic