Re: Backup error - Mailing list pgsql-admin

From Albe Laurenz
Subject Re: Backup error
Date
Msg-id A737B7A37273E048B164557ADEF4A58B17D5581B@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Re: Backup error  (Celso Vieira <sabd.secinfo@gmail.com>)
Responses Re: Backup error
List pgsql-admin
Celso Vieira wrote:
> Does the backup generated with scp contain a file "backup_label"? It should.
>  - No, because when I copy the data has already been generated pg_stop_backup erasing the
> backup_label , but already tried unsuccessfully to do the reverse .

There's the problem.

Without a backup_label file, the backup will be corrupt.

You have to wait until scp is finished before running pg_stop_backup.

What you see is entirely consistent with that.

Yours,
Laurenz Albe

pgsql-admin by date:

Previous
From: Celso Vieira
Date:
Subject: Re: Backup error
Next
From: Scott Ribe
Date:
Subject: Re: Backup error