WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress Backup Process for a Rookie (3 posts)

  1. bkmatlll
    Member
    Posted 4 years ago #

    Hi ... Can someone please confirm that the following backup process works or is there a much better technique?

    I am in the process of creating my first WordPress theme. I want to modify the original "logo" image in the theme's header.php file. I know that I will need to tweak HTML code in both the header.php and the style.css files.

    I have been creating and adding features to the theme but when someting "goes wrong", I go back and delete the entire blog and start fresh because I am afraid that I might corrupt the blog mechanism. This process usually takes me 30 minutes before I am ready to try some new HTML. Also my WordPress blog (with a static page referencing a FrontPage web site) contains more than 2000 files, so the FTP process can be rather time-consuming. This backup process needs to be improved and I wonder if the following will work.

    BACKUP ?? PROCESS: I am able to FTP the entire blog from the remote server to my laptop. Can I then modify the HTML code in header.php and style.css through the WordPress "dashboard" theme editor and dave/update the files. If the result "bombs" and I am not able to re-enter the original cpde from my "hard copy", can I then FTP the "backed up" header.php and style.css from my laptop to the remote server so that I am back to the original code before I started tweaking?

    If there is a better method that one can suggest. I am eager to learn.
    THANKS for your anticipated assistance ... Brian

  2. iridiax
    Member
    Posted 4 years ago #

    Edit offline with a text or code editor. It's very easy to make multiple backup copies of the theme's folder on your own computer, and you just need to upload the changed files.

  3. bkmatlll
    Member
    Posted 4 years ago #

    THANKS iridiax ... I am now using TextPad to edit the php files which I save to the theme folder and FTP the upgraded files. Your tip to edit offline definitely saves me a great deal of time.
    THANKS for caring and sharing ... Brian

Topic Closed

This topic has been closed to new replies.

About this Topic