How BigBlueButton recording retention decides what stays on disk
Retention on a BigBlueButton server is set by a few configuration values and scheduled cleanup jobs on that server, and the policy behind them belongs to the owner of the recordings, while the administrator applies it. A university or training provider usually meets this problem when recordings pile up under /var/bigbluebutton, the disk fills, and someone must decide what can be removed without breaking playback or a compliance rule. Three media states matter. Raw files are the captured media and events that the processing pipeline turns into a recording. Published files are the playback output that students and instructors open through a link or an LMS activity. Unrecorded meetings never produced a recording, but they can still leave raw media on disk until a cleanup job removes it. Each state follows its own clock, so removing one state can break another.
Set retention deliberately before the disk is full, and write the decision down before anyone edits a configuration file. Three answers are needed: how long published recordings must stay available (the published_days value controls this in the installed configuration), how long raw files are kept after processing so that a failed recording can still be rebuilt, and whether unrecorded meetings follow the two-week rule or a different period that the owner approves. Teams with a records schedule, a research data requirement or a fixed storage budget will reach different answers, and the owner should sign them off with compliance and the LMS team. Illustrative example: a training provider that must keep course recordings for a set term, but may delete rehearsal sessions sooner, records both rules in the policy before any cleanup job is changed.
Confirm these points in your installed version before you change anything. Check the default and unit of published_days, the cleanup jobs that use MAXAGE, their schedule and the folders they touch, how the two-week rule treats meetings where nobody pressed record, and whether the deleted folder is purged by the same job or needs a separate step. Then test on a non-production server: record a test meeting, age its files with old dates, run the cleanup, and confirm that playback still works in your LMS or Greenlight and that disk use falls as expected. Keep the test output with the signed policy, and review both when you upgrade BigBlueButton, because cleanup behavior can change between releases.
Recorded and unrecorded media follow separate paths to deletion
The diagram starts when a meeting ends and splits by whether it was recorded. A recorded meeting first holds raw files, then becomes published files once processing finishes. Those published files stay until the age set by published_days is reached, when the MAXAGE cleanup job moves them into the deleted folder, and a later purge removes them from disk. An unrecorded meeting follows a separate path, where the unrecorded-meeting rule decides when its remaining data is removed. Each arrow is a change of state, and the exact transitions and timing must be confirmed on the BigBlueButton version you have installed before you set any retention value.
Recorded and unrecorded meetings split at the end, then reach deletion separately.
Retention settings and what each one controls
This table compares the five retention controls that decide how long BigBlueButton keeps published recordings, unrecorded meeting data, raw files and deleted material. Read each row for what it removes and who should own the decision, then use the final column as a checklist before you change any value. Confirm every setting on your own servers, because file locations, units and default values depend on your installed version and on whether you run one server or a cluster.
| Control | What it removes | Owner and when to change it | What to confirm |
|---|---|---|---|
| published_days | Published recordings older than the number of days set. | Records or compliance owner sets the period, platform team applies it. Change it when your retention schedule differs from the default. | The file location, the unit (days), the default value, and whether it is set per server or per cluster. |
| MAXAGE cleanup jobs | Scheduled jobs that delete files older than a configured maximum age. | Platform operator owns the schedule, records owner sets the age. Change it when jobs conflict with legal holds or backup windows. | Which jobs exist in your version, where their age settings live, the unit, the default, and the per server or per cluster scope. |
| Two-week rule for unrecorded meetings | Media kept for meetings where recording was never started, once the rule's waiting period ends. | Platform operator owns it. Keep the default unless an audit or dispute needs earlier or later clearance. | The exact waiting period, where it is configured, the unit, and whether it applies on every server in a cluster. |
| Raw files | Raw capture files that recordings are built from. Removing them ends rebuilds and repairs. | Platform team with the records owner. Keep them until processing is verified and no rebuild is likely. | Where raw files sit on disk, whether published_days or a separate job removes them, and the scope of that job. |
| Deleted folder purge | Files moved into the deleted folder, removed permanently on the purge schedule. | Records owner decides whether deletions must be recoverable. Platform team schedules the purge and changes it for legal holds. | The deleted folder path, the purge trigger and schedule, and whether the purge runs on every server in a cluster. |
BigBlueButton recording retention policy by situation
On a single BigBlueButton server embedded in an LMS such as Moodle, the retention setting controls how long recordings stay on the one disk the server has. The LMS keeps links to those recordings inside course pages, so a short setting can leave links that open to nothing. Students and teachers usually expect a course's sessions to stay available for the whole term, so the value should match the course calendar and the disk you sized together.
- Playback links in past courses: recordings embedded in older course pages stop working once cleanup removes them. Confirm whether your LMS plugin version warns the teacher before this happens.
- Re-watching for feedback: a learner who missed a session or needs to review a lecture for an assignment needs the archive for the whole term, not a few days.
- Disk headroom: on one server, cleanup is what frees space for new recordings. Confirm the disk size and cleanup schedule against the installation requirements before you choose a value.
- What to document before go-live: the retention period per course type, the path a teacher uses to request an extension, and the cleanup schedule.
Before go-live, record a test session, let cleanup run past the chosen period, and check what the LMS link shows afterward.
When an institution must follow a written records-retention schedule, the BigBlueButton setting is only the technical end of a policy decision. The schedule assigns recordings to record classes, and each class sets a minimum period and a disposal action. The value in configuration must trace back to a decision by the records owner, so an auditor can follow the chain from policy to server.
- Map classes to meetings: teaching sessions, student support or accommodation sessions, and staff meetings may fall under different schedule lines, so one global value rarely fits all of them. Confirm the mapping with the records office.
- Legal holds: cleanup does not know about complaints, appeals or investigations. Define a hold process that stops deletion for affected recordings, and decide who can place a hold and how it is logged.
- Raw and published media: deleting raw files early removes the option to rebuild a recording later. Set the raw and published periods deliberately and document each one.
- Disposal evidence: record when cleanup ran, which class it covered and where the run logs are kept. Confirm which logs your version writes before you promise them to an auditor.
Ask the records owner to approve the class mapping and hold procedure before you change any retention value on a production server.
With Scalelite, a pool of BigBlueButton servers appears as one service, and recordings are kept on a shared NFS volume that the servers can reach. Retention then depends on which node runs cleanup, which path it targets, and whether the volume is mounted when the job runs. A setting that looks correct on one server can delete archives that another server or the playback path still expects.
- One cleanup authority: confirm which node runs the deletion job against the shared path. Several servers running the same job against one volume can race or delete each other's work.
- Missing mount: if the NFS mount is absent when a job runs, the job may see an empty directory. Confirm how your setup behaves in that case and make the job refuse to run without the mount.
- Retiring servers: removing a node from the pool before its unpublished or raw media is handled can strand recordings that never reached the shared volume.
- What to document: the mount path, NFS export options, the node that owns cleanup, the retention values for each pool and who approves a change. The Scalelite project repository is the first place to check the shared storage layout.
Rehearse the cleanup on a copy of the volume in a staging pool before you enable it in production.
Setting a BigBlueButton retention policy in six steps
This sequence turns a retention decision into settings that BigBlueButton enforces on disk. Each step ends with a check you can repeat, so the policy owner sees test evidence before any production recordings are removed. The result is a tested schedule for raw, published and unrecorded media, plus records that show it works.
Agree the retention schedule with the policy owner
Before anyone edits a configuration file, the policy owner and the operator agree how long raw, published and unrecorded media stay on disk. Write one row per media type with its retention period, the event that starts the clock, who approves exceptions and who can request early deletion. Confirm that the two-week rule for unrecorded meetings appears in the schedule so nobody assumes it works differently. Done when the signed table exists and every row has a value and an owner.
Confirm the BigBlueButton version on a test server
Install a test server running BigBlueButton 4.0 on Ubuntu 24.04 64-bit, following the install docs. Direct upgrades from 2.6, 2.7 or 3.0 are not supported, so if your current server runs one of those versions, plan a clean installation and do not test retention on the old server. Record the installed version and locate the configuration files that hold published_days and the cleanup settings on that build. Done when the version and config paths are written in the evidence log.
Set published_days and check the cleanup schedule
Set
published_daysto the value agreed in the first step. Then confirm which keys control raw and unrecorded media on your build, and set them to the agreed values. Read the cleanup schedule that usesMAXAGEand note when it runs, which media it targets and whether it is enabled on the test server. The check passes when a read-back of each key matches the schedule table and the cleanup timing is written down.Run test meetings and confirm removal dates
Run one recorded and one unrecorded test meeting, each with a known start time and a name you can find on disk. Let each recording finish processing so the media exists, then note the date each item was created. Compare the date the cleanup job removes each item against the period in the schedule, and log any mismatch as a defect to fix before go-live. Done when every test item has a creation date, a predicted removal date and an observed removal date that match.
Back up before the first deleted folder purge
Purging the deleted folder removes media for good, so a backup must exist before the first purge runs. Take a full backup of the recording directories and the deleted folder, then restore one test item from that backup to a scratch location to confirm it opens. Keep the backup for the period your policy owner agreed, since it holds media that the schedule was meant to remove. Done when the restore test succeeds and the backup location is logged.
Document the evidence for the policy owner
Collect the agreed schedule, the version and configuration record, the test meeting log, the removal date comparison and the backup restore result into one folder. Keep the cleanup configuration under version control or in your change records so later edits can be traced to an approver. Hand the package to the policy owner and record their sign-off. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies decide whether those controls meet a standard.
What purging the deleted folder removes and what it cannot undo
Removal happens in stages, so media may still be on disk after a setting has expired. The retention value, such as published_days, sets how long published recordings stay on disk, but the cleanup jobs then act in separate steps, and the timing of each step depends on your version and configuration. Do not assume the files are gone the moment the setting passes. The purge of the deleted folder is the point of no return on the server: once it runs, the server holds no copy of those files to restore from. Before you set a schedule, run a test meeting through the full lifecycle in your own environment and record when the recording disappears from playback, from the published directory and from the deleted folder.
Confirm where removed items go before the first purge. Ask the operator to trace one test recording through each stage and note its path on the server after each cleanup run, using a directory listing and a disk usage check. Confirm what moves an item into the deleted folder, whether that folder sits on the same volume as /var/bigbluebutton, and who has write access to it. Then test the purge on a copy of the recording data restored to a separate host, never on the production server. On that copy, check that only the items you expected leave the deleted folder and that playback in Greenlight or your LMS responds the way your retention policy requires. Keep the written result, because it is the record you will rely on if a retention request is questioned later.
Decide whether a second copy exists before you purge. Backups, snapshots and copies held by the LMS can keep a recording after the BigBlueButton server has removed it, so ask who holds each copy and how long it is kept. If you run Scalelite, recordings sit on an NFS shared volume used by the pool, so confirm whether a purge on one node removes files from that shared volume or only from the local node. Rebuilding a deleted recording depends on whether its raw files still exist. If those raw files were purged, a rebuild cannot recreate the playback, and the sibling topic on rebuilding and repairing failed recordings explains the recovery cases in general terms. Plan the purge window around these copies, and name an owner for each one.
Security and operational risks in automatic deletion
Automatic deletion removes media on a schedule, so a mistake in the schedule, the job that runs it, or the copies kept outside it is hard to reverse. The four risks below share one cause: nobody owns the outcome end to end. Assign each check an owner before the first deletion run.
Recordings deleted while still needed
Retention set once for every room can remove a recording before the course, project or review that needs it has ended. The symptom is a playback link that returns nothing when someone asks for it in the LMS or Greenlight. Before each deletion window, compare the published_days value with the teaching calendar, and have the department owner approve each exception in writing.
Unrecorded meetings removed unnoticed
Media from a session where nobody pressed record is handled on its own clock, so it can be removed before anyone realizes the meeting mattered. The symptom is an instructor later expecting a file that was never produced or was already cleaned up. Before each cleanup run, list meetings that ended without a published recording and send the list to the room owner to confirm nothing must be kept. The LMS or Greenlight administrator owns that confirmation, together with the instructor.
Cleanup job fails silently
The deletion job runs as a scheduled task, and a failed run often shows no error to users, so the first sign may be a full disk. The symptom is free space on the recordings volume falling while new recordings stop processing. Confirm in the job's log that the last run finished cleanly, and set an alert on free space for the volume that holds /var/bigbluebutton. The server operator on call owns the alert, and the platform lead owns any fix.
Deleted media persists in backups
Deleting files from the live server does not remove copies held in backups, snapshots or logs, so media can outlive its schedule. The symptom is a restored backup returning recordings past their retention date, or logs that still name meetings whose media is gone. Check whether backups include the recordings path and the deleted folder, how long each backup set is kept, and what the logs record about meeting content. The backup administrator owns the backup schedule, and the data protection lead signs off the retention period for copies.
Questions buyers ask before setting retention
What does a BigBlueButton recording retention project cost?
The quote follows a written scope, and the main cost drivers are how many servers are involved, how complex the retention policy is, and how much testing and documentation you need. DeployOpen is paid for planning the schedule, writing and installing the cleanup configuration, testing it on a test server, and documenting how it works. Your team is responsible for approving the retention schedule, providing access and staff time for change windows. Setup is one-time work, while ongoing reviews after upgrades or policy changes recur if you choose a retainer. Ask each quote for line items covering servers, policy rules, test cycles, documentation, and any retainer terms, so you can compare options.
How long does a BigBlueButton retention project take?
Duration depends on the number of servers, how many retention rules you need, how often change windows occur, and how long your sign-off on the schedule takes. The written scope sets the timeline, so ask for it to show the phases: agreeing the schedule, a test run on a test server, a production change window, and handover of documentation. Common delays come from waiting on approvals, missing root access, or finding that legacy recordings need a separate rule. Confirm any target date with the written scope before work starts, and ask what happens if a test run fails.
What does our team need to provide for retention work?
Retention work needs a signed retention schedule, root access to the servers, a test server that resembles production, and a change control process for the production run. Each item has a reason. The schedule defines how long raw, published and unrecorded media stay on disk, so deletion never runs on a guess. Root access lets the work edit configuration and cleanup jobs. A test server lets you confirm that a job deletes what it should and nothing more before it touches live recordings. Change control gives you a dated record of what changed and a way to roll back. Confirm with your own change board which approvals apply before the schedule is signed.
Can our own team set up BigBlueButton retention alone?
Yes, if you have a Linux administrator who can work in the servers, a test server, and time to run changes in a window. Retention touches several things at once: the published_days setting, scheduled MAXAGE cleanup jobs, the two-week rule for unrecorded meetings and the deleted folder. A mistake can remove recordings that teachers still need, and deleted files are usually gone from the server for good. Teams that do it alone usually document the schedule first, then test each job on a copy of production data before enabling it. If your team lacks that time or confidence, a fixed-scope engagement lets you hand over the work with written documentation. Decide after a self-review of your skills.
Does deleting server recordings satisfy a data erasure request?
Usually not on its own: confirm with counsel before you rely on server cleanup for an erasure request. Deleting files from the BigBlueButton server removes raw and published media there, but the same meeting data can sit elsewhere. Common copies include LMS or front-end records, backups, logs, and copies that instructors downloaded. Make a data map that lists each location, its retention period and who can delete from it. Your counsel decides what counts as erasure under your obligations, and the answer may differ by jurisdiction and by the request. Document the steps you took so you can show them later.
Does DeployOpen issue compliance certificates for retention settings?
No. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors and certification bodies do. DeployOpen can prepare the retention settings, written procedures, deletion records and other evidence your compliance team or auditor will ask to see, so the controls are visible and testable. Name the framework and the auditor in the scope so the evidence list matches what they will test. Ask your auditor early which evidence they expect for retention and deletion, since requirements vary by framework and by the rules you operate under. Treat the deliverables as inputs to that review and to the auditor's own testing.
How does retention change the BigBlueButton disk size?
Retention sets how much disk you need over time, so size the volume from your recording volume and retention window. The install docs list 500 GB of disk for recordings on a 4.0 server, against 50 GB without recording, but that figure does not reflect how many meetings you hold each week or how long published recordings stay. Estimate daily recording volume from a sample of meetings, then multiply it by the period you keep published media and add the raw media you keep before processing. Leave headroom for processing, because raw files can fill the disk before a cleanup job runs. Revisit the sizing whenever the retention schedule changes.
What should engineers test before turning on automatic deletion?
Test each cleanup job on a test server with copies of meeting data before turning on automatic deletion. Check every published_days value against the schedule you signed, and confirm the MAXAGE cleanup jobs run at the times you expect. Confirm that the two-week rule for unrecorded meetings removes only what the schedule covers. Verify the deleted folder purge with a file you placed there yourself. Keep a log of each run, and confirm the exact file and key names against the docs for your BigBlueButton version before you edit anything. Record the result of each test in the change ticket so the rollout has evidence.
Limits to confirm in your environment
Retention settings are only as reliable as the version, schedule and storage layout they run on. The checks below cover what to confirm on your own servers before you tell a compliance team that recordings are gone. Ask the vendor or test each item on a non-production server with dated sample recordings, and record the answers in your retention procedure.
Exact published_days file, keys and units
The published_days setting controls how long published recordings stay on disk, but the file that holds it, its key path and its unit of time can differ between installed versions. Open the configuration on your own server, confirm the exact key and whether the value counts days, and check that a change takes effect after the next cleanup run. Do not rely on a value copied from documentation alone. Record the file path and the tested value with your retention procedure so the setting is checked again after each upgrade.
Schedule and scripts behind MAXAGE
Automatic deletion depends on MAXAGE cleanup jobs, so you need to know which scripts run them, how often they are scheduled and which system user runs them. Check the cron or systemd entries on each server and read the scripts to see which folders they touch, including raw, published and unrecorded media. Confirm the time of the next run after a change. A job scheduled on one host but missing on another leaves old media in place, so list every server that stores recordings and verify the job on each one.
Window of the two-week rule
Unrecorded meetings fall under a separate two-week rule, and the exact window matters if a teacher or auditor asks why a session disappeared. Confirm which date the count starts from, whether the window is set in a file you can edit, and whether the vendor treats it as fixed for your version. Get that answer in writing. If the window is fixed, build your retention notice around that value and do not assume a shorter window can be applied.
Cleanup on Scalelite NFS nodes
A Scalelite cluster keeps recordings on an NFS shared volume, so several servers may see the same files. Confirm whether the cleanup job runs once for the shared path or on every node that mounts it. If it runs on every node, jobs can compete for the same deletions, and a mount that fails on one node can change what that node removes. Test with a dated sample recording: delete it through the normal path, then check each node and the shared volume. Start with the Scalelite repository for the cluster layout.
Legal holds and LMS copies
Deleting files on the BigBlueButton server may leave copies held by a learning management system or another system untouched. Before you rely on automatic deletion, list which LMS pages, embedded players and downloaded files point to each recording. Confirm whether a legal hold can pause server cleanup for named courses or meetings, or whether holds must be handled outside BigBlueButton. Record who approves a hold, how long it lasts and how it is released, then test that a held recording survives a cleanup run.
Version differences between 3.0 and 4.0
Retention keys, cleanup scripts and the two-week rule can behave differently between the 3.0 branch and 4.0. The 3.0 branch still receives maintenance releases, including 3.0.39, so a server on that branch can differ from a new 4.0 install. Upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported directly, so a clean install needs its retention settings tested from the beginning. Do not carry settings over from a 3.0 server without checking them on 4.0.
- 4.0.0 release date
- October 14, 2026
How DeployOpen scopes and delivers retention work
DeployOpen plans, implements, documents and supports self-hosted BigBlueButton inside your own infrastructure, including the retention settings that decide how long raw, published and unrecorded media stay on disk. Retention work touches recording formats, cleanup jobs and backups, so we start by confirming what your organization must keep and for how long. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope names which media types are covered: raw, published and unrecorded meeting files.
- Retention periods for each media type are recorded as decisions, with the owner who signed off on them.
- Ongoing support is offered as a retainer and priced from the written scope, separate from the build.
How we build
- Retention settings are changed in configuration, then tested on a staging server before production.
- Cleanup jobs for published and unrecorded meetings are scheduled and checked against the two-week rule.
- Purging of the deleted folder is built as a separate, logged step so removals can be audited.
How we hand over
- Handover includes a written retention schedule that lists each media type, its period and its cleanup job.
- Runbooks cover how to confirm a deletion ran, how to restore from backup and who approves changes.
- Your compliance and security teams receive configuration evidence they can review, though auditors make the final assessment.
How we support
- Ongoing retainers can cover upgrades, monitoring of cleanup jobs and changes to retention periods.
- Version changes are planned around a clean install, since direct upgrades from 2.6, 2.7 or 3.0 are not supported.
- Requests outside the written scope are quoted separately before any work starts.

