On 12/16/24 14:30, Bharani SV-forum wrote:
*a) *
*user = *
postgres
b)
*pg_dump version = *
/usr/bin/pg_dump -V
pg_dump (PostgreSQL) 13.16
c)
*DB version*
select version () ;
version
----------------------------------------------------------------------------------------------------------
PostgreSQL 13.16 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5
20150623 (Red Hat 4.8.5-44), 64-bit
*use this script for backup*
pg_dump -Fp -p 5432 -U "$USERNAME" "$DATABASE"
using username = postgres
for one of the DB (ver 13.16), it worked fine by doing oldvm = pg_dump
from ver 13.16 and
later restoring in new VM with new OS and new db binary 15.09, post
creating dummy db (appln related) and restoring the pg_dump from oldvm .
That's nice, but the issue is the case that did not work.
What process where you running that caused the error?
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx