{"id":38555,"date":"2022-04-08T16:14:00","date_gmt":"2022-04-08T21:14:00","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=resource&#038;p=38555"},"modified":"2024-10-02T14:04:44","modified_gmt":"2024-10-02T19:04:44","slug":"how-to-backup-wordpress","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/","title":{"rendered":"How To Backup WordPress Files and Databases"},"content":{"rendered":"\n<p>There are few things worse than discovering that an unforeseen error, attack, or failure has caused you to lose hours of hard work creating your WordPress site. If you\u2019re a developer, this may even prevent you from reaching that all-important client deadline.<\/p>\n\n\n\n<p>Fortunately, WordPress makes it easy to back up your WordPress site. You have the option to do so manually via Secure File Transfer Protocol (SFTP) or<a href=\"https:\/\/cpanel.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"> cPanel<\/a>, as well as with dedicated&nbsp;WordPress plugins.<\/p>\n\n\n\n<p>In this article, we\u2019ll explore how a WordPress backup works, and why it\u2019s so important. Next, we\u2019ll move on to exploring how you can back up your WordPress site. Let\u2019s dive in!<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">What Needs to Be Backed Up<\/h2>\n\n\n\n<p>When it comes to creating a backup of your website, <a href=\"https:\/\/wordpress.org\/support\/article\/wordpress-backups\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress recommends<\/a> that you back up <em>everything<\/em>. This includes two main components \u2013 your site\u2019s files and its database.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/wordpress.org\/support\/article\/wordpress-backups\/#backing-up-your-wordpress-site\" target=\"_blank\" rel=\"noreferrer noopener\">files you\u2019ll back up<\/a> include associated plugin and theme files, code files, images, and static web pages. When it comes to your database, this is where all your site\u2019s content resides. Backing this up means that if you ever have to restore your website, you\u2019ll still have your posts, links, and comments intact.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Are WordPress Backups Important?<\/h2>\n\n\n\n<p>Although <a href=\"https:\/\/wordpress.org\/about\/security\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress is highly secure<\/a>, this doesn\u2019t mean your site is immune from issues that may cause you to lose content. A WordPress backup is one of those things you\u2019ll be glad you have, but hope you never need.&nbsp;<\/p>\n\n\n\n<p>Backing up your site files and database is like creating an insurance policy. It\u2019s something you can cash in as and when you need it. Whether the problem is due to a hack, attack, coding blunder, or something else out of your control, having key elements backed up means you can get your site back online quickly.<\/p>\n\n\n\n<p>Backing up website files can also save you time and eliminate frustration. For example, if you make an error while working on your site and can\u2019t find the cause, you can simply restore a recently backed-up version. As such, it\u2019s important to back up your site regularly, using one of the following three methods. So, how do you backup a WordPress site?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Information Is Included In a WordPress Backup?<\/h2>\n\n\n\n<p>A complete WordPress backup involves two major parts: the MySQL database and the files.<\/p>\n\n\n\n<p>Your MySQL database contains critical information, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Posts and pages<\/li>\n\n\n\n<li>Comments<\/li>\n\n\n\n<li>Categories and tags<\/li>\n\n\n\n<li>Usernames and passwords<\/li>\n\n\n\n<li>Emails<\/li>\n<\/ul>\n\n\n\n<p>Your files make up the actual <em>content <\/em>of your WordPress site and are generally stored separately. These include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Videos and images<\/li>\n\n\n\n<li>Graphics<\/li>\n\n\n\n<li>Theme files and settings<\/li>\n\n\n\n<li>Plugin files and settings<\/li>\n<\/ul>\n\n\n\n<p>Because some information can be easily re-downloaded\u2014themes, plugins, and core files\u2014some backup plugins give you the option to save only your database and uploads folder. However, a thorough backup (and especially a first one) should include your entire WordPress website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Option 1: Back Up WordPress with a Plugin<\/h2>\n\n\n\n<p>Backing up your WordPress website with a plugin is the most feasible option for most users. There are several free plugins available that can help you do that. To give you an example of how this works, we\u2019ll use the <a href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\" target=\"_blank\" rel=\"noreferrer noopener\">UpdraftPlus WordPress Backup Plugin<\/a>:<\/p>\n\n\n\n<p>Once you\u2019ve <a href=\"https:\/\/wordpress.org\/support\/article\/managing-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">installed and activated<\/a> the plugin, you\u2019ll be prompted to go through several setup steps:&nbsp;<\/p>\n\n\n\n<p>Making a backup with UpdraftPlus is pretty simple. Right away, you can select <em>Backup Now<\/em> on the <em>Settings<\/em> page and create your first backup:<\/p>\n\n\n\n<p>Additionally, you can use the tabs in the <em>Settings<\/em> to create automated backups, and connect to many different cloud storage options to save your website backup files:&nbsp;<\/p>\n\n\n\n<p>It\u2019s as easy as that! Using a WordPress plugin can save you a lot of time, and build in an extra sense of security. You\u2019ll have a \u2018Plan B\u2019 in place if your site crashes, is hacked, or has an unrecoverable issue. Additionally, one of the best benefits of this particular plugin is that you can also restore your site easily if needed.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress Backup Plugins<\/h3>\n\n\n\n<p>Using a dedicated WordPress backup plugin presents the simplest way to ensure that your site can be restored. There are a variety of free options to consider, most of which are lightweight, intuitive, and well documented.<\/p>\n\n\n\n<p>We\u2019ve previously written an entire article on<a href=\"https:\/\/wpengine.com\/resources\/how-to-backup-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\"> WordPress backup plugins<\/a>, where we explored the best solutions and how to use them. For the purposes of this article, we\u2019ll focus more on the manual methods for backing up your WordPress site.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"283\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/01\/jetpack-1024x283.png\" alt=\"Homepage of Jetpack website. How To Backup WordPress Site And Database\" class=\"wp-image-148950\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/jetpack-1024x283.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/jetpack-540x149.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/jetpack-768x212.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/jetpack.png 1241w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">1. <a href=\"https:\/\/jetpack.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Jetpack<\/a><\/h3>\n\n\n\n<p>Jetpack offers always-on security for WordPress websites which includes real-time backups and malware scanning. The backup solution saves every change you make to your website and offers one-click restores. You can restore your site with the WordPress mobile app. The plugin also notifies you if your site goes down.<\/p>\n\n\n\n<p><strong>Pros: <\/strong>Real-time backups, one-click restores, and an activity log to understand what went wrong.<\/p>\n\n\n\n<p><strong>Cons: <\/strong>Daily backups solution creates a 30-day backup archive and log of site changes.<br><br><strong>Price: <\/strong><a href=\"https:\/\/jetpack.com\/upgrade\/backup\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pricing<\/a> starts at $4.95\/month billed yearly for daily backups. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"304\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/01\/blogvault.png\" alt=\"promotional image that is used on the BlogVault listing in the WordPress plugin directory. How To Backup WordPress Site And Database\" class=\"wp-image-148951\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/blogvault.png 940w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/blogvault-540x175.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/blogvault-768x248.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. <\/strong><a href=\"https:\/\/wordpress.org\/plugins\/blogvault-real-time-backup\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>BlogVault<\/strong><\/a><\/h3>\n\n\n\n<p>Like VaultPress, BlogVault automatically backs up files. It does this on a daily basis and even allows data to be exported directly to Dropbox. Restorations are automatic and backups are in offsite data centers. This WordPress plugin to backup a database even include archives so users can pull up previous versions.<\/p>\n\n\n\n<p><strong>Pros<\/strong>: Each backup has its own mini-menu that allows users to easily choose what is done with that specific backup. Platform also shows timestamps for previous and upcoming backups.<\/p>\n\n\n\n<p><strong>Cons<\/strong>: The basic package comes with no security, and it\u2019s a bit pricier than other similar options.<\/p>\n\n\n\n<p><strong>Price<\/strong>: With BlogVault there\u2019s a free 7-day trial, but their package <a href=\"https:\/\/blogvault.net\/pricing\/\" target=\"_blank\" rel=\"noreferrer noopener\">pricing<\/a> starts at $199\/year.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"180\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/01\/codeguard-1024x180.png\" alt=\"Homepage of CodeGuard website. How To Backup WordPress Site And Database\" class=\"wp-image-148952\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/codeguard-1024x180.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/codeguard-540x95.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/codeguard-768x135.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/codeguard.png 1295w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. <a href=\"https:\/\/www.codeguard.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">CodeGuard<\/a><\/strong><\/h3>\n\n\n\n<p>Rather than backing up your site on a fixed schedule, CodeGuard continually monitors your site and only performs a backup when it recognizes that changes have been made. This, combined with pain-free restoration makes it one of the most efficient WordPress backup solutions available, if not necessarily the most cost-effective.<\/p>\n\n\n\n<p><strong>Pros<\/strong>: CodeGuard can work with other platforms outside of WordPress. It\u2019s also essentially always on \u201cautopilot.\u201d<\/p>\n\n\n\n<p><strong>Cons<\/strong>: Pricing can turn expensive when operating numerous sites.<\/p>\n\n\n\n<p><strong>Price<\/strong>: <a href=\"https:\/\/www.codeguard.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pricing<\/a> starts at $39\/year for twelve sites. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"292\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/01\/updraftplus.png\" alt=\"promotional image that is used on the UpdraftPlus listing in the WordPress plugin directory. How To Backup WordPress Site And Database\" class=\"wp-image-148953\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/updraftplus.png 927w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/updraftplus-540x170.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/updraftplus-768x242.png 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. <\/strong><a href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>UpdraftPlus<\/strong><\/a><\/h3>\n\n\n\n<p>When it comes to free WordPress backup plugins, UpdraftPlus might be the best option. In the free version, users can set up their own automatic backup schedule. Storage options include Google Drive, Dropbox, personal computers, and even web hosts. <\/p>\n\n\n\n<p>Additionally, database and file backups can be scheduled separately, and multiple archives can be utilized for increased reliability. Premium versions add all available add-ons as well as 1GB of storage on UpdraftVault, their own storage product.<\/p>\n\n\n\n<p><strong>Pros<\/strong>: Easy customization offers and competitive pricing come standard. The basic interface is also easy to use.<\/p>\n\n\n\n<p><strong>Cons<\/strong>: Option for lifetime updates is unavailable. Advanced configurations can also be difficult to master.<\/p>\n\n\n\n<p><strong>Price<\/strong>: Basic version is free, but <a href=\"https:\/\/updraftplus.com\/shop\/updraftplus-premium\/\" target=\"_blank\" rel=\"noreferrer noopener\">premium<\/a> can range from $70\u2013$400 depending on the number of sites.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"937\" height=\"300\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/01\/backwpup.png\" alt=\"promotional image that is used on the BackWPUp listing in the WordPress plugin directory. How To Backup WordPress Site And Database\" class=\"wp-image-148954\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/backwpup.png 937w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/backwpup-540x173.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/01\/backwpup-768x246.png 768w\" sizes=\"auto, (max-width: 937px) 100vw, 937px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. <\/strong><a href=\"https:\/\/wordpress.org\/plugins\/backwpup\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>BackWPup<\/strong><\/a><\/h3>\n\n\n\n<p>BackWPup\u2019s free version offers some of the best capabilities relative to other free options. This tool allows for backups to be stored in Dropbox and other external drives, but users can also download backups as a .zip file and simply import the file later to restore the site. <\/p>\n\n\n\n<p>Automatic phpMyAdmin backups are also provided, so it\u2019s easy to work with the database.<\/p>\n\n\n\n<p>Pros: Provides a simple user interface. File and database backups can be scheduled separately, and the platform has various backup location options.<\/p>\n\n\n\n<p>Cons: Backups must be scheduled\u2014can\u2019t be on-demand. No migration or cloning tools provided. Restore capability isn\u2019t integrated in Pro version\u2014it only works as standalone app.<\/p>\n\n\n\n<p>Price: Free version available. <a href=\"https:\/\/backwpup.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Prices<\/a> range from Standard for $69\/year to Agency for $349\/year.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Option 2: Back Up WordPress Manually<\/h2>\n\n\n\n<p>Although plugins present a quicker method for backing up your site, it\u2019s important to know how to complete the process manually. After all, a plugin may malfunction, or an issue may arise that prevents you from accessing your site\u2019s dashboard.<\/p>\n\n\n\n<p>While most backup plugins are light, opting for the manual method is also ideal if you\u2019re concerned about the performance impact of adding another plugin to your website. With that in mind, let\u2019s start by looking at how you can back up your site with SFTP.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Back Up WordPress Files Using the SFTP Method<\/h3>\n\n\n\n<p>For this example, we\u2019ll be using the SFTP solution <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">FileZilla<\/a>. This is a free, open-source, and powerful tool. Once you\u2019ve installed and opened the application, you\u2019ll need to<a href=\"https:\/\/wpengine.com\/resources\/how-to-access-wordpress-files-using-sftp\/\" target=\"_blank\" rel=\"noreferrer noopener\"> enter your SFTP credentials<\/a> into the fields at the top of the screen: <em>Host, Username, <\/em>and <em>Password:<\/em><\/p>\n\n\n\n<p>These credentials are usually found within your account\u2019s hosting panel, although you should contact your WordPress host\u2019s support channels if you can\u2019t find them.<\/p>\n\n\n\n<p>Once you\u2019re logged in, you\u2019ll need to create a local folder where your WordPress backup will be stored. You can do this within FileZilla or directly on your computer, whichever is easier.<\/p>\n\n\n\n<p>Back in FileZilla, navigate to the right-hand quadrant, and select the <em>public_html<\/em> folder. This contains the entire contents of your site, and can also be called <em>www<\/em>, <em>root<\/em>, or even be named after your site.<\/p>\n\n\n\n<p>The next step is simple. Drag the <em>public_html<\/em> folder across FileZilla and into your local backup folder, from the right-hand quadrant to the left-hand one:<\/p>\n\n\n\n<p>FileZilla will then take a few moments to copy over the files, at which point your site will be completely backed up.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Back Up WordPress Files Using the cPanel Method<\/h3>\n\n\n\n<p><a href=\"https:\/\/cpanel.com\/\">cPanel<\/a> is a control panel used by many web hosts, which can be used to securely manage and back up your WordPress site via a simple interface. This backup process is the most convoluted&nbsp;of all the common methods, although it\u2019s still simple enough to achieve.<\/p>\n\n\n\n<p>First, log into your hosting account\u2019s back end. Within cPanel, navigate to the <em>File Manager<\/em>:<\/p>\n\n\n\n<p>Next, click on (but don\u2019t enter) the <em>public_html<\/em> folder, and select <em>Compress<\/em> from the toolbar:<\/p>\n\n\n\n<p>You\u2019ll be presented with a dialog box asking you to choose a compression format and name your file. Select <em>Zip Archive<\/em>, and click on <em>Compress File(s)<\/em>:<\/p>\n\n\n\n<p>Finally, select the <em>ZIP<\/em> file within <em>File Manager<\/em>, and click on <em>Download<\/em> from the toolbar. This will download the file to your computer, at which point you should delete the copy on your server.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Back Up the WordPress Database Using phpMyAdmin<\/h4>\n\n\n\n<p>The previous step only covers one aspect of manually backing up your website via cPanel. You\u2019ve copied over your site\u2019s files, but its database is just as important. To make sure that too is preserved, head back to your cPanel dashboard and navigate to <em>phpMyAdmin<\/em>:<\/p>\n\n\n\n<p>Inside, you\u2019ll see a list of your websites within the left-hand directory. Click on your website\u2019s database, check all the \u201ctables\u201d within, and then navigate to the <em>Export<\/em> tab:<\/p>\n\n\n\n<p>While there are a few options within this screen, choosing a <em>Quick Export<\/em> method and the SQL format will suffice. When you\u2019re ready, hit <em>Go<\/em>:<\/p>\n\n\n\n<p>Your file should now download. If the backup displays directly within <em>phpMyAdmin<\/em>, simply copy the contents into a new text file using your favorite text editor, and save the file using the .<em>sql<\/em> extension.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Option 3: Back Up WordPress Through Your Hosting Provider<\/h2>\n\n\n\n<p>In order to make the manual backup process easier, many hosts offer a built-in solution. With WP Engine&#8217;s <a href=\"https:\/\/wpengine.com\/secure-wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">secure hosting solution for WordPress<\/a>, we make it easy to back up your site as and when you want to. To give you further peace of mind, every plan includes automatic daily backups as well.<\/p>\n\n\n\n<p>To <a href=\"https:\/\/wpengine.com\/support\/restore\/\" target=\"_blank\" rel=\"noreferrer noopener\">back up your WordPress site with WP Engine<\/a>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log into your dashboard and select your account from the <em>Installs<\/em> menu.<\/li>\n\n\n\n<li>Select <em>Backup points<\/em> from the dashboard menu, and then <em>Backup Now<\/em>.<\/li>\n\n\n\n<li>After you\u2019ve entered a description for your backup, click on <em>Create production backup<\/em>. Your backed-up site will then be accessible in the <em>Backup Now<\/em> screen.<\/li>\n<\/ol>\n\n\n\n<p>That\u2019s all there is to it\u2014peace of mind in three simple steps!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Often Should WordPress Sites Be Backed Up?<\/h2>\n\n\n\n<p>Deciding how often to create backups of your website\u2019s files and database depends a lot on how often you add new content. If you make changes, install new plugins, or add posts or pages on a daily basis, your backups should take place more frequently than they would on a relatively static site. A good rule of thumb is to create at least one database backup each day.<\/p>\n\n\n\n<p>Also, no matter how often you decide to schedule your site\u2019s file and database backups, there is an important exception to keep in mind. It\u2019s recommended that you create a full backup before making any major changes to your site. This is to avoid unintentional errors or corruptions, and applies to installing new versions of WordPress as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Common Issues With WordPress Backups<\/h3>\n\n\n\n<p>Knowing <a href=\"https:\/\/wordpress.org\/documentation\/article\/wordpress-backups\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to backup WordPress site data<\/a> is essential. But understanding the issues that can arise around backups\u2014and how to fix them\u2014is equally important. Here are some common problems and solutions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Storage Limitations<\/h3>\n\n\n\n<p>If you opt for a plugin with cloud-based backups, you risk running out of space. Dropbox and Google Drive will eventually fill up with your backup files, leaving no room for new ones.<\/p>\n\n\n\n<p>To avoid this issue, choose an upgraded plan and keep an eye on storage space, deleting old files as needed. Better yet, avoid relying uniquely on cloud storage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bloated Websites<\/h3>\n\n\n\n<p>Sometimes, a WordPress backup plugin can fail if your website is too big. Servers can time out during the creation of a large backup file. When this happens, some of your data can wind up missing or corrupted\u2014if any of it was saved at all.<\/p>\n\n\n\n<p>Combat this problem by removing old files from your content folder or only backing up essential information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Errors with Customized Sites<\/h3>\n\n\n\n<p>Some backup plugins are designed to scan your WordPress site and back up the relevant data. However, if you\u2019ve tweaked enough code, the plugin may struggle to locate all of your data.<\/p>\n\n\n\n<p>The obvious solution is to avoid customizing the structure of your website. But since there are many cases where you\u2019ll want to make significant changes, your other options are backing up your site manually or through your hosting provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Lost or Inaccessible Copies<\/h3>\n\n\n\n<p>Having backup files stored locally on your computer or server is always recommended. But that should never be your <em>only <\/em>backup copy. If your computer goes down, you\u2019ll lose access to your backups.<\/p>\n\n\n\n<p>Ideally, you should store backups in at least three locations. Aim for a physical backup (on a hard drive) as well as a cloud-based copy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where Are WordPress Backups Stored?<\/h2>\n\n\n\n<p>Where your WordPress backups are stored depends on your method of creating them. For example, if you manually downloaded your files and database from cPanel and phpMyAdmin, then your backup should be saved to your computer\u2019s hard drive.&nbsp;<\/p>\n\n\n\n<p>If you use a tool like UpdraftPlus, your backup will be stored in the cloud option you chose during the plugin\u2019s setup process (for example, <a href=\"https:\/\/www.google.com\/drive\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Drive<\/a> or <a href=\"https:\/\/www.dropbox.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">DropBox<\/a>). If you did not choose a cloud option or are using a different plugin, your backup files are typically stored within your existing WordPress database and file system.&nbsp;<\/p>\n\n\n\n<p>If you need to restore a backup because your website was hacked, restoring files that are stored in the hacked database may not be the best option. So it\u2019s vital that whatever your backup solution might be, you keep multiple copies of your backups stored in external locations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Automatically Back Up Your WordPress Site with WP Engine<\/h2>\n\n\n\n<p>With WP Engine, you can rest easy knowing that your site is backed up nightly. This means you can restore previous versions of your WordPress site whenever the need arises. Plus, if you have any questions or concerns about backups (or any other aspect of your WordPress site) our reliable support team is here to provide <a href=\"https:\/\/wpengine.com\/wordpress-support\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress help<\/a> and support services 24\/7.<\/p>\n\n\n\n<p>To find out more about our <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting expertise for WordPress sites<\/a> or discover how we can help your site better meet your goals, <a href=\"https:\/\/wpengine.com\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">contact us today<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are few things worse than discovering that an unforeseen error, attack, or failure has caused you to lose hours of hard work creating your WordPress site. If you\u2019re a developer, this may even prevent you from reaching that all-important client deadline. Fortunately, WordPress makes it easy to back up your WordPress site. You have<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":1,"featured_media":38556,"template":"","resource-topic":[908,904,912,901],"resource-role":[896,906,897,899],"resource-type":[916],"class_list":["post-38555","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Backup WordPress Files &amp; Database<\/title>\n<meta name=\"description\" content=\"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Backup WordPress Files &amp; Database\" \/>\n<meta property=\"og:description\" content=\"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-02T19:04:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/05\/WordPressBackups-resource1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"560\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How To Backup WordPress Files &amp; Database\" \/>\n<meta name=\"twitter:description\" content=\"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/05\/WordPressBackups-resource1.jpg\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/\",\"name\":\"How To Backup WordPress Files & Database\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2022-04-08T21:14:00+00:00\",\"dateModified\":\"2024-10-02T19:04:44+00:00\",\"description\":\"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Backup WordPress Files and Databases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085\",\"name\":\"WP Engine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"caption\":\"WP Engine\"},\"sameAs\":[\"https:\/\/wpengine.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Backup WordPress Files & Database","description":"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How To Backup WordPress Files & Database","og_description":"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2024-10-02T19:04:44+00:00","og_image":[{"width":"1600","height":"560","url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/05\/WordPressBackups-resource1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"How To Backup WordPress Files & Database","twitter_description":"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.","twitter_image":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/05\/WordPressBackups-resource1.jpg","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/","name":"How To Backup WordPress Files & Database","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2022-04-08T21:14:00+00:00","dateModified":"2024-10-02T19:04:44+00:00","description":"Backing up WordPress files is critical. Here are some easy ways to backup your site automatically and avoid losing important resources.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/how-to-backup-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"How To Backup WordPress Files and Databases"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085","name":"WP Engine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","caption":"WP Engine"},"sameAs":["https:\/\/wpengine.com"]}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/05\/BackupWPsite-resourcegrid.jpg","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Developer, Entrepreneur, Freelancer, Site Owner","topic":"<strong>Topics:<\/strong> Entrepreneurship, Marketing, Performance, WordPress","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/38555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/1"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/38556"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=38555"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=38555"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=38555"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=38555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}