What is the correct steps if tar process is killed during pg_start_backup() and pg_stop_backup()

From: Shih Théo <galaxyshih(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: What is the correct steps if tar process is killed during pg_start_backup() and pg_stop_backup()
Date: 2015-07-01 07:06:36
Message-ID: CA+f59Jk1ku0jHjtXz191Y3RYxWnZzZ7Mm=fH+pFAa0LXfkcByQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello everyone,

I have goolged this issued for some time, but I do not find much valuable
information.

Here is my questions, I would like to know when I invoke pg_start_backup()
and execute tar for backup my cluster data, but due to some reasons, tar is
stopped. Q1) Should I invoke pg_stop_backup() to complete the procedure if
I do not want to re-tar again? Q2) What if I decide to re-tar again my
data, should I need to invoke pg_stop_backup() first and
perform pg_start_backup() -> tar -> pg_stop_backup()?

Yours sincerely,

Z.H Shin

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message xujian 2015-07-01 13:09:28 Re: Postgresql gss user map doesn't work
Previous Message Magnus Hagander 2015-07-01 06:38:45 Re: Postgresql gss user map doesn't work