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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shih Théo wrote:
> 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?

Yes, otherwise PostgreSQL remains in online backup mode.

> 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()?

No, that is not necessary.

Yours,
Laurenz Albe

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux