Re: Backup to Tape Incomplete

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Backup to Tape Incomplete
Date: 2008-02-25 06:08:02
Message-ID: dcc563d10802242208v34d47342yfc4baf07f240740a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, Feb 24, 2008 at 9:20 PM, Phillip Smith
<phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> wrote:
> PostgreSQL 8.2.4
> RedHat ES4
>
> I have a nightly cron job that is (supposed) to dump a specific database to
> magnetic tape:
> /usr/local/bin/pg_dump dbname > /dev/st0
>
> This runs, and doesn't throw any errors, but when I try to restore it fails
> because the tape is incomplete:

A couple of possible things to try; pg_dump to a text file and try
cat'ting that to the tape drive, or pipe it through tar and then to
the tape.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shilpa Sudhakar 2008-02-25 06:23:39 Re: WAL archiving
Previous Message Vishal Arora 2008-02-25 06:00:03 Re: WAL archiving