How to connect MEGA to UpdraftPlus
UpdraftPlus allows WordPress users to back up their sites to various remote storage options, including S3-compatible services like MEGA’s S4. This guide walks you through setting up MEGA’s S4 as your backup destination in UpdraftPlus.
Before getting started, ensure you have the following:
- An active MEGA S4 storage account
- Access credentials:
- Access Key
- Secret Key
- S3 End-point URL
- Bucket Name
Create Access Credentials in MEGA
- Log into your MEGA account
- Go to Object storage
- Create a new bucket and give it a name
- Under Object storage select Keys
- Create a new key and give it a name
Log in to WordPress & Open UpdraftPlus Settings
Navigate to:
UpdraftPlus→ Settings tab.
Choose S3-Compatible Storage in UpdraftPlus
- Scroll to Choose your remote storage.
- Check the box for S3-Compatible (Generic).
- Enter your MEGA S4 credentials:
- S3 access key: Your MEGA S4 Access Key (Object storage → Keys)
- S3 secret key: Your MEGA S4 Secret Access Key (Object storage → Keys)
- S3 location: Name of your bucket
- S3 end-point: The end-point from your bucket settings (use prefix
s3, e.g.,s3.eu-central-1.s4.mega.io) (Object storage → Settings → Endpoints)
- Test the connection.
- Save your settings.
Run a Test Backup
- Go to the Backup/Restore tab.
- Click Backup Now.
- After backup, confirm files are uploaded to your MEGA S4 bucket.