stashed / stash

🛅 Backup your Kubernetes Stateful Applications
https://stash.run
Other
1.29k stars 86 forks source link

PostgreSQL Customization Examples #1313

Open hossainemruz opened 3 years ago

hossainemruz commented 3 years ago

Exclude table during backup

task:
  name: postgres-backup-13.1.0-v1
  params:
  -  name: args
    value: --exclude-table=table
hossainemruz commented 3 years ago

Overwrite Backup Command

By default it uses pg_dumpall. We can overwrite the command as bellow,

task:
  name: postgres-backup-13.1.0-v1
  params:
  - name: backupCMD
    value: pg_dump