Re: Backup to Tape Incomplete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 24, 2008 at 9:20 PM, Phillip Smith
<phillip.smith@xxxxxxxxxxxxxxxxxxx> 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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux