Directory / plugin

Transit – Site Migration & Backup

v1.0.0 · by Mizanur Rahaman

Move or back up a whole WordPress site — database, media, plugins and themes — in one file. Handles sites of any size.

View on WordPress.org

About this plugin

Transit packs your complete WordPress site into a single .tsmig file and restores it on any other WordPress site: a new domain, a new host, or local live. URLs, server paths and the database table prefix are updated automatically while the database is imported — no separate search-and-replace step.

Built for large sites

  • No size limit from your host. Uploads are sent in chunks, so upload_max_filesize doesn’t matter. Big files — a 20 GB video — are copied across as many requests as needed.
  • Every request stays short. Export and import work in steps of about 20 seconds, well below PHP and proxy timeouts.
  • Flat memory use. Files are streamed straight to disk, and the database is read with index-based pagination, however many rows a table has.
  • Resumes after interruptions. Close the page, lose the connection or hit a server timeout: the export, the upload and the import continue where they stopped. Downloads can be resumed too.
  • Crash-safe. A request that dies mid-write is rolled back and redone. Database imports run in transactions, so an interruption never duplicates rows.
  • WP-CLI support for very large sites: wp transit-site-migration export and wp transit-site-migration import.

What a backup contains

  • The database — every table with your site’s prefix
  • Media library (wp-content/uploads)
  • Plugins, themes and must-use plugins

WordPress core, wp-config.php and transients (temporary cache data) are not included.

Import that just works

  • Site URL, https/http, www, JSON-escaped and URL-encoded URLs, email domains and server paths are replaced.
  • Serialized data (widgets, theme and plugin settings) stays valid.
  • A different table prefix on the new site is handled.
  • After import, plugins that were active stay active. Caching and host-specific plugins are deactivated with a clear note, and caches (including Elementor CSS and block-theme styles) are cleared.
  • Server checks run before an import: PHP version, memory, disk space, folder and database permissions.

Backups page

Every backup is listed with its source site, date and size. Download it, import it again with one click (no re-upload), or delete it. The newest 5 backups are kept automatically.

Privacy

Transit does not connect to any external service and sends no data anywhere. Backups stay on your server in wp-content/transit-site-migration-backups/, which is protected against direct web access.

Plugin tags