Paperless-ngx backup and restore checklist
How to back up and restore Paperless-ngx, as a printable checklist: what the document exporter backs up, how to restore with the document importer (or from Docker volumes), the version and passphrase gotchas, and how to check it worked.
Written for Paperless-ngx v3.4.2, checked against the official docs on 2026-11-10. Always restore the same version you backed up.
Open this in Lab Lifeboat Quarterly restore-drill reminder (.ics)
Lab Lifeboat fills in your own paths, hosts and backup locations, adds your other apps in restore order, and works offline. Free, no account, nothing leaves your browser. Example paths below (under /opt and /mnt) are placeholders: use yours. Print this page with your browser’s Print command.
What to back up
- The export folder from document_exporter (/opt/paperless/export): documents, thumbnails, manifest.json and the database contents. Make the export when Paperless is not consuming documents.
- The export passphrase if you used --passphrase. Without it the export cannot be imported. Kept at: your password manager or a printed sheet kept away from the server.
- Your docker-compose.yml and env files for the same Paperless-ngx version (v3.4.2). The docs warn an export from one version may not import into another.
- Alternative: copies of the Docker volumes (paperless_media, paperless_data, paperless_pgdata) if you back those up instead of using the exporter.
Restore with the document importer
- Install the same Paperless-ngx version on the new host with a completely empty database and empty data and media folders.
- Copy the export into the export folder of /opt/paperless.
cd /opt/paperless docker compose up -d docker compose exec webserver document_importer ../export - If the export was encrypted, add --passphrase to the importer command.
- If you backed up volumes instead, restore paperless_media, paperless_data and the database volume, then start the stack.
Gotchas
- Import into the same Paperless-ngx version that made the export. The docs warn an export from one version may not import into another.
- The importer needs a completely empty database and empty data and media folders.
- If you exported with
--passphrase, you need that passphrase to import. - API tokens are not in the export. Create them again for apps and scanners.
- Make the export while Paperless is not consuming documents.
Check the restore worked
- Open http://<HOST>:8000, log in and search for a few documents; open some originals.
- API tokens are not in the export: create them again for apps and scanners that use them.
docker compose exec webserver document_sanity_checker - Write down today's date as the last restore test.
Where Paperless-ngx fits in a full homelab restore
Restore the hypervisor first, then the password manager (it holds the other secrets), then the reverse proxy, then the apps:
- Proxmox VE
- Vaultwarden
- Caddy
- Home Assistant
- Nextcloud AIO
- Immich
- Paperless-ngx (this page)
- Jellyfin
FAQ
How do I restore Paperless-ngx from a backup?
Install the same Paperless-ngx version with an empty database, copy the export into the export folder, start the stack and run document_importer on it (add --passphrase if the export was encrypted).
What does the Paperless-ngx document exporter back up?
Your documents, thumbnails, a manifest.json and the database contents, in a folder you can copy offsite.
Can I back up the Docker volumes instead?
Yes. Restore the media, data and database volumes and start the stack. The exporter is the route the docs describe for moving between installs.
Related guides
Sources
- Paperless-ngx docs: Document exporter (checked 2026-11-10)
- Paperless-ngx docs: Document importer (checked 2026-11-10)
Part of Lab Lifeboat, the free offline homelab disaster recovery planner from HomelabWise. How we research

