Determining a video's bucket location when using object storage

I have two object storage buckets in use (with the same object storage provider). I would like to consolidate them into one bucket.

Problem: I can’t tell which bucket a video is stored in, using the web interface at least.

Question: Would a script with a SQL query be the answer?

There is a CLI tool to migrage object storage:

1 « J'aime »

Use this script after you migrated to another object storage provider

Is this right for my case? I need to move videos from one bucket to another, and I need to know which ones to move.

Sorry, i don’t know. I never used object storage with Peertube.
You will have to wait someone more experienced on that.

1 « J'aime »

(i guessed it would work, as there are --from and --to parameters)

1 « J'aime »