• Hi,
    I have spent quite a few days Developing my Theme Locally.
    Now I would like to ‘back everything up Locally’ before I begin to make more serious modifications.

    Within the codex, I have found steps to backup all of the files and the database but this is in reference to the Backup of the Remote Host Location.

    Can someone please explain this process to properly backup my local files and database locally.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • It’s the same idea, you just don’t need FTP and how you get the database export will depend on your setup – if you have phpMyAdmin installed locally you can use that, if not you can use the command line or another tool.

    Thread Starter iHaveAQuestion4

    (@ihaveaquestion4)

    Hi and thanks for responding. I am comfortable. Using the command line.
    I have installed MAMP both manually and now I am using the MAMP GUI interface.

    Since I have been delving into many things these last few months and going back and forth, can you provide more specific directions ?

    I want to learn to do this is the most organized, logical and easy to restore way.
    Thanks.

    In that case, I’d recommend installing the WP-CLI tool: http://wp-cli.org/

    Exporting the database once that’s installed is as simple as wp db export

    Thread Starter iHaveAQuestion4

    (@ihaveaquestion4)

    I understand exporting and importing the database.
    It is all of these other files.

    For example, I once tried to create a new project and then just copy ‘all’ to the wordpress files into this new project but it didn’t’ work.

    Thanks again.

    You would need to update wp-config.php to point to the new database and change the values of two URL options. The information outlined here should help: http://codex.ww.wp.xz.cn/Moving_WordPress

    Thread Starter iHaveAQuestion4

    (@ihaveaquestion4)

    Thank you.
    I think I now get it. Hope you check this over the weekend. I will update.
    🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Developed theme on localhost; how do I back it up ?’ is closed to new replies.