Re: Automated Backup Script Help (Linux) - Mailing list pgsql-general

From John R Pierce
Subject Re: Automated Backup Script Help (Linux)
Date
Msg-id 4F57B227.5040808@hogranch.com
Whole thread Raw
In response to Automated Backup Script Help (Linux)  (Carlos Mennens <carlos.mennens@gmail.com>)
Responses Re: Automated Backup Script Help (Linux)
List pgsql-general
On 03/07/12 10:33 AM, Carlos Mennens wrote:
> carlos@db1:~/postgresql$ sh pg_backup.sh
> pg_backup.sh: 7: cd: can't cd to pg_backup.sh
> pg_backup.sh: 8: pg_backup.sh: source: not found
> pg_backup.sh: 16: [: !=: unexpected operator
> Making backup directory in 2012-03-07/
> pg_backup.sh: 54: pg_backup.sh: Bad substitution
>
> So the only thing this script is doing for me is creating an empty
> folder with the date as the name. Any idea what I'm doing wrong? I've
> attached the configuration file since this is the only thing I was
> told that needs to be modified. The contents are exactly as they are
> on my server.

whats that pg_backup.sh script look like?  you're getting shell errors
on line 7 and 8 of the script.

this has nothing to do with postgresql.

--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Nicolas Grilly
Date:
Subject: Re: Full text search ranking: ordering using index and proximiti ranking with OR queries
Next
From: Carlos Mennens
Date:
Subject: Re: Automated Backup Script Help (Linux)