Need Help with Exporting and Importing Data in Paperless

Hello everyone,

I have recently started using umbrelOS and was delighted to find out that Paperless is now available there. I have been using Paperless on a Raspberry Pi for a long time and always create a backup using the export function. I now have two questions:

  1. How can I use the export function for Paperless in umbrelOS?
  2. How can I import my old Paperless data?

I am grateful for any tips and help. Thank you!

Hey @CaptainDigital,

Welcome to the Umbrel Community! :people_hugging: I recommend you check out the Paperless documentation for guidance on how to use it and get the most out of it.

As for your two questions:

  1. Document exporting: Administration/Exporter - Paperless-ngx
  2. Document importing: Administration/Importer - Paperless-ngx

You can execute commands inside the Paperless-ngx app on umbrelOS by going to “Settings” → “Advanced settings” → “Terminal” → Choose “App” and select “Paperless-ngx”. This will launch the terminal session in the same environment as the app where you should be able to perform the commands to export/import your documents.

Hey @473x31
Thank you very much for your answer. I have tried it, but unfortunately it doesn’t seem to work.

root@ecb720a24efb:/data# docker-compose exec webserver document_exporter ../export
bash: docker-compose: command not found
root@ecb720a24efb:/data# exec webserver document_exporter ../export
bash: exec: webserver: not found

root@ecb720a24efb:/data# document_exporter
bash: document_exporter: command not found
root@ecb720a24efb:/data#

Hey @CaptainDigital

Thanks for being patient. I’ve had a closer look and it turns out when using the app terminal, umbrelOS is opening up the wrong container (it’s trying to launch the Redis container shell instead of Paperless).

If you follow the steps below you should be able to execute the document_ commands:

  • Launch the umbrelOS terminal. (go to “Settings” → “Advanced settings” → “Terminal” → Choose “umbrelOS”)
  • Run sudo docker exec -it paperless_webserver_1 /bin/bash
  • Then run cd /usr/local/bin

From this point, you should be able to run the commands.

Let me know if you need any further guidance. :slightly_smiling_face:

Thanks @473x31 for your help, now it works!

1 Like