Dan Langille
banner
langille.org
Dan Langille
@langille.org
That guy. BSDCan. PGCon. The FreeBSD Diary. FreshPorts.

https://langille.org/
I want planning on running bsdinstall. However, since I’m doing a zfs send | recv, there’s no reason why not.
November 11, 2025 at 1:48 PM
I’ll have the benefit of moving to entirely new media. The original boot drives will be untouched.
November 11, 2025 at 1:46 PM
That’s a good point. Thanks.
November 11, 2025 at 12:50 AM
It works. Took me a while to get the host to boot.
November 9, 2025 at 10:24 PM
oh, and:

heathen.
November 3, 2025 at 7:10 PM
But it's not. It's the same risk level, is it not, as 4x 2TB drives in the same configuration. Right?
November 3, 2025 at 7:09 PM
..after having ensured that all client libraries in use are new enough to support SCRAM, set password_encryption = 'scram-sha-256' in postgresql.conf, make all users set new passwords, and change the authentication method specifications in pg_hba.conf to scram-sha-256.

2/2
November 1, 2025 at 1:29 PM
Here's what the test script once this morning:

# ${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
October 31, 2025 at 11:52 AM
The diff:

[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
October 30, 2025 at 11:23 AM
This morning I consulted the man page[1] and found:

--no-tablespaces
Do not output commands to select tablespaces. With this option, all objects will be created in whichever tablespace is the default during restore.

3/5
October 30, 2025 at 11:23 AM