Re: WAL backups

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

 



On 18/02/2008, Vladimir Rusinov <vladimir@xxxxxxxxxxxxxx> wrote:
>
>
> On 2/18/08, Brian Modra <epailty@xxxxxxxxxxxxxx> wrote:
> > I've only just started doing WAL backups, and so far am not able to
> > keep a running backup due to lack of hardware.
> > Obviously I gzip the WAL fioles, but I'm fast running out of disk
> > space. I have a second standy server with 200GB disk, where I store
> > the compressed WAL files, which quickly fills up.
> > Archiving is difficult simply because the server is in a server room
> > in Johannesburg 1000km away. We pay them to keep the server powered
> > up, safe, and connected. They can slip a DVD into it, but that
> > requires me to book it in advance, and it takes maybe a few hours
> > before they can do it.
>
> 1. Setup a key-based authentification in ssh
>
> 2.
> archive_command = "scp %f user@remoteserver:/home/backups/"
>  restore_command = "scp user@remoteserver:/home/backups/%f %d"
>
> (not sure about %f and %d - too lazy to read manual)

Thats pretty much what I'm doing already but the problem is that I'm quickly
running out of disk space on the remote server.

>
> --
> Vladimir Rusinov
> Voronezh, Russia
> UNIX Admin @ Murano Software


-- 
Brian Modra   Land line: +27 23 5411 462
Mobile: +27 79 183 8059
6 Jan Louw Str, Prince Albert, 6930
Postal: P.O. Box 2, Prince Albert 6930
South Africa

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[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