Backup Wordpress

SnapShooter provides an easier way to backup your WordPress database and website directory, compress them and transfer it automatically from your WordPress server to any storage, in this guide we will use AWS S3 but your free to connect which ever storage you

Add a Server to Snapshooter

First, you will need to add the WordPress server to the Snapshooter. Follow the below steps to add a server to Snapshooter:

Step 1 - First, go to the SnapShooter website and register for their 14-day free trial.

Step 2 - On the SnapShooter dashboard, click on the Servers in the left sidebar. You should see the following screen:

Step 3 - Click on the Connect Server. You should see the following screen:

Step 4 - Copy and paste the code shown in the above image to your server:

curl -sSL "https://ingestor.snapshooter.com/api/server/add?token=eyJpdiI6IjRPOEV0RStmZnIyUzFuUU1QY3hJaGc9PSIsInZhbHVlIjoiNWpBaVFzaENWbDBhUFlEdHpYcjNKdz09IiwibWFjIjoiZmM1OTY0YzU1MGU5Njg5ODVjMjQwZTc0MzAyNzdhNGQwYzJmMmY2MWMxOWQ2NjlhZGVjNTAzOTYwZDY2ZWM5ZCIsInRhZyI6IiJ9&key=5895" | bash

Once your server is connected to the Snapshooter, you will get the following output:

Welcome to SnapShooter Server Setup
Environment Detected: OS: linux, OS Type: amd64
Installing SSH public key
Creating temp SSH key file
grep: /root/.ssh/authorized_keys: No such file or directory
cp: cannot stat '/root/.ssh/authorized_keys': No such file or directory
Creating authorized_keys backup /root/.ssh/authorized_keys.bak-1652195540
Key Installed /root/.ssh/authorized_keys
Removing temp SSH key file
Scanning SSH config
Checking 22
matched (22)
SSH test confirmed, Server Added to SnapShooter ...

Step 5 - Go back to your web browser, you should see your added server on the following screen:

Attache AWS S3 to Snapshooter

Next, you will need to attack the external backup storage like AWS S3 to the SnapShooter.

Click here to attach the AWS S3 to SnapShooter. You should see the following screen:

Create a Backup Job to Schedule WordPress Backup to AWS S3

Next, you will need to create a backup job to automate WordPress backup to AWS S3. Follow the below steps to automate WordPress backup:

Step 1 - On the SnapShooter dashboard, click on the Backup Jobs in the left pane, you should see the following screen:

Step 2 - Click on the Create New Job. You should see the following screen:

Step 3 - Click on the WordPress. You should see the following screen:

Step 4 - Provide your backup job name and click on the Continue button. You should see the following screen:

Step 5 - Select your server from where you want to backup WordPress then click on the Next button. You should see the WordPress configuration screen:

Step 6 - Provide your WordPress root directory path and click on the Test button. You should see the following screen:

Step 7 - Click on the Save and Next button. You will be asked to select the external storage:

Step 8 - Select aws-wordpressdb as storage and click on the Set Storage button. You should see the backup schedule screen:

Step 9 - Define your backup schedule, and retention policy and click on the Set Schedule and Finish button. You should see the following screen:

Step 10 - Now, click on the Backup Now button to run your first backup. Once the backup job is executed successfully, you should see the following screen:

You can also verify your backup by accessing the AWS S3. You should see your WordPress site back up on the following screen:

Scheduled WordPress Backups SnapShooter

Backup a WordPress website, database (MySQL) and the file system

Learn more about WordPress Backups

Get started for free
No credit card required. Cancel anytime!

Was this page helpful?

Thank you for helping us improve!