WordPress.org

Ready to get started?Download WordPress

Forums

Backing up and restoring the whole website. (7 posts)

  1. sravan953
    Member
    Posted 4 years ago #

    Hey all,

    I run a website called 'fotolusion' at http://www.fotolusion.com/ .

    With the intent of formatting my server... I backed up my MySQL database. After I format the server, all I want to restore are the posts and comments (mine is a photoblog, I use PhotoQ too). I can manage installing the themes again... and the widgets. So, is backing up the MySQL database enough for restoring the posts and comments?

  2. Samuel B
    moderator
    Posted 4 years ago #

    So, is backing up the MySQL database enough for restoring the posts and comments?

    yes

  3. henkholland
    Member
    Posted 4 years ago #

    Also backup (as in dowloading them to your local PC) all wordpress files, especially your theme files (normally in wp-content/themes/ and your images in uploads or here? http://www.fotolusion.com/wp-content/main/2010_03/The-Wall.jpg

  4. sravan953
    Member
    Posted 4 years ago #

    @henkholland: I don't have to bother about the images... I have all the images on my local drive.

  5. Saildude
    Member
    Posted 4 years ago #

    But you want to retain the directory structure on your restored site so the images are where WordPress thinks they are when the Post gets the image.

  6. sravan953
    Member
    Posted 4 years ago #

    @Saildude: How do I do that?

  7. henkholland
    Member
    Posted 4 years ago #

    Hi,

    Get an FTP program like Filezilla and download your images from the server, preserving the folder structure.
    As far as I can see you (wordpress) stores them in
    /wp-content/main/2010_02/ etc (monthly based folders).

    Looking into thes folders you will notice that wordpres creates (depending on your media settings) two or three instances of each image with different sizes and names.

Topic Closed

This topic has been closed to new replies.

About this Topic