paperless-ngx-backup
by task.media
Backup paperless-ngx via K8s cronjob to FTP
About this chart
Helm chart: paperless-ngx backup
Kubernetes Helm chart to create a cronjob to backup the paperless-ngx instance to a remote FTP server.
The script will use the document exporter to create a backup of your paperless-ngx instance. If you want the backup also can be gpg encrypted prior to upload the zipped backup to the FTP server.
Configuration
The configuration of the backup cronjob will be set in the values.yaml-file.
Everything is pretty straight forward and should be self-explanatory.
If you think more information should be provided or need help, feel free to open an issue.
Installation
To deploy the Helm chart first copy the values.yaml-file and customize your deployment.
After it was modified you can deploy the chart with the following command.
$ helm repo add taskmedia https://helm.task.media
$ helm repo update
$ helm show values taskmedia/paperlessngx-backup > ./my-values.yaml
$ vi ./my-values.yaml
$ helm upgrade --install paperlessngx-backup taskmedia/paperlessngx-backup --values ./my-values.yaml
You can also use OCI Helm charts from ghcr.io:
$ helm upgrade --install paperlessngx-backup oci://ghcr.io/taskmedia/paperlessngx-backup
Deploy paperless-ngx-backup with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has paperless-ngx-backup on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpaperless-ngx-backup is pinned at v1.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply