Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Import From Other Plugins
On this page

Import From Other Plugins

Import attachment metadata from WP Offload Media, WP-Stateless and other offload plugins without re-uploading files.

2 min read·3 tags

If your media was already offloaded by another plugin, Media Cloud can import that plugin’s attachment metadata instead of uploading the files again. This is useful when switching from WP Offload Media, WP-Stateless, or a similar offload plugin.

Before you start

  • Back up your database.
  • Configure Media Cloud’s cloud storage and confirm the bucket is the same one the other plugin used.
  • Do not run both offload plugins against the same uploads at the same time.

Run the import

The import is a WP-CLI task:

wp mediacloud:storage migrate-other-plugin

The task reads each attachment’s existing offload metadata and converts it to Media Cloud’s format.

Automatic imports

By default, Media Cloud also tries to import metadata from other offload plugins when it encounters an attachment. If you do not want that behavior, enable Skip Importing From Other Plugins under Cloud Storage → Upload Handling.

Disabling automatic imports does not prevent the explicit CLI task from running.

After the import

  1. Run Media Cloud → Tools → Verify Library to confirm the files exist in the bucket.
  2. Open a few attachments and confirm their URLs point to the correct storage host.
  3. Run Media Cloud → Tools → Fix Cloud Metadata if any attachments are missing their cloud metadata.
  4. Remove the old offload plugin.

Notes

  • The other plugin’s files must still exist in the bucket. Media Cloud does not re-upload files during this import.
  • If the old plugin used a different bucket or URL structure, update the metadata with the Library Maintenance tools before removing the old plugin.
  • Back up the database before and after the import.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →