---
title: "WordPress Backups - How to Secure Your Site"
description: "Complete guide to creating WordPress backups. Learn about the best plugins and methods for backing up database and files."
date: 2017-08-15
category: Web Development
tags: ["WordPress", "backup", "security"]
url: https://uper.pl/en/blog/wordpress-backups/
---

# WordPress Backups - How to Secure Your Site

Backups are the foundation of every WordPress site's security. Even if you use hosting that automatically creates backups, it's worth having your own protection.

## Why Are Backups Important?

- **Hacker attacks** - ability to quickly restore the site
- **Update errors** - plugins or themes can "break" the site
- **Accidental deletion** - easy to accidentally delete important content
- **Server failure** - though rare, they can happen

## Solution 1: UpdraftPlus (recommended)

**UpdraftPlus Backup/Restore** is the most popular WordPress backup plugin. Its main advantages:

- **Ease of use** - intuitive interface
- **Quick restoration** - restore with one click
- **Automatic backups** - daily/weekly/monthly schedule
- **Remote copy** - Dropbox, Google Drive, Amazon S3

### How to Configure UpdraftPlus?

1. Install the plugin from WordPress repository
2. Go to Settings → UpdraftPlus
3. Choose backup schedule (e.g., weekly)
4. Choose storage location (e.g., Google Drive)
5. Click "Backup Now" to create the first copy

## Solution 2: Installatron (DirectAdmin)

If you have access to **Installatron** in DirectAdmin panel, you can use its built-in backup features:

1. Log in to DirectAdmin
2. Go to Installatron
3. Select WordPress installation
4. Click "Backup" and set automatic copies

## Solution 3: automysqlbackup (VPS/dedicated server)

For advanced users with access to VPS or dedicated server:

```bash
# Installation
apt-get install automysqlbackup

# Configuration
nano /etc/default/automysqlbackup
```

The tool automatically creates:
- **Daily** copies (last 7 days)
- **Weekly** copies (last 5 weeks)
- **Monthly** copies (unlimited)

Copies are stored in `/var/lib/automysqlbackup/`.

## Backup Best Practices

1. **3-2-1 Rule**: 3 copies, 2 different media, 1 off-site copy
2. **Test restore**: Regularly check if backups work
3. **Automation**: Don't rely on manual backup creation
4. **Encryption**: Encrypt copies containing personal data

## Summary

Regularly create backups and store them in a secure location off the server. Preferably automatically, at least once a week. Remember, the question isn't "if" you'll lose data, but "when".
