Moving to Another S3 Bucket
Instructions for moving MikoPBX call recordings from one S3 bucket to another
This guide describes how to move call recordings from one S3 bucket to another, for example when switching cloud storage providers. Recordings are moved without stopping the station: MikoPBX keeps uploading new files, and the call history keeps access to old recordings.
Migration steps
Copy the
recordings/directory from the old bucket to the new one. You can do this with rclone:
rclone sync old:bucket/recordings new:bucket/recordingsIf the old and new buckets are hosted by different providers, you can also use aws s3 sync and copy the data through a local machine.
In "Maintenance" -> "Storage", on the "S3 Cloud Storage" tab, enter the new bucket settings and click "Save".

Run the copy command from step 1 again. It copies the recordings that the station uploaded to the old bucket between the first copy and the settings switch.
Compare the number of objects in the old and new buckets. Then open the call history and check that a few old recordings play back.
Delete the old bucket.
Last updated
Was this helpful?

