Backup, Restore & Migration

Back up your database and files into one verified ZIP, restore safely, migrate to a new domain, upload large backups in chunks and schedule automatic backups with server cron.

Partly Pro Elephanta → Backup 3 min read Updated
On this page

Elephanta → Backup backs up the full database and every file and folder (plugins, themes, uploads, other wp-content folders and WordPress core) into one ZIP. Use it for backups, restores and moving a site to a new domain.

Create, download, rename, delete and restore backups.

#Create a backup

  1. Go to Elephanta → Backup.
  2. Pick a preset: Full site, Database only, Files only or Database + wp-content, or choose the parts yourself.
  3. Click Create backup. Jobs run a few seconds per request and keep going in the background even if you close the page.
  4. When it shows Verified, download it or keep it on the server.

Keep as many backups as you like, and rename, download, delete or restore any of them.

#Restore a backup

Click Restore next to a backup. Elephanta:

  1. verifies the whole archive's checksums and that the database dump is complete,
  2. imports into temporary tables and checks every table holds exactly the backed-up row count,
  3. restores files (written to a temporary name and renamed only after the checksum matches),
  4. only then swaps the tables in.
A failed restore leaves your site untouched

Because the swap happens last, a failed import never breaks your live site. A database snapshot is taken first by default. Elementor CSS is regenerated, and you stay logged in when your username exists in the backup.

#Migrate to a new domain or server

  1. On the old site, create a Full site backup and download it.
  2. On the new site, install WordPress and Elephanta.
  3. Open Backup → Upload & Migrate and upload the ZIP. Large files upload in chunks, so PHP's upload limit doesn't apply. You can also copy the ZIP into wp-content/elephanta-backups/ by FTP and it appears automatically.
  4. Click Restore.

During restore Elephanta rewrites the old domain, site URL and server path everywhere: http, https, protocol-relative, JSON-escaped and URL-encoded forms, with serialized data kept valid. A different table prefix is handled, and the new site keeps its own wp-config.php.

#Automatic backups (Pro)

Auto Backup & Settings schedules backups every 6 or 12 hours, daily, weekly (on a chosen day) or monthly (on a chosen date) at an exact time in your site's time zone.

  • A live preview shows the next five run dates.
  • Keep the latest N automatic backups.
  • Email on failure, or after every run.
  • An exclusion list for folders you don't need.
  • A status box with the next run, the last result, Check connection and Run automatic backup now, plus a history of the last 20 runs.

#Reliable schedules with server cron

WP-Cron only runs when someone visits your site. For exact timing, the tab gives you a secret cron URL and copy-paste steps for cPanel, Plesk, Linux crontab, Windows/XAMPP Task Scheduler and WP-CLI. Call the URL every 5 minutes; it starts a due backup and runs it to the end, and otherwise does nothing.

#Accuracy and speed

  • Every backup is read back and each file's CRC-32 is compared before it is listed as Verified.
  • The database dump ends with a marker and statement count, and row counts are stored per table.
  • Identical files are skipped during restore and timestamps are preserved.
  • Images, video, fonts and archives are stored without recompressing. Compression can be Fast (default), Smallest or None.

#Storage and security

Backups are stored in wp-content/elephanta-backups/, which is blocked from web access (.htaccess / web.config) and uses random file names.

Multisite

Restoring is not available on WordPress multisite.