39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
|
name: "postgres-backup"
|
||
|
arch: "amd64"
|
||
|
platform: "linux"
|
||
|
version: "${PACKAGE_VERSION}"
|
||
|
section: "default"
|
||
|
priority: "extra"
|
||
|
maintainer: "Cadoles <contact@cadoles.com>"
|
||
|
description: |
|
||
|
PostgreSQL automated backup scripts
|
||
|
vendor: "Cadoles"
|
||
|
homepage: "https://forge.cadoles.com/Cadoles/postgres-backup"
|
||
|
license: "AGPL-3.0"
|
||
|
contents:
|
||
|
- src: script/pg_backup.sh
|
||
|
dst: /usr/share/postgres-backup/pg_backup.sh
|
||
|
file_info:
|
||
|
mode: 0755
|
||
|
- src: script/pg_backup_rotated.sh
|
||
|
dst: /usr/share/postgres-backup/pg_backup_rotated.sh
|
||
|
file_info:
|
||
|
mode: 0755
|
||
|
- src: /usr/share/postgres-backup/pg_backup.sh
|
||
|
dst: /usr/bin/pg_backup.sh
|
||
|
type: symlink
|
||
|
- src: /usr/share/postgres-backup/pg_backup_rotated.sh
|
||
|
dst: /usr/bin/pg_backup_rotated.sh
|
||
|
type: symlink
|
||
|
- src: conf/pg_backup.conf
|
||
|
dst: /etc/postgres-backup/pg_backup.conf
|
||
|
type: config|noreplace
|
||
|
- src: misc/packaging/postgres-backup.timer
|
||
|
dst: /usr/lib/systemd/system/postgres-backup.timer
|
||
|
- src: misc/packaging/postgres-backup.service
|
||
|
dst: /usr/lib/systemd/system/postgres-backup.service
|
||
|
- dst: /var/backups/database/postgresql
|
||
|
type: dir
|
||
|
file_info:
|
||
|
owner: postgres
|
||
|
group: postgres
|