1. 18
    Backup Your Content and Custom App Logic in a WordPress Instance
    1m 5s

Backup Your Content and Custom App Logic in a WordPress Instance

Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 3 years ago

Not all the data in a WordPress instance needs to be backed up since it is part of the core install and can be re-downloaded at any time.

The two types of data that you should be concerned with backing up are the actual content of the site as well as the custom logic that you add to WordPress. All the custom logic lives in the wp-content folder, the only part of the file system that needs backing up.

Instructor: [0:00] When backing up a WordPress instance, there are two main components that we need to back up. First of all is the content. We get that by going to, tools and export. We export all of the content. We can see we get posts, pages, comments, custom fields, times, navigations, messages, and custom post. Export that, and that comes as an XML file.

[0:17] The second thing we need to backup is all of our theme files. If we go to theme and theme editor, we got a warning, "Hey, don't change any of this backend." Can we understand? All these files are the files that tell WordPress theme, what functions to run, what hooks to run, and all those things are required to be able to get up and running.

[0:36] They are all stored in the wp-content folder. May, this is found in local sites, as at Egghead. You see I've got an app folder called folder and a logs folder. It's an app public. The folder I need to back out and put into source control is wp-content.

[0:50] All the rest of these directories and files are included in the standard WordPress install. We only upgrade WordPress. Anything in wp-admin, make it overwritten. Anything in wp-includes, make it overwritten, but wp-content is ours, ready for us to backup and to manage ourselves.

egghead
egghead
~ 4 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today