What to back up
Drama's database and index cannot replace the original videos. Before an upgrade, storage move, or uninstall, save a complete readable copy.
Four kinds of data
| Data | Owner | Recommendation |
|---|---|---|
| Videos, NFO files, and local posters | Your NAS or disk | Use a separate media backup plan. The app does not back up originals |
| Accounts, favorites, history, playback settings, and library configuration | Application data directory | Stop the app and back up the complete directory |
| Licensing and deployment settings | Application data and the deployment platform's controlled settings | Keep a verified protected backup. Never share it publicly |
| Transcoding and browser cache | Temporary application and browser storage | Regenerable, not original video or a complete offline copy |
Backup steps
- Record the current version, libraries, and deployment method.
- Stop the fnOS application or Docker container cleanly.
- Copy the complete application data directory and keep its permissions.
- Back up videos, NFO files, and local posters separately.
- Store the backup on another device and restrict access.
A running database may use companion files. Copy after stopping the service to avoid an inconsistent set.
Docker and fnOS
For Docker upgrades, keep the original Compose settings, data volumes, and media mounts. For fnOS upgrades, use the data location shown in the application details. Do not guess a directory from an example or let two instances write the same data.
Check a recovery
Restore the complete data with a compatible version. After startup, check that:
- the original administrator and regular users can sign in;
- library counts, seasons, and episodes are correct;
- favorites, positions, and playback continue;
- license status is correct.
A copy operation finishing does not prove that a backup works. Rehearse a restore in isolation at least once.
Before sharing logs or screenshots, hide passwords, NAS addresses, tokens, order credentials, and private paths. Never send a backup to a public chat or repository.