Move/copy recordings to another BBB Server

314 views
Skip to first unread message

Jean Pluzo

unread,
Aug 18, 2022, 8:47:14 AM8/18/22
to BigBlueButton-Setup
Hello everyone,

currently I'm trying to move/copy some recordings from BBBa to BBBb.
Per the docs (https://docs.bigbluebutton.org/admin/customize.html#transfer-published-recordings-from-another-server) I tried to follow the instructions. However, the raw and unpublished files have been deleted by the cron job. I currently only have the published files.
I've moved/copied many recordings from BBB servers to Scalelite. The latter has a /var/bigbluebutton/spool directory which is polled every 60 seconds for new recordings. This helps a lot.
Unfortunately this is not the case with a BBB server.
Do I have to change a database somewhere (mongodb is running)?
Do I have to tell the rap services somehow, that there's a new recording?
Is  there a specific script to import recordings (haven't found any)?
Does anybody have some more experience with this?
Any comments would be greatly appreciated.
Thanks in advance!

Regards,
J.

Pablo - BBBPlugin.com

unread,
Aug 18, 2022, 10:48:59 AM8/18/22
to BigBlueButton-Setup
Hello

You may try this:
bbb-conf --setip <IP/hostname>

This will scan the published recordings folder and adjust the xml metadata file of each recording acordingly

FYI, as far as i know there is no database. It simply search for xml files that match the BBB hostname. So, when you move from a server with a different "hostname", the recordings are ignored until  you update the associated hostname for each one.

Jean Pluzo

unread,
Aug 23, 2022, 4:17:58 AM8/23/22
to BigBlueButton-Setup
Hola Pablo,

thanks. I tried the --setip option many times and modified the metadata.xml files by hand to match the hostname, but it did not help.
It's good to know there's no database where info on the recordings is kept. This will simplify things.
I'll keep looking.
Gracias por tu tiempo!

Regards,

J.

Pablo - BBBPlugin.com

unread,
Aug 23, 2022, 6:26:04 PM8/23/22
to BigBlueButton-Setup
Hello,
how did you came to the conclusion that recordings are not working?
did you try a recording link?
you could easily guess one by looking to the id (foler name)

if you already tried that, what is the response from the server?

Btw, do not forget to adjust ownership (bigbluebutton:bigbluebutton)

Saludos! :)

Jean Pluzo

unread,
Aug 24, 2022, 4:06:05 AM8/24/22
to BigBlueButton-Setup
Hola Pablo,

bbb-record --watch does not show the copied recordings. bbb-record --list is the same result.
After reading your last post I tried a recording link and it worked! I'm guessing, since the copied recording is from last year, the bbb-record --watch command does not show old recordings. But the copied recording is there. This means, the copying worked!
Ownership is correct.
Gracias nuevamente por los consejos!

Regards,

J.

anthon...@gmail.com

unread,
Mar 31, 2023, 5:20:18 PM3/31/23
to BigBlueButton-Setup
Hi Pablo,
We have tried all of these things, and while we can watch the recordings if we go to a specific recording link in our browser, none of the recordings show up in Greenlight > Recordings. In other words, we cannot access them normally through the UI.
We copied them from a BBB 2.47 server to a 2.6 server. We ran the --setip and chown commands, and we saw that it adjusted the metadata.xml properly... yet we still do not see them in the UI. Here is an example metadata:

<?xml version="1.0"?>

<recording>

  <id>3c922dbdf1ee8ffacaeed4a544512c416bd2e65f-1661001733887</id>

  <state>published</state>

  <published>true</published>

  <start_time>1661001733887</start_time>

  <end_time>1661014685901</end_time>

  <participants>62</participants>

  <meeting id="3c922dbdf1ee8ffacaeed4a544512c416bd2e65f-1661001733887" externalId="lukdkwshbxter4zeakg92blyycgwecbsusjk4avz" name="EXAMPLE NAME" breakout="false"/>

  <meta>

    <bbb-origin>Greenlight</bbb-origin>

    <bbb-origin-server-name>oldserver.myurl.com</bbb-origin-server-name>

    <bbb-origin-version>release-2.8.4</bbb-origin-version>

    <gl-listed>false</gl-listed>

    <isBreakout>false</isBreakout>

    <meetingId>lukdkwshbxter4zeakg92blyycgwecbsusjk4avz</meetingId>

    <meetingName>EXAMPLE NAME</meetingName>

  </meta>

  <playback>

    <format>presentation</format>

    <link>https://newserver.myurl.com/playback/presentation/2.3/3c922dbdf1ee8ffacaeed4a544512c416bd2e65f-1661001733887</link>

    <processing_time>1785469</processing_time>

    <duration>9532476</duration>

    <extensions>

      <preview>

        <images>

        </images>

      </preview>

    </extensions>

    <size>367970742</size>

  </playback>

  <raw_size>463178216</raw_size>

</recording>


if we hit <link> directly in the browser, it works.

sd...@distancelearning.cloud

unread,
Apr 1, 2023, 7:08:39 AM4/1/23
to bigbluebu...@googlegroups.com

Make sure the permissions of /var/bigbluebutton/published and unpublished are set correctly (bigbluebutton:bigbluebutton) its possible the copied files are not set, and getRecordings will not have access to the metadata.xml. of those copied recordings.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/355181aa-d184-448f-afc5-e2eb8599e024n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages