Re: Backup Database Question

From: Samba <saasira(at)gmail(dot)com>
To: rod(at)iol(dot)ie
Cc: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup Database Question
Date: 2011-10-06 22:02:50
Message-ID: CAKgWO9KuXf9VTeUdh2q8Qt2tVP6hDkUD-UNQmKeFL4kd+A+_ig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

what about pg_rman <http://code.google.com/p/pg-rman>?

-------------------------------------------------------------------------------------------------------------------------------------
On Fri, Oct 7, 2011 at 1:20 AM, Raymond O'Donnell <rod(at)iol(dot)ie> wrote:

> On 06/10/2011 20:18, Carlos Mennens wrote:
> > On Thu, Oct 6, 2011 at 3:12 PM, John R Pierce <pierce(at)hogranch(dot)com>
> wrote:
> >> /path/to/pg_dumpall | gzip > /path/to/pgbackup-$(date -I).sql.gz
> >
> > Thanks John. I've never written a script so do I just use 'Vim' to
> > open a new file and just paste the following line?
> >
> > #!/bin/bash
> > /usr/bin/pg_dumpall | gzip > /var/db_backup/pg_backup-$(date -I).sql.gz
> >
> > Is that all I need to do or is there more steps / data involved?
>
> I think you also need to make it executable:
>
> chmod u+x my_backup_script
>
> ...or something like that.
>
> Ray.
>
>
> --
> Raymond O'Donnell :: Galway :: Ireland
> rod(at)iol(dot)ie
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Flower 2011-10-06 22:55:21 Re: ts_rank error/result of '1e-020'
Previous Message Henry Drexler 2011-10-06 21:56:11 Re: ts_rank error/result of '1e-020'