#paperless #selfhosting #backup
Connect to the container terminal
docker exec -it paperless /bin/bashCreate a folder for the export
mkdir data/exportRun the built-in document exporter
run document_exporter ./data/exportAnd then exit the terminal
exitCreate a local folder for the exported data
mkdir ./exportCopy the exported data from the Paperless-ngx volume to the local export folder
docker run --rm -v ./export:/export -v paperless-data:/data alpine cp -R /data/export /export Do the reverse to copy data to the new Paperless-ngx volume
Use the built-in document_importer to import the files to the new instance.