WordPress automatic backup The plan is to automatically take a copy of your site at regular intervals and store at least one copy outside of hosting. The most reliable framework for this is the 3-2-1 rule: three copies of the data are kept in two different media, one in a separate location. For manual backup steps: WordPress backup We have our guide; This article explains how to connect the backup to an automatic and constantly running system.

How to adapt the 3-2-1 rule to WordPress?

Triplicate; the live site, the backup on the server, and the backup on an external location. Two environments; They are independent systems such as hosting disk and cloud storage. An external location is a location that your hosting company cannot access. When the hosting account is suspended, the server fails, or an attacker breaks into the panel and deletes the backups, only this external copy survives.

What should you backup?

The WordPress site consists of two parts, and if they are not backed up together, the restore will be incomplete:

  • Database: Posts, pages, settings, users and WooCommerce orders stop here.
  • wp-content folder: Uploaded images, themes and plugins.
  • wp-config.php and .htaccess: Link information and redirect rules.

It is not mandatory to back up the WordPress core files because they can be re-downloaded from the official package. However, taking a full backup simplifies restoration.

How to determine backup frequency?

The frequency is chosen based on how often the site changes. The table below is a good starting point:

Site typeDatabasefilesStorage
Corporate promotion siteWeeklyWeekly8-12 weeks
Blog with regular contentDailyWeekly30 days
WooCommerce storeseveral times a dayDaily30 days and monthly archive
news siteHourly or several times a dayDaily30 days and monthly archive

How to set up automatic backup?

  1. Choose a backup plugin or the scheduled backup feature of your hosting panel.
  2. Connect a cloud storage account (Google Drive, Dropbox, S3 compatible storage) as an external target.
  3. Set separate frequency for database and files; large media folder doesn't have to be backed up every day.
  4. Put the backup time at night when traffic is lowest.
  5. Enter the retention period so that old backups are automatically deleted and the storage does not become full.
  6. Turn on email notification for failed backup.

Why is restore testing essential?

A spare that has never been tested is not considered a spare. Corrupted archives, missing databases or cloud accounts with lost passwords often occur at the worst possible moment. Every three months, restore the backup to a test area, check that the pages open, images appear and the panel can be entered. For example, for a store that takes 50 orders a day, this test is the difference between half a day's downtime and a week's worth of lost orders.

How to maintain the security of backups?

The backup file is an exact copy of your site and contains database passwords, customer information and order records. That's why backups are not left in a public folder. Zip files stored in public_html on the server can be downloaded by anyone who guesses their address. Two-step verification should be turned on in the cloud storage account, and the backup plugin's cloud access permission should be limited to the relevant folder only.

For businesses that process personal data within the scope of KVKK, where and how long the backups are kept should also be recorded. For example, an education site with a membership system takes precautions against both data loss and unauthorized access by storing its backups in an encrypted archive and a limited-access warehouse.

Common mistakes

  • Keeping the backup only on the same server: If the server goes, the backup goes too.
  • Backing up files only: Without a database, content won't come back.
  • Not noticing the failed backup: Plugins can silently stop when the disk is full; notification must be clear.
  • Restoring hacked backup: If the storage period is short, all backups may become infected.

If you want to tie backups, updates and security checks into a regular maintenance schedule WordPress technical support You can review the maintenance scope on our page.

Is the hosting company's backup sufficient?

It is not enough alone. Hosting backup stays with the same company; If the account is suspended or the server malfunctions, you may not be able to access the backup.

How long should backups be kept?

Daily backups should be kept for at least 14-30 days, and monthly backups should be kept for several months. Attacks are sometimes noticed weeks later.

Does the site slow down when taking a backup?

On large sites, short-term load occurs during backup. That's why the reserve time is placed at night when traffic is lowest.