For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. 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/recordings

If 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.

  1. In "Maintenance" -> "Storage", on the "S3 Cloud Storage" tab, enter the new bucket settings and click "Save".

  1. 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.

MikoPBX uploads recordings to S3 every 5 minutes, so new files may reach the old bucket while you switch the settings.

  1. 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.

  2. Delete the old bucket.

Last updated

Was this helpful?