How to migrate from Cloudinary to S3

Hi!

How does one trigger mirroring from Cloudinary to S3?

I have read the guide to change storage, but

attacher.file.trigger_mirror_upload returns nil no job is triggered.

Here is my config for the shrine.rb

Shrine.storages = {
  cache: Shrine::Storage::S3.new(prefix: "cache", public: true, **s3_options),
  store: Shrine::Storage::S3.new(public: true, prefix: "store", **s3_options),
  cloudinary_cache: Shrine::Storage::Cloudinary.new(prefix: "cache", resource_type: "video"), # for direct uploads
  cloudinary_store: Shrine::Storage::Cloudinary.new(store_data: true, resource_type: "video"),
  bb_video_cache:  Shrine::Storage::S3.new(public: true, **backblaze_cache_options),
  bb_video_store:  Shrine::Storage::S3.new(public: true, **backblaze_store_options)
}

Shrine.plugin :mirroring, mirror: { store: :bb_video_store }

Here is the migration.rb file

Video.find_each do |video|
    attacher = video.file_attacher
    next unless attacher.stored?
    attacher.file.trigger_mirror_upload
  end

what am I missing here?

nvm. figured it out, The mirror plug should be

Shrine.plugin :mirroring, mirror: { cloudinary_store: :bb_video_store }

then attacher.file.trigger_mirror_upload will run