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