Re: Problem With gunzip backup - Mailing list pgsql-general

From Richard Huxton
Subject Re: Problem With gunzip backup
Date
Msg-id 46B045C8.7000002@archonet.com
Whole thread Raw
In response to Problem With gunzip backup  ("Ashish Karalkar" <ashish.karalkar@info-spectrum.com>)
List pgsql-general
Ashish Karalkar wrote:
>
> I am trying to create the backupfile using gunzip utility
>
> pg_dump qsweb | gzip > /usr/local/backup/backup.gzBut when I run this
> command i get error stdin: not in gzip formattried with pg_dump qsweb
> | gzip > /usr/local/backup/backup.tar.gzbut same problem againCan any
> body please suggest what is going wrongThanks In advanceWith

Not sure what you're doing wrong, but there's no need to do this. Use
   pg_dump -Fc ...
This format is already compressed.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: {Spam} FOREIGN KEY migration of syntax, help needed
Next
From: Richard Huxton
Date:
Subject: Re: Possible to Attach/Detach Tablespaces?