# Config file for Borg-backup script for backup from STDIN
# /etc/ntools/borg/
# 
# Backup name for prefix in repository
NAME=pgsql

# User and hostname for remote backup
HOST="borg-$NAME@backup.hostname"

# Path to repository
REPOPATH="~/data"

# Command which output should be backed up
STDINPROG='nice -n 19 /usr/bin/pg_dumpall -U postgres'

# Name of file in archive. Asterisk (*) character will be replaced by the date
STDINNAME="$NAME-*.sql"

# Compression ("borg help compression" command for details.)
# none | lz4 | zstd[,1-22] | zlib[,0-9] | lzma[,0-9] | auto,C[,L]
#COMPRESSION=auto,lzma

# Show all messages
#VERBOSE=0

# File with password for backup
#PASSFN=""

# Prune parameters
PRUNEPARAMS='--keep-daily 90 --keep-weekly 60'

# Zabbix agent config
ZABBIXCONF='/etc/zabbix/zabbix_agentd.conf'

# Zabbix server or proxy address
#ZABBIXSERVER='192.168.x.8'

# Zabbix-agent hostname (default current hostname)
#ZABBIXHOST=''

