Compare commits

...

1 Commits

Author SHA1 Message Date
wpetit 4c648fd451 Create and set ownership to backup directory 2020-10-13 17:16:20 +02:00
2 changed files with 5 additions and 0 deletions

1
debian/postgres-backup.dirs vendored Normal file
View File

@ -0,0 +1 @@
/var/backups/database/postgresql

4
debian/postgres-backup.postinst vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
mkdir -p /var/backups/database/postgresql
chown -R postgres:postgres /var/backups/database/postgresql