On Tue, 2021-03-02 at 14:16 +0530, Brajendra Pratap Singh wrote: > unable to connect to 'dbname='postgres' port=5432': could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? it's telling you right here why it failed; and what to check for. you've configured pgbackrest to connect to the local postgres db using the unix domain socket. That socket was not present when you attempted to run pgbackrest.