Hi, Now, the problem I’m encountering is the following:
This starts the pg_basebackup and it runs without problems for the duration of copying the 450gbs of data.
Then the output is the following: >>pg_basebackup: initiating base backup, waiting for checkpoint to complete >>pg_basebackup: checkpoint complete >>pg_basebackup: write-ahead log start point: 181/9000028 on timeline 1 >>pg_basebackup: starting background WAL receiver >>432917950/482036946 kB (100%), 3/3 tablespaces >>pg_basebackup: could not get write-ahead log end position from server: ERROR: could not open file “./base/demo_tablespace”: Permission denied The demo_tablespace is the one that is a symbolic link from another folder. After the error, I find that all the data is copied to the target tablespaces and primary data directory, but the data directory is missing all
pg_... directories and configuration files. So no running database at target. I have a hard time understanding why pg_basebackup can retrieve the data from the ./base/demo_tablespace directory, and then suddenly gets denied. I’m running out of ideas on what to try next.
BR, Frans Simmelvuo |