2/2
2/2
# ${SUDO} -u postgres ${PSQL} postgres < ${GLOBALS}.sql
Here is what it will do tomorrow:
${GREP} -vi 'CREATE TABLESPACE' ${GLOBALS}.sql | ${SUDO} -u postgres ${PSQL} postgres
2/2
# ${SUDO} -u postgres ${PSQL} postgres < ${GLOBALS}.sql
Here is what it will do tomorrow:
${GREP} -vi 'CREATE TABLESPACE' ${GLOBALS}.sql | ${SUDO} -u postgres ${PSQL} postgres
2/2
[11:13 dbclone dvl ~/bin] % diff -N test-postgresql-backups.sh~ test-postgresql-backups.sh
11c11
< PGRESTORE="/usr/local/bin/pg_restore -j 8"
---
> PGRESTORE="/usr/local/bin/pg_restore -j 8 --no-tablespaces"
[11:13 dbclone dvl ~/bin] %
4/5
[11:13 dbclone dvl ~/bin] % diff -N test-postgresql-backups.sh~ test-postgresql-backups.sh
11c11
< PGRESTORE="/usr/local/bin/pg_restore -j 8"
---
> PGRESTORE="/usr/local/bin/pg_restore -j 8 --no-tablespaces"
[11:13 dbclone dvl ~/bin] %
4/5