• sravan953

    (@sravan953)


    Hey all,

    I run a website called ‘fotolusion’ at https://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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Samuel B

    (@samboll)

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

    yes

    henkholland

    (@henkholland)

    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? https://www.fotolusion.com/wp-content/main/2010_03/The-Wall.jpg

    Thread Starter sravan953

    (@sravan953)

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

    saildude

    (@saildude)

    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.

    Thread Starter sravan953

    (@sravan953)

    @saildude: How do I do that?

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Backing up and restoring the whole website.’ is closed to new replies.