paperless-ng docker compose setup
This is my docker-compose setup for paperless-ng. I purchased a fanless pc from Qotom and added a 128GB root disk and 4 terabyte disk. I mounted the 4 terabyte disk via /etc/fstab. More information on Mounting Partitions Using UUID and Label.
My original intent was to scan documents and organize the filenames and folders. This process can be cumbersome. Paperless-ng provided a compelling alternative solution. Consume the files, OCR the pdfs, and tag the documents.
This docker-compose setup will bring up paperless-ng, redis, postgresql, gotenberg, tika, and an ftpd server.
Scan documents locally and use Scan2FTP functionality with a Brother MultiFunction machine. Create a profile to scan documents and ftp them to consume directory on paperless-ng server.
Use the following command to backup:
sudo duplicity full --no-encryption /data/documents file:///tmp/pngbk
Use the following command to restore:
sudo duplicity --no-encryption file:///tmp/pngbk /data/documents
Cheapest solution is a home NAS and save backups there...
- Add duplicity for backups. Use a script to bring down service, backup, and reload service.
- Hard to come up with duplicity specification for deep glacier. Need to account for the 180 day minimum, volume sizes, manifest files... Maybe a 2 backups needed, a full backup to glacier every 6 months and local backups to a NAS? Any guides should reference volume sizes and strategies to minimize PUT requests. Should also reference strategies for cheap efficient restore operation.
- Encrypted backup with Duplicity
- The dup-composer dry run tryyout
- Cloud Backup with Duplicity
- To backup or not to backup
- Duplicity to S3 Glacier Guide
- Quick EC2 Backups with Duplicity
- Duplicity HowTo
- Drop ftpd server. Get a better document scanner with OpenSSH SFTP.
- NGINX reverse proxy?