Re: Backup error

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Celso Vieira *EXTERN*" <sabd(dot)secinfo(at)gmail(dot)com>, Shreeyansh dba <shreeyansh2014(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Backup error
Date: 2014-10-03 14:55:33
Message-ID: A737B7A37273E048B164557ADEF4A58B17D5581B@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2014-10-03 16:25:44 Re: Backup error
Previous Message Celso Vieira 2014-10-03 14:17:19 Re: Backup error