homelab/roles/miniflux/files/miniflux.backup.sh

6 lines
199 B
Bash
Raw Normal View History

2024-01-12 16:30:15 +01:00
cd /etc/miniflux
/usr/bin/docker compose exec -T db pg_dump -U miniflux miniflux |
/usr/bin/gzip --rsyncable |
/usr/local/bin/restic backup --stdin --stdin-filename miniflux-postgres.sql.gz