---
url: /razorpay-acellemail/backup-and-restore.md
description: >-
  There is no built-in backup for the Razorpay for AcelleMail plugin — use
  standard AcelleMail database backups, and roll back by re-uploading the
  previous ZIP.
---

# Backup and restore

The Razorpay plugin requires no dedicated backup system. All configuration (API Key ID, API Key Secret, license key, and Webhook Secret) and transaction records reside directly in **AcelleMail's database**.

## What to back up

* **AcelleMail database:** Stores plugin settings, remote plan mappings, and payment transaction logs.
* **Razorpay credentials:** Maintain a secure record of your Key ID, Key Secret, and Webhook Secret to accelerate disaster recovery.

::: tip Back up before big changes
Take a fresh database backup before you update the plugin, change PHP versions, or migrate servers.
It's the fastest way to return to a known-good state.
:::

The plugin utilizes native AcelleMail payment tables without creating custom database schemas, making standard database backups fully comprehensive.

## Rolling back

If a newly deployed version requires rollback:

1. **Download previous build:** Retrieve the earlier `relyweb-razorpay-vX.Y.Z.zip` release from your relyweb.co client area.
2. **Upload archive:** Navigate to **Admin → Plugins → Upload Plugin** and upload the previous ZIP over the current installation.
3. **Restore database (if required):** If data alterations occurred under the newer version, restore the database backup taken prior to upgrading.
4. **Verify status:** Open **Admin → Plugins → Razorpay → Settings**, verify the license badge displays **Active**, and execute a test transaction.

## Related pages

* [Updating](/razorpay-acellemail/updating)
* [Installation](/razorpay-acellemail/installation)
* [Uninstalling](/razorpay-acellemail/uninstalling)
* [Troubleshooting](/razorpay-acellemail/troubleshooting)
